Hi, I'm interested to controlling three RGB LEDs with netduino, I understand that I need 9 PWM outputs but netduino only have 4. Is it possible to extend to 9 PWM outputs or control 3 RGB LEDs with netduino? How?
thanks
3 RGB leds with netduino?
Started by irda, Mar 06 2012 02:54 PM
2 replies to this topic
#1
Posted 06 March 2012 - 02:54 PM
#2
Posted 06 March 2012 - 03:36 PM
I think you will need a driver chip. I played around with the TLC5940 last year. One of these should allow you to control upto 5 RGB LEDs per chip but would need to look at providing some additonal circuitry (clock, counters/dividers).Hi, I'm interested to controlling three RGB LEDs with netduino, I understand that I need 9 PWM outputs but netduino only have 4. Is it possible to extend to 9 PWM outputs or control 3 RGB LEDs with netduino? How?
Hope this helps,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#3
Posted 06 March 2012 - 10:49 PM
Hi You can always use 3 other IO lines to connect to the common cathodes of the RGB LEDS pulling them to gound one at a time and multiplex the PWM outputs.
You would only ever achive a miaxmum of 30% duty cycle on any LED but that may do you.
Cheers Pete.
I was going to change the world, then I discovered Netduino.
The world will have to wait.
The world will have to wait.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users