Introduction: Arduion Based Smart Timer Switch

About: Hye, I am Ajay. & it's all about Electronics and Programming.

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

Step 1: Creating Relay Module for Timer Switch

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.

Step 2: Connecting Arduino Nano With Relay Module , Bluetooth Module and Power Supply

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

Step 3: Now Combining Everything

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.

Step 4: Creating Android App in MIT App Inventor and Programming Arduino Nano

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.

Assistive Tech Contest

Participated in the
Assistive Tech Contest