Last night, I was able to get my ESP32 Dev Board to blink an LED. While this is no major feat, I was happy that the process went smoothly. In case you have not run through the process before, here is how I did it:
- Followed the installation guide for “Ardunino core for ESP32 WiFi chip” (thanks to http://esp32.net/ for the link), I installed all the software for the ESP32.
- Opened the Arduino IDE
- Opened the Blink example
- Changed the default pin for LED from 13 to 5
- Connect a 500 ohm resister (I used two 1K resistors in parallel) to pin 5 and to the positive end of an LED. The negative end of the LED goes to ground.
- Connect the ESP32 to the computer via USB.I had to go to my Window’s control panel and update the driver before it told me the correct COM port.
- Set the Board and Port in the Tools directory of the Arduino IDE
- Compile and upload the code to the ESP32. This took a several minutes on my machine and I got an error with something about an exit 1. I ignored the error when I…
- Watch the excitement of the LED blinking.
Next up is the controlling the relays. I will also figure out if the error is anything to be concerned about.