Universal Internet of Things




About: 19 year-old passionate in Electronics

Internet Of Things will soon become a $6 trillion dollar business. But installation of IOT into existing houses would require massive amount of work. Drilling walls, check for proper grounding, replacing entire lights and fans, etc.

But is there a simple and easy way to install IOT into your home without replacing any lights, fans or whatever? Is there an option for existing homeowners to install Internet Of Things quick and easily?

Introducing, Universal Internet Of Things (UIOT) ! A device that plop onto your wall switch and instantly connects your electrical appliances to the internet. Let me show you how it's built. Let's get started!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Materials & Equipment Needed

The materials needed are:

2x Lithium Ion 18650 3.7v Battery

2x 18650 Single Battery Holder

1x Perfboard

1x Adafruit Huzzah Breakout

2x Micro Servo

6x M3 Short Screws

2x M3 Long Screws

Couple of M3 Bolts

Male Pin Headers

Copper Wires


3D Printer (Don't worry if you don't have one, I'll show you another method)


Hot Glue

Soldering Equipents


Step 2: 3D Printing

I've designed a casing for our UIOT project on Autodesk Fusion 360. Go ahead and download the .stl files from my Github and have it printed out.

If you do not have a 3D Printer, you can instead use online 3D Printing services who can take your stl files and ship the model to you.

Step 3: Start Constructing the Circuit on a Perfboard

Now after you've gathered your Adafruit Huzzah Breakout, Pin Headers, Batteries and all that fun stuff. Go ahead and assemble them according to the schematics provided!

You can assemble it however you want but I recommend using two 3x1 pin headers for the servos and 1 2x1 pin header for the Battery. This way if you need to perform future maintenance, you can simply disconnect the connectors and pull the perfboard out.

Make sure to connect the battery holders in parallel. We want extra capacity for our project!

Step 4: Start Assembling Everything

So to start, there are multiple holes on the 3D Print for mounting. the two elevated holes on the 3D Print are for M3 bolts for the perfboard, go ahead and drill two holes on your perfboard and screw your perfboard in.

Next, hot glue your servos to the 3D Printed servo motor holder. This is assembly is later join with the main casing via two long M3 Bolts, you can add 1 or 2 nut before putting the servo holders together to ensure the servos are putting enough pressure against the switch.

After that, put another two M3 Bolts through your 18650 Battery holder to secure it onto the casing

Finally, yet another two M3 Bolts will go onto of the casing. This bolts need to be connected to the capacitive sensor wires.

Step 5: Load the Firmware

Go ahead use the USB-UART converter and load the Arduino Firmware onto the board. Available on my Github as well. It will take a minute to load. Remember to replace the SSID and Password with your home network. I'll explain how to obtain an auth token later.

Step 6: Create a Blynk App

This step is pretty simple. Go ahead and download the blynk app and create a new project. Whenever you do so you'll be given an auth token on your email, copy and paste that token to the firmware code.

To create the buttons for sending commands, you just need to tap and drag to create them. Ensure the correct virtual wires has been selected. No Javascript or knowledge in coding is needed to create this app which is awesome!

Step 7: Mount It Onto Your Wall Switch

This device will work with any wall switch that have a 2 flat mounted switch. Remove two of the screws that hold the cover plate against the wall and put that through the holes already available on the 3D Print. Then screw it against the wall.

Oh and ensure that your battery has been connected. Test if the servo moves before mounting.

Step 8: Impress Your Friends!

Now, go on and show your friends how smart you are for creating such an awesome and useful device! You can mount it on any switch, lights, fans, heater, air conditioning, whatever.

You can now control your house appliances from the internet. Whenever you're unsure whether you've shut off your lights, you can just do it on your phone. How cool is that?

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Cardboard Speed Challenge

      Cardboard Speed Challenge
    • Multi-Discipline Contest

      Multi-Discipline Contest

    11 Discussions


    1 year ago

    Nice lateral thinking, sidesteps all the safety and legal issues!

    1 reply
    spark master

    1 year ago

    While I would never use this I like that you designed something that will not run afoul of the code, and the insurance company, should the house have an issue. Just be sure to always leave the switch plate ON the box. Temoval will allow a theoretical connection betwixt high and low voltage. The screws you are removing are 6/32, and come in various lengths and are cutable. Quick hit with paint and it can match the box.

    There could be issues with the lack of a UL approval, except you are making to use, not selling. Insurance companies can always make your life misrable, but I think this could be a winner on that front.

    Good Luck!

    1 reply

    Question 1 year ago

    Hi! How many time its working with 2x18650 Battery? You use deep-sleep mode for ESP8266?

    1 answer

    Answer 1 year ago

    Yep, I don't have an ammeter to properly measure the time yet but I estimate about 6 month to a year or so.


    1 year ago

    Excellent work. I like the tip about making the batteries accesible from the front.
    You may also want to consider adding physical switches to the front of the box so that the switches can be acutated manually without a phone.

    3 replies

    Reply 1 year ago

    It shows manual switching in the video...did you not watch the whole video?
    There are sensors on the top of the box for manual switching.


    Reply 1 year ago

    Thanks for pointing that out. I must have missed that.


    Tip 1 year ago

    First of all: Awesome! This makes it much easier for some switches who don't have a zero wire.

    My tip: design the box (3d printed) so that you can acces the batteries from the front. If the batteries run out, you'll have to recharge them. With this case you'll have to get the whole plate of. Better would be if the batteries would be separately accessible from the front. You then can recharge the batteries (or replace them) without getting the whole device of the wall.