Hey, does anyone know how I can add more led drivers to this example?
It mentions hooking up more drivers to be able to connect an "almost endless" amount of LEDs with only 4 pins. Of course, this would be very nice to know more about If anyone can help out, I'd be grateful.
Reading the datasheet didn't make me much smarter unfortunately...
Hi,
In the figure 6 page 8 from 4794's datasheet, you will find an example of cascading driver (up to 16 LED with 2 drivers).
Of course you can repeat the cascade (extend the daisy chain) by adding more 4794 circuits in the same manner.
You must modify the program to control new leds. You need more PulseClock(). You can extend the for loop (up 16 with 2 x 4794) and change : if (count == 7){ to if (count == 15){ .
Conceptually none.
Electricaly, problem can occur if you have an ouput which drive lot input (here EO, STR and CP), this is the fanout limit (one ouput can drive only a limited number of inputs, current (from output) is subdivided beetween inputs).
Up to 10 ten circuits will be OK, for more it's better to regenerate signals.
for some reason only the first led is lit. i checked all the wiring ten times --
data (arduino pin #9 / LED driver pin #2)
strob (arduino 8 / LED driver 1)
clock (arduino 10 / LEd driver 3)
oe (arduino 11 / LED driver 15)
I use pins 4-7 and 11-14 as output / led pins on the LED driver; LEDs are connected with anodes to 5V, cathodes to driver pins via resistors. ground and 5V are wired correctly, chip orientation is correct... am i missing anything?
I drew a quick visual to help everyone out who is new. I am new myself as in I just found this project today. So I am not 100 percent sure if it's correct but it looks right from what I can tell. If you look at the source code for the LED driver board
//*****
int data = 9;
int strob = 8;
int clock = 10;
int oe = 11;
int count = 0;
int dato = 0;
//******
the INT = X correlates with the number on the Arduino board. Once you see this, everything else seems to fall into place. Take a look at the images below. I hope this helps. Also inorder to daisy chain more 4794 LED driver boards, Pin 9 and Pin 10 look like the pins to connect to the next 4794 LED Driver as showen in the Datashate