Glowing Bottle

Glowing Bottle

My daughter is quite artistic (as any proud parent would say), and created a wire animal in a bottle. For this bottle she wanted some lights at the bottom (inside), but… the requirement was that no wire may go through the glass (which would have made everything lots easier of course).

By total coincidence, some weeks earlier I did order some wireless power transfer kits. They contain two coils and two little electronics regulator boards to send and receive wireless power via the coils. Similar to how mobile phone wireless charging works.

Combine this with a 4 by 4 RGB (WS2812) led panel, and a WeMos D1 mini (esp8266), and off you go…

Connections:

  • WeMos pin 5V – connect to VCC of Led Panel
  • WeMos pin GND – connect to GND of Led Panel
  • WeMos pin D5 – connect to data IN of Led Panel
  • Led Panel (other end, where output is) – connect an electrolytic capacitor between VCC and GND, any nice big one wil do (couple of 100’s uF, use 220 uF or 470 uF for example, 16V).
  • Attach the plus and minus of the Wireless Power Receiver at that same end to the Led Panel
  • The Wireless Power Transmitter can be connected to a power brick, in my case I used an old 12V DC adapter.

That’s it. Glue it all together (I used some cardboard, and photo glue), put some firmware in the ESP/WeMos (compile and flash using the Arduino IDE), and all done.

Note: When placing the receiver coil over the transmitter coil to start the light, it can happen that the led’s all turn on in some random state. When that happens, it seems the WeMos won’t boot up properly. Perhaps too much power going at once to the leds in that case. Maybe I should look at adding some sort of delayed reset circuit (the ESP8266 does not seem to have a brown out detector / BOD). For now the workaround is to distance the coils (e.g. remove power), and put them back on top of each other, until the led’s stay off, and the chip boots up properly (can be seen from a flashing blue on-board led on the WeMos).

GitHub Source for Firmware: https://github.com/atkaper/ESP8266_4x4_Glowing_Leds

Here some images of the build and end result:

Note: the shown bottom plate is a temporary piece of card-board for now. We plan on replacing it with for example a cork or wooden coaster, in which we will embed the coil.

Wireless Power Transfer Test And Led Matrix Test
Final result

All in all a nice little project. The firmware is not really fancy right now, it allows for some configuration via a web interface, but needs some more cool features (like on/off switching, voice control, and color configuration). But it’s a start.

Thijs Kaper, October 4. 2020.

Components Search Titles:

  • Thinary WS2812 LED 5050 RGB LED Matrix 2×2 4×4 5×8 8×8 4 16 40 64Bit LED 5050 RGB LED With Integrated Driver Module For Arduino
  • 5V 1A/2A Wireless Power Supply Module Wireless Charger Module Transmitter Receiver Terminal Circuit Board Module for DIY Phone
  • 10pcs D1 mini – Mini NodeMcu 4M bytes Lua WIFI Internet of Things development board based ESP8266 WeMos
  • 500Pcs/lot diy 0.1UF-1000UF 24Values Aluminum Electrolytic Capacitors 16-50V mix Electrolytic capacitor Assorted kit set box
The receiver (attached to Leds/WeMos) is the bigger board which has the coil (see red arrow) on the board also. The sender (attached to 12V power brick) is the smaller board.

Leave a Reply

Your email address will not be published. Required fields are marked *