Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I am looking for a way to build a light bar that would allow me to use 36 - 48 Ultra brite LEDs and have programable patterns. I would like to have at minimum: variable speed, flash all, left to right, right to left and back and forth scan . Any ideas?
What current do your Ultrabright LEDs need? 74HCxxx outputs have a maximum source or sink rating of 25 mA, limited by an overall package dissipation rating of 500 mW (SO package). Six 74HC164's or 74HC595's (8-bit shift registers) in conjunction with a PIC or other small micro would be enough to drive 48 LEDs with intermittent duty. The '595 has a double-buffered output stage, not necessary here since the shift register update rate would be much faster than the human eye could detect changes on the display.
If you wanted to use a minimal number of output drive pins, check out complementary-current drive (p.4). N outputs can drive (N^2 - N) LEDs, 7 for 36, 8 for 48. The disadvantage is that (with some not very flexible exceptions) only one LED can be on at a time without multiplexing, which reduces brightness. Outputs also need to individually be tri-statable, realistically limiting you to using PIC I/O pins.
If you are looking to minimize hardware you might go with something like the UCN5832 from Allegro.
It is a 32-bit latched driver. Each driver has the ability to sink 100mA for a total of 3.2 amps for the
whole chip. It uses a simple SPI 3 wire interface which is very easy to create in software.
I have PIC code to run the chip you decide to go that route.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.