Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

3 RGB leds with netduino?


  • Please log in to reply
2 replies to this topic

#1 irda

irda

    New Member

  • Members
  • Pip
  • 4 posts

Posted 06 March 2012 - 02:54 PM

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

#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 06 March 2012 - 03:36 PM

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?

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).

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 Bainesbunch

Bainesbunch

    Advanced Member

  • Members
  • PipPipPip
  • 61 posts
  • LocationFrance

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.