Step 4Connecting the LED
This gives 256 steps of control from full off (0) to full on (255) for each of the Red, Green and Blue channels of the LED.
PWM pins on the Arduino are 3,5,6,9,10,11. (see www.arduino.cc/en/Main/ArduinoBoardDuemilanove)
I used 3, 5 and 6.
Note: The pictures illustrate using the same resistor for each colour channel, but I should have used the resistance levels in the data sheet:
180 Ohm for Red
100 Ohm for Green
100 Ohm for Blue
Also note, I covered the back with insulating tape to stop any shorts when putting it all into the box.
Also, from the datasheet, "the Sensor inputs SENS0-7 are extremely sensitive to over voltage. Under no conditions should these pins be driven above 1.2VDC. Placing any voltage above
this will permanently damage the radio module and render it useless."
wiring.org.co/learning/basics/rgbled.html
www.sparkfun.com/datasheets/Components/YSL-R596CR3G4B5C-C10.pdf
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|























































