Loading...
Pages: [1]   Go Down
Author Topic: Help: Multiple LED with PWM control one pin arduino  (Read 320 times)
0 Members and 1 Guest are viewing this topic.
Philippines
Offline Offline
Newbie
*
Karma: 0
Posts: 29
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

Samplefinger
Offline Offline
God Member
*****
Karma: 8
Posts: 819
ALWAYS ASK FOR THREE. One to use. One to lose. One to abuse.
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

Latest Sampling Scores: ATXMEGA64A3U-MH x3, ATXMEGA256A3U-MH x3, SST38VF6404-90-5C-EKE x3, SST38VF6402-90-5C-EKE x3, PGA870 x3, THS770006 x3

Pages: [1]   Go Up
Print
 
Jump to: