Liked this article! You'll love our video courses.
Checkout our comprehensive pre-recorded ESP32 based Video Course for Internet of Things
More details

The ‘Blinking of an LED on ESP32’ project “LED blinking on ESP32” uses the ESP32 Development Board will be used to blink an LED at a specific timed interval, continuously.ESP32 is a low power WiFi enabled microcontroller created and developed by Espressif Systems. The ESP32 is an advanced IoT microcontroller board possessing WiFi and Bluetooth Low Energy capabilities, as well as limited compatibility with the Arduino Core.

It is the required basic tutorial for any microcontroller board. The ESP32 DevKit, has a built-in LED that is connected to its GPIO 02

Components Required

  • ESP32 development board
  • 5mm LED
  • 1KΩ Resistor
  • 3 pieces of jumper wires
  • Breadboard

Circuit Diagram

LED blinking on ESP32

  • Connect the positive pin (anode) of the LED, that indicated as the rounded edge of the LED to pin IO2 on the ESP32.
  • Connect the negative pin (cathode) of the LED, indicated as the flat edge of the LED to a 1KΩ resistor.
  • And connect the free end of the resistor to Ground.

Setup the ESP32 board in Arduino IDE

If you want to learn more about the ES P32 development board visit the official website of esp32:
There is an add-on for the Arduino IDE that allows you to program the ESP32 using the Arduino IDE and its programming language. Follow this tutorial to prepare your Arduino IDE:

Code Snippet:

 

Liked this article! You'll love our video courses.
Checkout our comprehensive pre-recorded ESP32 based Video Course for Internet of Things
More details
Spread the love, share this