+21622886281
ESP32 RGB LED

Vary the light intensity of an RGB LED with ESP32

Purpose of this tutorial:

In this tutorial we will automatically vary the light intensity of an RGB LED module with the ESP32 card.

Necessary components

  • ESP32
  • RGB LED
  • Connecting wires

Mounting

We connect:

  • pin D23 of the ESP32 board to pin (R) for the red color of the RGB LED module

  • pin D22 of the ESP32 board to pin (G) for the green color of the RGB LED module

  • pin D21 of the ESP32 board to pin (B) for the blue color of the RGB LED module

  • the GND pin of the ESP32 board to the (GND) pin of the RGB LED module

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