Programming The ESP32 RISC In C Using The Espressif IDF - Softcover

Fairhead, Harry

 
9781918481020: Programming The ESP32 RISC In C Using The Espressif IDF

Synopsis

Espressif’s ESP32 RISC family offers a device for every application. They are all low in cost, but each has many different subsystems that make it more powerful than you might at first think. You can use them for simple applications because they are cheap, but you can also use them for more sophisticated applications because they are capable. This book covers the C2, C3, C5, C6 and the H2; the P4 is also included where relevant.
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 official Espressif ESP32 IoT Development Framework as a simplifying layer. VS Code is used as the IDE, taking advantage of its ESP32 extension.
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), 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.
While not strictly a projects book, there isn’t much left for you to do to finish and polish the embryonic projects that are used as examples. Instead this book is about understanding concepts and the acquisition of skills. The hope is that having read it, 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 author of Programming the ESP32 in C Using the Espressif IDF and Programming the ESP32 in C Using the Arduino Library and co-author of Programming the ESP32 in MicroPython. C is his programming language of choice and he is the author of Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux. His other books on IoT programming single-board computers cover the Raspberry Pi, the Raspberry Pi Pico/W, the Micro:bit and the new Arduino Uno.

"synopsis" may belong to another edition of this title.