April 12, 2025
Description
Pixies - LED Lamps for Home Assistant. Runs on ESP8266, powered by 18650 rechargeable battery with wireless charging.
I wanted some LED lamps that could be taken from room to room, was controlled by Home Assistant and could be easily thrown onto a charger and swapped for the next one. I came up with these different sized lamps, which I've been calling Pixies. They are intended to easily sandwich the parts together, with a clear locking lid to diffuse the LEDs.
Disclaimer:
This print is modeled around the parts I have listed below. If you are not able to obtain the same parts I've listed, the electronics might not fit and you should probably skip this print. This is also not intended to be a soldering or circuitry tutorial, or a tutorial on ESPhome/HomeAssistant. It's a pretty straight-forward build but I will update and improve the instructions periodically.
Assembly:
1. Solder the battery holder, switch and charging components.
Solder the Qi charging coil, battery holder and power switch to the charging board. Test fit to determine wire lengths. The positive output from the charging board is what I soldered the power switch to. Give yourself extra wire from +/- output and shorten later. Once this portion is together, test on a wireless charging pad and via charging port on charge controller. Tape the qi charging coil down with electrical tape. Use that magnetic sticker they give you too. Then superglue the charge controller and power switch into place. Make sure not to get superglue inside the power switch, just a tiny bit around the sides. The battery holder should just slide into place.
2. Solder the LED ring and Power Output to your ESP8266
Solder the LED ring to your ESP 8266, then place into the "Insert" print. The “insert” will slide into the “Base” print, aligning on the pin. Solder the power to the ESP, Positive to VIN, Negative to Ground. Make sure to leave enough extra output wire so you can slide the "Insert" back out of the “Base”, to put the 18650 battery into the holder.
Don't solder with the battery connected…that's probably not good. oh and be an adult, proceed at your own caution.
LED → ESP8266
Ground → Ground
5v → 3.3v *
Din → D2 (GPIO4)
*ESP has no issues driving the LED's with 3.3v. They don't seem to make 5v 8266's anymore
Installation:
Use ESPHome. I've attached some sample code you can use to get started. If you don't know what you are doing, Google it.
Sizes of Pixie is based on the LED ring diameter.
Slim - 86mm
Small - 93mm
Medium - 113mm
Large - 133mm
Version Numbers
v1 - (Large/Medium) nice compact design for larger led rings.
v2 - (Small) reduced vertical height. added pin to lock insert from spinning.
v3 - (Slim) reduced more vertical height. compact design for a different led ring
Parts:
ESP8266 - Size is somewhat consistent between vendors.
(Used in Slim Pixie)
WS2812 - 24-Bits LED Ring (IMPORTANT: 86mm ring, which this is modeled after)
(Used in Small / Medium / Large Pixie)
WS2812B 5050 RGB LED Ring Light 7 Rings Matrix - (Uses the 20, 24, 32 LED ring)
https://www.amazon.com/dp/B09W24T964
Qi Charging Coil - 5v 1A 5W (these seem to be fairly consistent in size)
18650 Lithium Battery Charging Board - 5V 1A - TP4056
https://www.amazon.com/dp/B00LTQU2RK
Battery Clip 18650 Battery Holder - HiLetgo 10pcs
https://www.amazon.com/dp/B00LSG5BKO
18650 Battery - 3.7V 3400mAh
https://www.amazon.com/dp/B0D479CCVK
Power Switches - 20Pcs Vertical Slide Switches (Style: BDZ3P12D10) (W 12.9mm x H 6.9mm x D 6.5mm)
https://www.amazon.com/dp/B075RC6TFB
License:
Standard Digital File License