I am trying to build a LED project and I am looking for a little help to get started.
I’m aiming to build a small, low-power LED display of 6 - 10 low-power white LEDs. It will have 2 small coin cell batteries and be fitted into a small 3D-printed lithophane. The PCB will have to be pretty small, 20 mm x 70 mm -ish.
The plan is to have a small pushbutton that will switch LEDs on for about 6-8 hrs, then switch the LEDs off until pressed again. If the switch is pushed during the 6-8 hrs it will switch off the LEDs straight away. The board only needs to last about 48 hrs total and will not need any kind of charging as it would be a kind of single-use display for an art display.
I’m thinking using a low-power microcontroller would be the best, as a 555/CD4060 would struggle to do what I need. I don't want to add a toggle switch, as I need it to be set-and-forget. I would also like to have the option to flash the LEDs, or fade them.
What should I look at regarding a microcontroller, or is there a better way I could do the above? I will need to make about 20+, depending on how well I can get the prototype to work.