Back to search
Bicolor LED common cathode module 3MM
Bicolor LED common cathode module 3MM
Bicolor LED common cathode module 3MM
1 / 3
View on seller's websitePrices and availability are updated daily. Please confirm on the seller's website before buying.

Bicolor LED common cathode module 3MM

Development platfome

DZD 250

View on seller's websitePrices and availability are updated daily. Please confirm on the seller's website before buying.
Description
Introduction: RGB LED module is made of a SMD full-color LED. You can adjust the three primary colors (red/blue/green) by using the PWM voltage input of the R, G, B three pins to realize full color mixing effect. You can realize cool lighting effect using Arduino's control over this module. Product features: 1. the use of 5050 full-color LED 2. RGB tricolor connected to current-limiting resistance to prevent burn out 3. PWM regulate three primary colors to produce different colors 4. can be connected to various MCU 5. Working voltage: 5V 6. LED drive mode: common-cathode drive Arduino test code: int redpin = 11; //select the pin for the red LED int bluepin =10; // select the pin for the blue LED int greenpin =9;// select the pin for the green LED int val; void setup() { pinMode(redpin, OUTPUT); pinMode(bluepin, OUTPUT); pinMode(greenpin, OUTPUT); Serial.begin(9600); } void loop() { for(val=255; val>0; val--) { analogWrite(11, val); analogWrite(10, 255-val); analogWrite(9, 128-val); delay(1); } for(val=0; val<255; val++) { analogWrite(11, val); analogWrite(10, 255-val); analogWrite(9, 128-val); delay(1); } Serial.println(val, DEC);
Similar products

CY8CKIT-049 4xxx Prototyping Kit
View
CY8CKIT-049 4xxx Prototyping Kit
DZD 16,000

Development platfome