Pages: [1]   Go Down
Author Topic: Help: Multiple LED with PWM control one pin arduino  (Read 640 times)
0 Members and 1 Guest are viewing this topic.
Philippines
Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Show Your Work
Offline Offline
Edison Member
*
Karma: 14
Posts: 1100
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: September 10, 2012, 12:01:21 pm by JoeN » Logged

I have only come here seeking knowledge. Things they would not teach me of in college.

Pages: [1]   Go Up
Jump to: