Home Automation by Withour Any Switch and Using Sensors

by smartuptech in Circuits > Arduino

1078 Views, 16 Favorites, 0 Comments

Home Automation by Withour Any Switch and Using Sensors

Screenshot001.jpg

Apparatus required:




1x Ultrasonic sensor


1x Arduino Atmega328

1x Relay

1x fan

Connecting wires As required

​Connection/Working:

Controll Fan/Home applience automaticaly by Arduino without any switches

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

Program: