About Lesson
A. Tools and Software
- Arduino IDE: A popular IDE for programming ESP32.
- PlatformIO: An alternative IDE with more advanced features.
B. Installing Arduino IDE
- Download and install Arduino IDE from Arduino’s website.
- Open Arduino IDE and go to File → Preferences.
- Add the following URL to the Additional Boards Manager URLs field:
https://dl.espressif.com/dl/package_esp32_index.json
. - Go to Tools → Board → Boards Manager and search for “ESP32”. Install the ESP32 board package.
C. Connecting the ESP32
- Connect the ESP32 to your computer via USB.
- Install drivers if necessary (especially for Windows users).
D. Selecting the Board and Port
- Go to Tools → Board and select “ESP32 Dev Module”.
- Go to Tools → Port and select the appropriate COM port (for Windows) or /dev/ttyUSB0 (for macOS/Linux).