Arduion Based Smart Timer Switch

by hackplague in Circuits > Arduino

1248 Views, 4 Favorites, 0 Comments

Arduion Based Smart Timer Switch

Arduino Based Timer Switch
IMG_20191204_205150.jpg
IMG_20191204_205645.jpg
IMG_20191204_205632.jpg

In this instructable, I will show how I made this Smart Timer Switch.

I got the idea of a Smart timer switch when I face a problem with cellphone charging during bedtime. many cases I forget to turn OFF the switch and this same happened during laptop charging.

This timer switch solves all those problems.

Set the timer with a smartphone and when time gets over power in the switch turned OFF.

Supplies

HC05 Bluetooth module like this

Arduino Nano like this

5 V Relay like this

2N2222 Transistor like this

IN40007 Diode like this

10 Ohms Resistor

Zero PCB like this

Heat Shrink TUBING like this

Two 2-pin Screw Type PCB Terminal Block

AC Power Plug

Old Cellphone Charger

Some Wires

Creating Relay Module for Timer Switch

20191120_111738.jpg
20191119_194532.jpg
DSCF4508.JPG
20191119_190824.jpg
20191119_200258.jpg
DSCF4503.JPG

Collect the components and solder them according to Circuit.

Make sure that arrange components in such a manner that it can fit AC Power Socket.

You can use BC547 Transistor if you are unable to find a 2N2222 transistor.

Downloads

Connecting Arduino Nano With Relay Module , Bluetooth Module and Power Supply

20191120_120424.jpg
20191120_111758.jpg
20191123_162525.jpg
20191119_101546.jpg
DSCF4510.JPG
20191123_162539.jpg

Arduino nano Pin .................................................Relay Module

GND Pin------------------------------------------------------GND Pin

5V Pin---------------------------------------------------------Vcc Pin

Pin 5-----------------------------------------------------------Trigger Pin

Arduino Nano Pin..............................................HC05 Bluetooth Module

5V PIn-------------------------------------------------------5V Pin

GND---------------------------------------------------------GND

TX------------------------------------------------------------RX

RX------------------------------------------------------------TX

Arduino Nano Pin..................................................Power Supply

Vin---------------------------------------------------------------5V Output

GND-------------------------------------------------------------GND

All Connections are included in the previous step Circuit.pdf File

Now Combining Everything

IMG_20191204_204805.jpg
20191123_162629.jpg
20191123_162645.jpg
20191210_104937.jpg
20191123_162607.jpg

In this Step, I am going to combine everything inside AC Power Plug.

make sure you have insulated everting with a paper tape or any insulating material and upload the code in Arduino board.

Now Hardware Part is completed.

Creating Android App in MIT App Inventor and Programming Arduino Nano

Screenshot (8).png
Screenshot (9).png
Screenshot (14).png
Screenshot (34).png

In this Step, I am going to create an android app using MIT app inventor and Programming Arduino board.

The App I have made in-app inventor beeps a sound when time is triggered and send latter x to the HC05 Bluetooth Module.

I have included All Files in Zip folder you can download it from here.

Downloads