I currently have a "tiny" setup and want to put a few (~20-30) 0402 LEDs on a 1:87 scale car. My current setup is an ATtiny85 USB Mini Dev Board powered by a 90mAh 3.7V LiPo battery which is connected to a TP4056 5V micro USB Lipo battery charger:
To my bitter disappointment one cannot connect the leds in series. I've read about charlieplexing which was a little mind boggling for me to comprehend.
I was going to break down the leds and pins as follows:
- P0 - headlights (2x white 0402 LEDs) + tail lights (2x red 0402 LEDs) -
in series- in parrallel - P1 - blinkers (4x amber 0402 LEDs) -
in series- in parrallel - P2 - siren (12x amber 0402 LEDs) -
in series- in parrallel - P3 - beacon (2x blue 0402 LEDs) -
in series- in parrallel - P4 - beacon (2x blue 0402 LEDs) -
in series- in parrallel - P5 - beacon (2x blue 0402 LEDs) -
in series- in parrallel
Question:
- With space being limited inside the model car how would I be able to drive 20-30 LEDs with the above set up?
- I am in doubt that the models in the video use charlieplexing and use a similar microcontroller, how would they be doing this?
- Would it be better for me use something like a Pro Micro ATmega32U4 5V 16MHz and spread the LEDs across the 16 pins (ie 2 LEDs per pin = total of 32 LEDs)?