Close

Blinking World

A project log for iDONT (Internet Doorbell ON/off Trigger)

iDon't as in I don't want my doorbell to ring.

david-spindenDavid Spinden 04/03/2017 at 02:140 Comments

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:

  1. 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.
  2. Opened the Arduino IDE
  3. Opened the Blink example
  4. Changed the default pin for LED from 13 to 5
  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.
  6. 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.
  7. Set the Board and Port in the Tools directory of the Arduino IDE
  8. 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…
  9. 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.

Discussions