LED Light Bar
When you think about the Christmas season, what do you usually imagine? Some magic thing, right?!
I was thinking about something that might be associated with this wonderful season time and could be nice and bright. So I've started to look for some interesting components that could be used for the project, as result came up with the really interesting board ATTiny85. This is a good match for small projects like this one, it has powerful capabilities for the LEDs control which could be easily programmed with a big number of lighting effects.
Supplies
All components could be easily found at any store, some links to the AliExpress store are below:
3D Design
I have used Fusion 360 for modeling this small LED box. There are three basic components: bottom cover (1), main body (3), and top cover (2). The top cover is designed to fit closely to the main body and some force might be needed to connect parts together. The bottom cover could be connected with the M3-6mm screws, another option is to use glue.
Electronics
Pins:
- P0 - Photo-resistor input
- P1 - LED output
- P2 - Button input
For the powering USB port is used, also it could be powered from the mobile phone or power bank.
Programming
For the programming Digispark Tiny85 board, I've used VS code Arduino plugin, it is fast and easy to set up and upload sketches to it. The only thing to keep in mind is that the board should be disconnected first and only after a success message, connected for the upload.
Github link for this project: led-light-bar