Introduction: DIY Bluetooth SmartPlug

About: Hey there,I'm Aryan,I like to make electronics projects which in the end comes out as videos on YouTube. Not only this I also cover the theory associated with every project,so that you actually know what you a…

In this video I'll show you how you can make your own Bluetooth Smart Plug.This project is a budget build so without further delay lets jump right into it...

Step 1: Link for the Video !!

Step 2: List of Componets

Parts list-

1.Arduino Pro mini 5V
2.Bluetooth module(HC_05)
3.Relay module
4.AC socket
5.RGB and Red led (5mm)
6.10K NTC and 10K resister
7.Power supply(220V AC to 5V DC)
8.Enclosure
9.Connecting wires.

Tools used-
1.Hot glue.
2.Rotary tool
3.Drill machine with 5mm and 8mm bit

Step 3: Measuring the Dimension of Components.

At first I measured the dimension of the AC Socket followed by the mains switch.Meanwhile I transferred the measured data on the enclosure.
Talking about the enclosure I used this 10*6*2 cm enclosure which was perfect for this project.
Once the measured data was transferred on the enclosure I used a rotary tool to cut out every single holes and used a 5mm drill bit for the leds which will later act as an indicator.Then I drilled a 8mm holes on the side of the enclosure for the mains wire to feed through,

Step 4: Setting Things Up !

Then I solder the mains wire on the power supply module which will deliver us 5V for the arduino,Bluetooth and relay to get power.After that I hot glued the board on the base of the enclosure followed by the relay module keeping a distance of 1.5cm in between for the mains switch to sit.
Connect the mains switch in parallel with the relay module so that in case your smart plug fails you'll still have a way to turn on/off your appliance manually.

Connect the mains wire in parallel with the ac socket keeping the relay module in between( ie in series with ac socket)

Step 5: Control Electronics.

I used the arduino promini beacuse of its small size.Connections were made as per as the schematic.
I used pin13 which will be the power indicator for the device and connected a red led to it.Then I used a RGB led trimming off the red terminal for the status led(Green) and for the temperature alert(Blue).
The code was uploaded using a TTL converter/FTDI.

For the App I used a online software called MIT app inventor if you are curious.


Link for the code,schematic and application-https://github.com/aryandec25/DIY-bluetooth-smart-...

Step 6: The Project Is Complete.

After all the connections were made,I made sure everything was working properly or not,which it was.Finally with the help of hot glue I closed the enclosure and the smartplug was ready to go.

(One important thing here is to notice that I had to skip the mains switch due to lack of internal space)

I hope you like this video don’t forget to hit the thumbs up and if you are new to this channel don’t forget to subscribe. In the end thanks for watching.