Thursday, January 03, 2019

Wifi based DIY 5V switcher for led-lights


There are so called "USB Fairy Lights" or "USB String Lights" can be purchased from china for less than 3$ for a 10m/100Led set.



These are 5V USB powered and weather-proof(except the USB connector part). I was curious to know more about these lights, and had a detailed look, this is what i found,
















and a closup of the LED,















5V powered 100LED circuit was consuming around ~1.8Watts(though 5.1Ohm series resistor was really hot) and the brightness of the LED's were not bad, especially difference between first led and last led brightness didnt bother me it was hardly noticeable when seen from distance. So I decided to use them as a christmas decoration for my garden.

I wanted to use them with battery-bank as there was no power-outlet readily available(for the safety of my children, i would avoid any 230v circuit in my garden especially in wet weather).
Also I wanted them to be switchable remotely to avoid going out in the freezing cold. Hence this is what i came up with.. an "ESP-12F based USB-5V switcher"




























































Although It works as intended, but with tasmota firmware, due to missing deep-sleep feature, i need frequent battery charging(every few days). Larger battery bank and ESP-8266 deepsleep would make this setup work for weeks before battery needs recharge.

Incase if you want to build this 5v switcher, here are some details,


Note: Before starting the assembly, ensure that the ESP-12F module is pre-programmed with tasmota or any other firmware that supports OTA. For the first time programming of ESP-12F module, here is my blog explaining the details of ESP-12F module programming.

Items Needed:


Assembly Step-1:




Assembly Step-2:

Assembly Step-3:

Assembly Step-4:

Assembly Step-5:


















Assembly Step-6:



Assembly Step-7:






















Assembly Step-8:

Assembly Step-9:


















Final Assembly: 





Let me know in comments sections if you have suggestions or improvements. Hope you find this low-cost DIY project useful.


16 comments:

Unknown said...

Hi, I really like your project and will try it out myself.
And I have one question:
is there a specific reason why you use two diodes instead of a 3.3v regulator?
I don't have diodes lying around but loads of those regulators ^^.

ADAV said...

Jan Ryklikas: 3.3v regulator is even better, i just used 2 diodes to bring down the 5v to 3.6v

ed said...

Pretty compact. I have used an esp8266-01 for something similar but hardly as compact

Ener-jblog said...

Amazing post. Thanks for sharing.
ENERJ WIFI Smart Plug Socket

Crest LED said...

This is really a very awesome DIY Project. If you want to buy led strip lights or led street lights you can check it out here. hopefully I will manage to get the required equipment for this DIY.

Anonymous said...

E supply whatever you want to make whole utilization of our complete assortment of LED strip lights,LED lights such as strip lighting connectors, drivers, and controllers.

On the Lookout for inspiration?led lighting Create an inviting and cosy atmosphere in your living room along with other relaxation areas with warm white strip lights,LED Light Pakistan or introduce some fun backlighting ideas around your home with colour-changing strip lights. led light We now have your needs covered with a full number of color temperatures and length options.LED lights

Discover a wide assortment of energy-efficient LED strip lights, designed to assist you accentuate focal points throughout your house, led lighting garden, and terrace areas. Explore multiple cosmetic domestic applications, including underlighting and backlighting solutions for shelving units, display cabinets, kitchen recessed areas,LED Light Pakistan and even more. Pick between color temperature scale alternatives to assist you set the ambient mood, available in a range of colours and LED strip lengths.

Furthermore, be sure to check out our favorite choice of LED light bulbs, neon flex, and outdoor lighting for ideal halogen alternatives to match your LED strip lighting project.led light manufacturers Shop now and begin to imagine the far-reaching possibilities that accented LED strip lighting can contribute to your home and garden.

clifton moriarty said...

Alleviate Body Pain and Improve Recovery With Our Powerful 16.8V massage gun ! 2 Year Warranty. Excellent LCD Display, 30 Speeds, 6 Massage Heads, 6 Hour Battery and Loved By Customers! Visit Facility

moversdubai said...

Automatic Driving Lessons Coventry offers you the best quality facilitated instructive expense, our lord driving instructors will invest fearless energy to help you with learning.

Thomas mark said...

Best Mover is one of the most trusted, affordable, and professional movers in Dubai. We provide an extensive range of moving, packing, and storage services to meet your requirements. All of them are performed by an expert team of movers.
Best Movers UAE

Buy Amazon said...

Best Blog

Pisces said...

Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. Modern chandelier led

Anonymous said...

Votre blog est une source précieuse d'informations variées. Merci pour le partage de connaissances utiles. La vitesse de votre test cps est impressionnante, chaque clic est comme un éclair de réactivité.

Anonymous said...

Thank you for this helpful post. It's really informative Blog Visite here
genevieve-advani
jill mohan
vanessa villanueva
kross-ermias-asghedom
jills mohan

pmo meaning text said...

Thank you for this helpful post.
what does gyatt mean!

Calum Scott said...

Thank you for sharing informational Blog this very helpful post. For more Information Visit here!
Think Sky Less

Calum Scott said...

Thank you for sharing informational blog for more info visit here!
Dimension Heat