+21622886281
ESP32 LED

Flashing LED by ESP32

Purpose of this tutorial:

The objective of this tutorial is to flash an LED by the ESP32 board: to turn the LED on and off alternately at 1 second intervals.

Necessary components

  • ESP32
  • LED
  • 220Ω resistors

  • Connecting wires

  • Test plate

Mounting

As for the assembly, it is easy to connect LEDs to the ESP32 board:

  • Connect pin D23 of the ESP32 card to the resistor leg

  • Then, we connect the second leg of the resistor to the anode (+ terminal) of the LED

  • Finally we connect the cathode (terminal -) of LED to the GND of the ESP32 board

MicroPython program




0 commentaire


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top