Skip to content

Setup Arduino IDE and ESP32

IoTThinks.com edited this page Jul 11, 2019 · 5 revisions

1. Install Arduino IDE

  • Go to https://www.arduino.cc and download the latest Arduino IDE. Click "Just download" to get the installation file. ide1

  • Let everything default and finish installing the Arduino IDE ide2

Ok, click Install to install COM driver for Arduino IDE. Total is 4-5 times for many kinds of drivers. ide3

Done.

2. Install library for ESP32

We need to install ESP32 library for this board as it uses ESP32 as the core processor. ESP32 controlls GPIO, WiFi, BLE and even SPI for LoRa.

Original instruction is at https://github.com/espressif/arduino-esp32

  • Put in stable release link into File > References > Settings > Additional Board manager URL > Click the icon and fill in the link in A NEW LINE https://dl.espressif.com/dl/package_esp32_index.json image

  • Open Tools > Boards > Board Manager image

  • Search for ESP32 and click Install image

  • Now open Arduino IDE, click Tools > Board > (scroll down) ESP32 Dev Module. If you see a lot of ESP32 boards, you've DONE successfully. esp32-5

  • Reboot Arduino IDE.

Done.

3. Troubleshooting:

  • IF you have some warnings about "Invalid library found ... BLE or AzureIoT", the clone in step 3 doesn't get all sourcecode about BLT or AzueIoT. You can simply ignore them if you're not using BLE or AzueIoT. OR you can instead here and get all the source code as bellow INSTEAD of Step 3. git clone --recursive -j8 https://github.com/espressif/arduino-esp32.git git-esp32