

The KY-034 Módulo LED 7 Colores is a versatile electronic component featuring a color-changing LED capable of displaying seven different colors. This module is commonly used in decorative lighting, visual indicators, and educational projects. Its compact design and ease of use make it an excellent choice for hobbyists and professionals alike.








Below are the key technical details and pin configuration for the KY-034 Módulo LED 7 Colores:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V - 5V |
| LED Type | RGB LED with built-in IC |
| Number of Colors | 7 |
| Current Consumption | ~20mA (varies with color) |
| Dimensions | 18mm x 15mm x 10mm |
| Manufacturer | Ninguno |
| Part ID | KY-034 Módulo LED 7 Colores |
The KY-034 module has three pins, as described in the table below:
| Pin Name | Description |
|---|---|
| S | Signal pin (controls LED colors) |
| + | Positive power supply (VCC) |
| - | Ground (GND) |
The KY-034 Módulo LED 7 Colores is simple to use and can be connected directly to a microcontroller, such as an Arduino UNO. Below are the steps to use the module effectively:
+ pin to the 5V pin on the Arduino and the - pin to the GND pin.S pin to a digital output pin on the Arduino (e.g., pin 9).The following example demonstrates how to control the KY-034 module using an Arduino UNO. The code cycles through the seven colors of the LED.
// KY-034 Módulo LED 7 Colores Example Code
// This code cycles through the 7 colors of the LED module.
int ledPin = 9; // Signal pin connected to digital pin 9
void setup() {
pinMode(ledPin, OUTPUT); // Set the signal pin as an output
}
void loop() {
// Cycle through the 7 colors by sending PWM signals
for (int brightness = 0; brightness <= 255; brightness += 51) {
analogWrite(ledPin, brightness); // Adjust brightness to change color
delay(500); // Wait 500ms before changing to the next color
}
}
LED Not Lighting Up:
+ to 5V and - to GND).Incorrect Colors Displayed:
Flickering or Unstable Colors:
Q: Can I use the KY-034 module with a 3.3V microcontroller?
A: Yes, the module is compatible with both 3.3V and 5V systems. Ensure the signal pin voltage matches the microcontroller's logic level.
Q: How do I achieve specific colors?
A: The module cycles through predefined colors based on the PWM signal. Fine-tuning the PWM values can help achieve specific shades.
Q: Can I use multiple KY-034 modules in one project?
A: Yes, but ensure the total current draw does not exceed the power supply's capacity. Use separate signal pins for individual control.
By following this documentation, you can effectively integrate the KY-034 Módulo LED 7 Colores into your projects and troubleshoot common issues with ease.