ESP32 - Hello World

Hardware Required

1×ESP-WROOM-32 Dev Module
1×Micro USB Cable
Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.

Quick Steps

  • If this is the first time you use ESP32, see how to setup environment for ESP32 on Arduino IDE
  • Connect the ESP32 board to your PC via a micro USB cable.
  • Open Arduino IDE.
  • Select ESP32 board
  • How to select ESP32 board on Arduino IDE
  • Select ESP32 serial port (number may be different)
  • How to select COM port on Arduino IDE
  • Type the following code
void setup() { // put your setup code here, to run once: Serial.begin(9600); Serial.println("Hello World!"); } void loop() { // put your main code here, to run repeatedly: }
  • Click Upload button on Arduino IDE to compile and upload code to ESP32 board
  • How to upload ESP32 code on Arduino IDE
  • Open Serial Monitor on Arduino IDE
  • How to open serial monitor on Arduino IDE
  • See the result on Serial Monitor. It looks like the below::
  • COM6
    Hello World!
    Autoscroll Show timestamp
    Clear output
    9600 baud  

Modifying ESP32 Code

  • Replace “Hello World!” by any text, for example, “”.
  • Upload the code to ESP32
  • See the result on Serial Monitor. It looks like the below:
  • COM6
    Autoscroll Show timestamp
    Clear output
    9600 baud  

Video Tutorial

We are considering to make the video tutorials. If you think the video tutorials are essential, please subscribe to our YouTube channel to give us motivation for making the videos.

Function References

You have just successfully taken the first step on the ESP32 learning journey. Go ahead!


Note that this tutorial is incomplete. We will post on our Facebook Page when the tutorial is complete. Like it to get updated.


  • We are AVAILABLE for HIRE. See how to hire us to do your project
  • If this tutorial is useful for you, please support us to make more tutorials.
  • We spent a lot of time and effort to create the content for this tutorial, please respect our work! Please do not copy the content to share on other websites. Howerver, please feel free to share the link of this tutorial anywhere