Installing the ESP32 Board in Arduino IDE

Go to this website, follow steps 1–5 in the installation process. (Don’t do “Testing the Installation”)

  • Once you’re done with the installation, go to
    Tools > Board > ESP32 Arduino, and choose NodeMCU-32S.

  • Go to Tools > Port, take a look at what you have there. Now connect your ESP32 to the computer, go to Tools > Port again, and choose the new option that appeared.

That’s it. Congratulations.


It’s time to run a first example.

  1. Go to File > Examples > 01.Basics, click on Blink.
  2. Press the “right arrow” button on the top left to upload the code onto the ESP32.
  3. When you see “Connecting” on the bottom of the screen, press the right button on the ESP32.

Toggle Code              Download code


Printing increasing numbers

Upload the following code to your ESP32, then click on the on the top right corner. This is called “Serial Monitor”.

Toggle Code              Download code


Printing random numbers, then plotting!

  1. Upload the following code to your ESP32.
  2. Open the Serial Monitor (). Now close it, and
  3. Go to Tools > Serial Plotter.

Toggle Code              Download code


Floats, functions, conditionals

We will now learn how to deal with floats, how to define our own functions, and how to write conditionals (if/else).

Toggle Code              Download code


WiFi, read time

Toggle Code              Download code