Product Introduction #

The LED module is a component that integrates LED lamp beads, drive circuits, and housing. Used to provide lighting, indication, or display functions. According to the specific application requirements, the LED module can be a wide variety of shapes, sizes and colors, while its color depends on the material and the light emitting principle.
Application reference: warning lights, floodlights, etc.
Parameter Specification #
| Parameter | Value/Description |
| Operating voltage | 3.3V~5V |
| Operating temperature | -25°C~+85°C |
| Color of light | Blue |
| Control signal | Digital signal /PWM signal |
| Lamp bead diameter | 5MM |
| Size | 3.16cm*2.38cm |

Wiring Diagram #
Note:Expansion board is attached to esp32 controller board.
| LED Module | ESP32 |
| VCC | 5V |
| GND | GND |
| Sign | Pin 32 |
Sample Code #
void setup(){
pinMode(32, OUTPUT);//Set pin 32 as an output pin
}
void loop(){
digitalWrite(32, HIGH);//Turn on the led
delay(1000);//Wait for 1 second
digitalWrite(32, LOW);//Turn off the led
delay(1000);//Wait for 1 second
}
Note: If you are using an Arduino board, then change the pin in the program to PIN7, and then connect the hardware pin to PIN7 and upload the program.
Test Result #
When you have successfully connected the line according to the wiring diagram and successfully uploaded the correct program, your light will come on and blink.

