Programming The ESP32 In C Using The Espressif IDF
暫譯: 使用 Espressif IDF 以 C 語言編程 ESP32

Fairhead, Harry

  • 出版商: I/O Press
  • 出版日期: 2024-10-20
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 446
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1871962919
  • ISBN-13: 9781871962918
  • 相關分類: C 程式語言ESP32
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

The Espressif 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.

C is the ideal choice of language to program the ESP32, ensuring that your programs are fast and efficient, and here it is used with the Espressif IoT Development Framework, ESP-IDF and VS Code, a combination which makes it simple to get started and provides a wealth of functions not found elsewhere.

The purpose of this book is to reveal what you can do with the ESP32'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), PWM for Motor control, the SPI bus, the I2C bus and the 1-Wire bus, the UARTs and of course WiFi. To round out, it covers direct access to the hardware, adding an SD Card reader, sleep states to save power, the RTC, RMT and touch sensors. It also devotes a chapter to FreeRTOS which takes us into the realm of asynchronous processing.

This is not a projects book, although there isn't much left for you to do to round out the embryonic projects that are used as examples. Instead it is about understanding concepts and the acquisition of skills. The hope is that by the end of the book you will know how to tackle your own projects and get them safely to completion without wasting time in trial and error.

Harry Fairhead is the co-author of Programming the ESP32 in MicroPython, but C is his programming language of choice and electronics is his forte. He is the author of Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux. His other books on programming single-board computers include Programming the Raspberry Pi Pico/W in C; Raspberry Pi IoT In C; Raspberry Pi IoT in C With Linux Drivers and Micro: bit IoT in C.

商品描述(中文翻譯)

Espressif ESP32 是一款卓越的設備。它成本低廉,但擁有許多不同的子系統,使其比你想像中更強大。你可以因為它便宜而用於簡單的應用,但也可以因為它的能力而用於更複雜的應用。

C 是編程 ESP32 的理想選擇,確保你的程序快速且高效,這裡使用的是 Espressif IoT 開發框架 ESP-IDF 和 VS Code 的組合,這使得入門變得簡單,並提供了其他地方找不到的豐富功能。

本書的目的是揭示你可以如何利用 ESP32 的 GPIO 線與廣泛使用的傳感器、伺服器和馬達以及 ADC 進行互動。在介紹 GPIO、輸出和輸入、事件和中斷後,將提供 PWM(脈衝寬度調變)、馬達控制的 PWM、SPI 總線、I2C 總線和 1-Wire 總線、UART 以及當然還有 WiFi 的實作經驗。最後,還將涵蓋直接訪問硬體、添加 SD 卡讀取器、節能的睡眠狀態、實時時鐘(RTC)、RMT 和觸控傳感器。書中還專門有一章介紹 FreeRTOS,讓我們進入非同步處理的領域。

這不是一本專案書,儘管用作範例的初步專案幾乎不需要你再做什麼來完善。相反,它是關於理解概念和技能的獲取。希望在書的結尾,你將知道如何處理自己的專案,並安全地完成它們,而不會在反覆試驗中浪費時間。

Harry FairheadProgramming the ESP32 in MicroPython 的共同作者,但 C 是他首選的編程語言,電子學是他的專長。他是 Fundamental C: Getting Closer To The MachineApplying C For The IoT With Linux 的作者。他的其他單板電腦編程書籍包括 Programming the Raspberry Pi Pico/W in CRaspberry Pi IoT In CRaspberry Pi IoT in C With Linux DriversMicro: bit IoT in C