KS0459 Keyestudio 10mm Highlight Full-color LED RGB Module: Difference between revisions
Jump to navigation
Jump to search
Keyestudio (talk | contribs) (Created page with " thumb|400px|right|Keyestudio 10mm Highlight Full-color LED RGB Module(Black and Eco-friendly) <br> == Overview == The keyestudio 10mm highlight...") |
Keyestudio (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[image: | [[image:Ks0459图片1.png|thumb|400px|right|Keyestudio 10mm Highlight Full-color LED RGB Module(Black and Eco-friendly)]] | ||
<br> | <br> | ||
Line 20: | Line 20: | ||
* Environmental attributes: ROHS | * Environmental attributes: ROHS | ||
<br>[[File: | <br>[[File:Ks0459图片2.png|600px|frameless|thumb]]<br> | ||
<br> | <br> | ||
== Connection == | == Connection == | ||
<br>[[File: | <br>[[File:Ks0459图片3.png|600px|frameless|thumb]]<br> | ||
<br> | <br> | ||
Line 58: | Line 58: | ||
<br> | <br> | ||
== Test Result == | == Test Result == | ||
<br>[[File: | <br>[[File:Ks0459图片4.png|600px|frameless|thumb]]<br> | ||
Done uploading the code, RGB LED will turn on red, green , blue and white, with an interval of 1 second, alternately and circularly. | Done uploading the code, RGB LED will turn on red, green , blue and white, with an interval of 1 second, alternately and circularly. | ||
<br>[[File: | <br>[[File:Ks0459图片5.png|600px|frameless|thumb]]<br> | ||
<br>[[File: | <br>[[File:Ks0459图片6.png|600px|frameless|thumb]]<br> | ||
Revision as of 08:56, 24 July 2019
Overview
The keyestudio 10mm highlight full-color LED module is mainly compose of a Common Anode RGB LED.
When using, adjust the three primary colors (red/blue/green) strength through the PWM voltage input of R, G, B pin, so as to achieve the mixed full color effect.
The module comes with a 3mm fixing holes, easy to fix on any other devices.
Technical Details
- Working voltage: DC 5V
- Working current: 0.6A (MAX)
- Maximum power: 0.3W
- Operating temperature: -25~+65℃
- Interface: 4pin header (2.54mm pitch)
- Fixing hole diameter: 3mm
- Dimensions: 30mm*20mm
- Environmental attributes: ROHS
Connection
Test Code
int redPin= 11; // red led pin int greenPin = 9; //green led pin int bluePin = 10; //blue led pin void setup() { pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); } //loop, change a color per second void loop() { setColor(0, 255, 255); // red delay(1000); setColor(255, 0, 255); //green delay(1000); setColor(255, 255, 0); //blue delay(1000); setColor(120,10,10); // set the light color to white by adjusting RGB value, 0,0,0 with color difference delay(1000); } //set the color void setColor(int redValue, int greenValue, int blueValue) { analogWrite(redPin, redValue); analogWrite(greenPin, greenValue); analogWrite(bluePin, blueValue); }
Test Result
Done uploading the code, RGB LED will turn on red, green , blue and white, with an interval of 1 second, alternately and circularly.
Resource
- Download all the relevant info from the link:
https://drive.google.com/open?id=1ilE0gTLMCeIsvM_c7pBv2mapusbyzxb9
Buy from
- [ Official Website]
- [ Shop on Aliexpress ]