Go Down

Topic: Help: Multiple LED with PWM control one pin arduino (Read 728 times) previous topic - next topic

Help: what IC or transistor can i used to drive a 10+ LED and used PWM?
can i use 74hc595 or transistor BC547?

JoeN

#1
Sep 10, 2012, 06:57 pm Last Edit: Sep 10, 2012, 07:01 pm by JoeN Reason: 1

Help: what IC or transistor can i used to drive a 10+ LED and used PWM?
can i use 74hc595 or transistor BC547?



There is a library called ShiftPWM that allows you to do PWM in a sense manually over 595 shift registers.  It keeps the Arduino awfully busy beacuse it has to continuously update the shift registers at high speed to get the PWM effect.

http://www.elcojacobs.com/shiftpwm/

I still think a dedicated chip like the TI TLC5940 is the best choice.  It removes both the electrical load and the computation overhead from the Arduino.  They are fairly inexpensive on eBay.  I got mine from a seller with a name like "hitechtools" and he was very, very professional and shipped fast.

http://www.arduino.cc/playground/learning/TLC5940
I have only come here seeking knowledge. Things they would not teach me of in college.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy