Introduction: Glass Stone LED Tube (WiFi Controlled Through Smartphone App)
Hello fellow makers!
In this instructable I will show you how to build a WiFi-controlled LED tube which is filled with glass stones for a nice diffusion effect. The LEDs are individually addressable and therefore some nice effects are possible in the end. And the best: The firmware for the microcontroller comes with a super-easy to use smartphone app for Android and iOS devices!
The following parts were used:
- Plexiglass Tube, 1m high, OD/ID 60mm/54mm
- WS2812B LED Strip, 60 LEDs/m (you need 4m in total)
- Wemos D1 Mini Microcontroller
- Broken Glass Decor Stones, 3-4kg (you can most likely get these also from your local gravel shop)
- Square Aluminum Profile, 10x10x1mm, 1m long (you can get this from your hardware shop)
- ~50cm of LED cables (min. 22 AWG, 3-pin)
- 5V power supply, minimum 6A
- DC Power Plug, 1x female + 1x male
- General purpose glue
- 3D printer (my favorite one)
- Soldering iron (my favorite one)
- Hot Glue Gun
- WLED (as firmware for the Wemos D1 Mini)
- WLED (as firmware for the Wemos D1 Mini)
Step 1: Print the Parts
You will need three 3d-printed parts:
- the tube stand
- the tube lid
- the helper part for centering the aluminum profile
I printed all of these parts in Geeetech Copper filament, which you can find on Amazon.
You can find the .stl files on Thingiverse.
Important: Print the base and top part with minimum 4 perimeters and minimum 30% infill.
Step 2: Install WLED & Test Your LED Strip
Take your Wemos D1 Mini and install WLED onto it. Follow the Instructions and install the firmware.
NOTE: Use the WLED firmware for the D2 (= GPIO4) pin, not the standard one for the D4 (= GPIO2) pin!
---> use the xxx_ESP8266_ledpin4.bin file
Test your LED strip to make sure that every LED is working.
Step 3: Prepare the Glass Tube and LED Strips
- Take your general purpose glue and glue the lid the to the glass tube. Let it dry for min. 24 hours before touching it again!
- Take your aluminum profile, and drill 4 holes into it (~4mm diameter) as seen on the second picture. The holes will be used for the cabling of the LED strips. Make sure the holes are not covered when sticking the aluminum profile into the base part.
- Cut the LED Strip to length, so that you end up with 59 LEDs per strip (4 strips in total). Before cutting, make sure that there is enough room for the cables to go into the holes you drilled earlier.
- Tape the LED Strips to every side of your aluminum profile with the double-sided adhesive, which is already preinstalled on the back of the LED strips.
- Solder the wires you ordered to every LED strip and push the wiring through the holes in the aluminum profile you drilled earlier. You can make the wires approx. 7-9cm long. They will be cutted to length lateron.
Step 4: Fill the Tube With Glass Stones
Before continuing with this step, make sure that the glue you used for the tube lid in the previous step has dried completely!
- Take your tube and place it with the lid to the floor (Careful - the tube can easily fall and break. Always make sure you hold it tight)
- Take the Aluminum profile with your LEDs, and place it in the glass tube, so that it snaps into place with the notch in the lid.
- Take the helper part you printed earlier, and push it onto the glass tube to align the aluminum profile with the LEDs. Make sure that all the cabling is pushed through the inside of the aluminum profile / the center of the helper part.
- Tilt the tube sideways and carefully fill it with your glass stones. It's important to do this carefully to not damage your LEDs!
- Leave some air at the end, take off the helper part and make sure that the base fits without problems and sits flush.
- If this is the case and you pushed all your wiring through the base part, glue the base onto the LED tube with general purpose glue. Let everything dry for at least 24 hours before proceeding further.
Step 5: Electronics Installation
Now it's time for some soldering!
- Take your hot glue gun and glue the Wemos D1 Mini into place as seen on the picture
- Solder three wires to the Wemos: (Black - GND // RED - 5V // GREEN - D2)
- Take two long wires which will be used for the power supply.
- Solder the following wires together:
- All GND wires (Wemos, LEDs, Power Supply) - Black
- All 5V wires (Wemos, LEDs, Power Supply) - Red
- All Data wires (Wemos, LEDs) - Green
Use some hot glue to fix everything in place.
Step 6: That's It!
You now have a supercool LED tube light which can be controlled through your smartphone! :)
I hope you enjoyed this instructable and you can build your own tube light now.
- Control your light through your Smart Home by using the WLED integration for Home Assistant!
- Sync different WLED lights together with the built-in sync feature!
- Sync your lights to music by using LedFX!
Participated in the
3 People Made This Project!
- JakobN4 made it!
- lcroisez made it!
- nbeaulieu98 made it!
2 years ago
This is a beautiful project! I make something similar, but smaller (to sit on a desk). For the light-scattering medium I like to use broken safety glass, which works well (just make sure you clean it *before* you break it)
Reply 3 months ago
Hi there can u please tell me if your using a power adapter or USB phone charge and how many strip light r you use 2 or 4 Thank u
Question 7 months ago on Introduction
Hi there can u please tell me how did u print them out yes l no u used a 3d printer 😔 did u print them Stand up all setting flat down because l just can't get it too print standard up unless am doing something wrong