Getting started with the ESP32 Board in Arduino IDE

vaibhav sharma
3 min readJun 27, 2021

--

In the last blog, we discussed about ThingHz development board and its hardware description. In this blog, we will be installing Arduino IDE and ESP32 board. Arduino is an open-source development framework that provides an add-on for ESP32 and allows you to program the ThingHz Development board.

Prerequisites

Install the Arduino IDE for Windows, macOS or Linux from arduino.cc/en/software

Installing ESP32 board in Arduino IDE

follow these next instructions to install the ESP32 board in your Arduino IDE:

  • In your Arduino IDE, go to File> Preferences
  • Open the Boards Manager. Go to Tools > Board > Boards Manager…
  • Search for ESP32 and press the install button for the “ESP32 by Espressif Systems“:

Testing the Instaled board

Plug the ThingHz board to your computer. With your Arduino IDE open, follow these steps:

  • Select your Board in Tools > Board menu (in our case it’s the ESP32 Dev Module)
  • Select the Port
  • Open the following example under File > Examples > WiFi (ESP32) > WiFiScan
  • Press the Upload button in the Arduino IDE. Wait a few seconds while the code compiles and uploads to your board.
  • Now to flash ThingHz ESP32 board press the keep boot button(1) pressed and at the same moment press reset button(2) and then leave boot button
  • If everything went as expected, you should see a “Done uploading.” message
  • Now open Serial Monitor at a baud rate of 115200. Press Reset(2) button

Wrapping Up

We hope you’ve found this guide useful. Next, you will learn about setting up the ThingHz ESP32 board on PlatformIO. Stick to ThingHz for more upcoming IoT projects. Keep Learning.

--

--

vaibhav sharma

Full Stack IoT developer working on effective Wireless Sensor Network