This is a simple project for my close relative "smart LED Lamp" aka addressable led that shine trought crystal to create a pretty nice effect. Color/Brightness... etc. can be changed via 2 buttons. It use 2x refurbished LG LGABC21865, nominal capacity was 2800mAh current capacity is slightly above 2000mAh after cell test.
- Libraries used: Adafruit NeoPixel, EEPROM, Arduino default library <Arduino.h>
- My code
Check out: Schematic
- Charging board You can buy it everywhere, Amazon, Aliexpress... etc. Now with USB C also. I did a small modification to mine, set the charging current to 580mA instead of 1000mA. (To prevent chip overheating and when using bad input charger) Visible in schematic 2kΩ resistor instead of 1,2kΩ IC TP4056, PIN 2(PROG)
- Boost Converter board For stable operation and limit the voltage ripple from switching. It's recommended to use smoothing capacitator, I set my boost converter to 4,6V because higher voltage will result only in higher power losses.
- My own ATtiny85 board, ATtiny85 datasheet
- 2x 18650 accumulators (You can use what ever type of Lion/LiPo 1S only!)
- 3D printed case. You will need to design your own because of different shape for crystal (or what ever you want to use).
-
Install Visual Studio Code
-
Install PlatformIO IDE extension (Depending on your Python version you can get error like this)
-
Clone repository
-
Open PlatformIO inside Visual Studio Code and click on Open Project and import cloned repository. 1. select PlatformIO (RED icon) 2. Import project (BLUE icon)
-
How to upload new code to ATtiny85? Use other Arduino in ISP mode. Tutorial.