Hi! My wife and I are working on a wearables project in which we’ll need to drive up to 24 [LilyPad Micro LEDs, individually addressable, from a [LilyPad 328 main board. The LEDs will be sewn into a garment with conductive thread, no more than 18" or so away from the main board. They are not in a matrix, nor are we able to wire them up in any complex way like charlieplexing. The garment lies flat against the wearer, so any circuitry in the project needs to be pretty low-profile, free of pointy bits that’d poke the wearer.
It seems clear that we’ll need shift registers or some other kind of controller, as there are more LEDs than we have output pins. I have lots of 74HC595N DIPs here already.
We could really use some advice on these questions:
-
Is the 74HC595 the best choice for this project? If not, what should we use instead?
-
How do we mount the shift registers (or whatever we use) so they can be easily connected to the threads coming from the LEDs? I have small PC prototyping boards, but I don’t know how to deal with connecting so many uninsulated threads to them. I’ve ordered a [LilyPad Protoboard but it seems like I’d need more than one of them…?
-
Can we drive all 24 Micro LEDs through 3 shift registers by connecting the 5V pin from the LilyPad to the Vcc pins on the 75HC595, and connecting the LEDs to the 75HC595’s output pins? Or do we need separate power for the shift registers?
-
Will a CR2032 coin cell work as a power supply for the LilyPad and/or shift registers? If not, what do we need to use, and roughly how long will it last if the LEDs are off most of the time, but occasionally “winking” in various patterns?
-
We’d like to have a “master” brightness control for the project under software control, if possible. I have a [10K Digital Potentiometer on order – would that be appropriate, and if so, where would it go in the circuit?
I have plenty of coding experience, but neither of us are skilled in electronics. I’m able to solder and follow instructions, and have been working through lots of tutorials, but circuit design and power issues are a stretch for me. We’d really appreciate any help the SparkFun community can offer here, as we only have a couple more weeks to finish the project.
Thanks very much in advance!](Digital Potentiometer - 10K - COM-10613 - SparkFun Electronics)](LilyPad Protoboard Large - DEV-09101 - SparkFun Electronics)](https://www.sparkfun.com/products/9266)](https://www.sparkfun.com/products/10081)