Taking a closer look at the ESP32
The ESP32 is a single 2.4 GHz Wi-Fi and Bluetooth system on a chip (SoC) and a general-purpose microcontroller, designed by Espressif Systems. You can find more information online about their processors at https://www.espressif.com/.
Figure 7.2 – Varieties of ESP32 dev boards
This chip has been added to different boards (Figure 7.2) and it is these development boards that we’ll be using. The prices for these boards vary. Consider what the features are for the different boards and the cost trade-offs. ESP32 offers capacitive touch, I2C, SPI, PWM, and much more.
A guide accessed online at https://lastminuteengineers.com/esp32-pinout-reference/ contains the common pinouts (GPIOs) for the ESP32-based boards.
Important to Note
Although these are the common standard pin layouts, I would highly advise you to always check your specific board for the GPIOs. Some boards have 30 pins, others 36. You don’t...