Arnov Sharma made a Harry Potter style flashlight wand and shared the steps on Instructables:
An Attiny13A 8-bit microprocessor connected to a switch that toggles the white 5mm LED makes up the flashlight circuit. A 3.7V, 50mAh LiPo cell that we added inside the wand serves as the power source. The TP4056 IC configuration, a well-known Li-ion/LiPo charging IC, is used to charge the LiPo cell.
Using the sketch we uploaded to the Attiny, the user can flip an LED on or off by pressing the switch for 500 milliseconds. If the user presses the switch again, the LED will turn off.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey