Introduction: Getting Started With ESP 32 Board +LED

About: pursuing Bachelors in Electronics and Communication at Chandigarh University

I am using ESP 32 devkit board for my projects. ESP 32 board have a dual processor chip WROOM 32 which have inbuilt bluetooth and wifi modules in it. I bought ESP 32 at a very low price from amazon of around 600 rupees. Link to buy components for making this project is given next to each components in the Components required section.

Components required: -

1. ESP32 board : -

2. Resistor of 220 ohms :-

3. LED :-

4. Jumper wires : -

5.Breadboard(optional) -

6. Arduino IDE software installed in your PCs

Setting up your Arduino IDE before uploading code in ESP32 is very important : -

Step 1: Circuit Schematic for Connecting LED With ESP 32

GPIO23 - - > LED anode

GND - - > LED cathode

After connecting all components next step is to upload code to ESP32 board

Step 2: How to Upload Code in ESP 32 Board

1. Click on upload.

2. If no error. At the bottom of Arduino IDE, when we get message Connecting ...,...,

3. Press Boot button on ESP 32 board till you get the message done uploading.

4. After you code is uploaded successfully. Press enable button to restart or start code uploaded on ESP32 board.

Step 3: Code for LED and ESP32 Board


Blink *

/ ledPin refers to ESP32 GPIO 23

const int ledPin = 23;

// the setup function runs once when you press reset or power the board

void setup()


// initialize digital pin ledPin as an output. pinMode(ledPin, OUTPUT);


// the loop function runs over and over again forever

void loop()


digitalWrite(ledPin, HIGH); // turn the LED on (HIGH is the voltage level)

delay(1000); // wait for a second

digitalWrite(ledPin, LOW); // turn the LED off by making the voltage LOW

delay(1000); // wait for a second