Programming the ESP32 in MicroPython, 2nd Edition: ESP32, ESP32 S3, Arduino Nano ESP32
暫譯: 使用 MicroPython 編程 ESP32,第 2 版:ESP32、ESP32 S3、Arduino Nano ESP32

James, Mike, Fairhead, Harry

  • 出版商: I/O Press
  • 出版日期: 2025-01-11
  • 售價: $1,410
  • 貴賓價: 9.5$1,340
  • 語言: 英文
  • 頁數: 364
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1871962935
  • ISBN-13: 9781871962932
  • 相關分類: ESP32
  • 海外代購書籍(需單獨結帳)

商品描述

New in this edition is support for the ESP32 S3 and the Arduino Nano ESP32.
The ESP32 is a remarkable device. It is low cost but with many different subsystems that make it more powerful than you might think. You can use it for simple applications because it is cheap, but you can also use it for more sophisticated applications because it is capable.
MicroPython is a good choice of language to program the ESP32. Although it is a slower language than C, most of the time this doesn't matter and it is much easier to use. As a high-level language, MicroPython is based on Python 3 and is fully object-oriented. In general, you can take an existing Python 3 program and simply run it under MicroPython. If there are any changes to make, they are generally minor.
Another good thing about MicroPython on the ESP32 is that it is very easy to get started. After a simple installation procedure you have a working MicroPython machine which you can program almost at once using the Thonny IDE or PyCharm which has more extensive syntax checking and input prompting.
The purpose of the book is to reveal what you can do with the ESP's GPIO lines together with widely used sensors, servos and motors and ADCs. After covering the GPIO, outputs and inputs, events and interrupts, it gives you hands-on experience of PWM (Pulse Width Modulation), the SPI bus, the I2C bus and the 1-Wire bus. We also cover direct access to the hardware, adding an SD Card reader, sleep states to save power, the RTC, RMT and touch sensors, not to mention how to use WiFi.

Jointly authored by Harry Fairhead and Mike James, this book combines Harry's expertise in electronics and the IoT with Mike's knowledge of Python. Their other collaborations include Programming the Raspberry Pi Pico/W in MicroPython, Raspberry Pi IoT In Python Using GPIO Zero and Raspberry Pi IoT In Python Using Linux Drivers.

Harry Fairhead is the author of Programming the ESP32 in C Using the Arduino Library, Programming the ESP32 in C Using the Espressif IDF and the C language counterparts of books on the Raspberry Pi and the Pico. He is also the author of Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux.

Mike James is the author of the Programmer's Python: Something Completely Different series of books and several other programming and computer science titles in the I Programmer Library.

商品描述(中文翻譯)

本版新增對 ESP32 S3 和 Arduino Nano ESP32 的支援。
ESP32 是一個卓越的裝置。它成本低廉,但擁有許多不同的子系統,使其比你想像中更強大。你可以因為它便宜而用於簡單的應用,但也可以因為它的能力而用於更複雜的應用。
MicroPython 是編程 ESP32 的良好選擇。雖然它的速度比 C 語言慢,但大多數情況下這並不重要,且使用起來更為簡單。作為一種高級語言,MicroPython 基於 Python 3,並且完全物件導向。一般來說,你可以將現有的 Python 3 程式直接在 MicroPython 下運行。如果需要進行任何更改,通常都是小的調整。
在 ESP32 上使用 MicroPython 的另一個好處是非常容易入門。經過簡單的安裝程序後,你就擁有了一台可以幾乎立即使用 Thonny IDE 或 PyCharm(具有更全面的語法檢查和輸入提示)編程的 MicroPython 機器。
本書的目的是揭示你可以如何利用 ESP 的 GPIO 線與廣泛使用的傳感器、伺服器和馬達以及 ADC 進行互動。在介紹 GPIO、輸出和輸入、事件和中斷後,讓你獲得 PWM(脈衝寬度調變)、SPI 總線、I2C 總線和 1-Wire 總線的實作經驗。我們還涵蓋了對硬體的直接訪問、添加 SD 卡讀取器、進入省電的睡眠狀態、實時鐘(RTC)、RMT 和觸控傳感器,更不用說如何使用 WiFi。

本書由 Harry FairheadMike James 共同撰寫,結合了 Harry 在電子學和物聯網方面的專業知識以及 Mike 對 Python 的了解。他們的其他合作作品包括《使用 MicroPython 編程 Raspberry Pi Pico/W》、《使用 GPIO Zero 的 Raspberry Pi 物聯網 Python》和《使用 Linux 驅動程式的 Raspberry Pi 物聯網 Python》。

Harry Fairhead使用 Arduino 庫的 C 語言編程 ESP32使用 Espressif IDF 的 C 語言編程 ESP32 以及 Raspberry Pi 和 Pico 書籍的 C 語言對應作品的作者。他還是 基礎 C:更接近機器在 Linux 上應用 C 於物聯網 的作者。

Mike James程序員的 Python:完全不同的東西 系列書籍的作者,以及 I Programmer Library 中的幾本其他編程和計算機科學書籍。