The ESP32 is one of the best microcontrollers available to electronics hobbyists due to their integrated wifi, higher storage capacity, and . This is a quick guide on how to add ESP32 boards to the Arduino IDE board manager.
I really enjoy making sensor networks and the built-in wifi included in ESP32 boards is incredibly convenient. They are also "better" microprocessors and the fact that they use a 3.3V logic level can be helpful depending on the sensors being used as it means I don't need to also package a logic level converter. Not to mention, they have many useful varieties of development boards, including ones with an OLED prepopulated on the board (my go-to board when I know I'm going to want a display on my project), and LoRa-enabled radios (very helpful for long-range sensor networks).
And the best part? All of this functionality can be had for between $5-$12 depending on the package you require which makes ESP32-based boards among my favorite Arduino-compatible boards.
Today's quick start guide will focus on adding ESP32 board support to the Arduino IDE's Board Manager.
1. Open up the Arduino IDE and navigate to File > Preferences:
2. Copy and paste the following URL into "Additional Boards Manager URLs:
Navigate to Boards Manager with Tools > Boards > Boards Manager:
3. Search for esp32 and click install:
4. That's it! Now when you go to Tools > Boards, you should see your ESP32 boards listed:
A common error that you might see is:
Trackback arduino line 35, in <module> import serial.tools.list_ports as list_ports /heltec/esp32/tools/esptool/esptool.py No module named serial.tools.list_ports
This has to do with the Python version you're using. See my guide on how to fix it here: How to Fix ESP32 Compiler Error in Arduino IDE: /heltec/esp32/tools/esptool/esptool.py No module named serial.tools.list_ports
As always, if you have any problems feel free to reach out to me either here in the comments or on the forum!