Introduction: Home Automation by Withour Any Switch and Using Sensors

About: I am mechatronics student with lots and lots interests in innovations

Apparatus required:

1x Ultrasonic sensor

1x Arduino Atmega328

1x Relay

1x fan

Connecting wires As required

Step 1: ​Connection/Working:

Step 1: Upload the program given below in to Arduino board

Step 2: Connect the Arduino and Ultrasonic sensor in to the pins trigPin-13, echoPin-12

Step 3: Connect relay to Arduino pin 2 and motor to relay

Step 3: Now click serial monitor in the Arduino software

Step 4: Move your sensor and find distance approx,

Step 5: Follow us and subscribe our YouTube channel

Step 2: Program: