Introduction: Home Automation by Withour Any Switch and Using Sensors
1x Ultrasonic sensor
1x Arduino Atmega328
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:
We have a be nice policy.
Please be positive and constructive.