Hello innovators,

In the previous blog you have seen the introduction of the Internet of Things(What is IOT ?), now I'm going to release some more series of blogs regarding the IoT. This is not an internet-connected prototype but its worth for IOT beginner so keep watching this space.
You can view video of the same on youtube. Object Detection | Open Gate
You can find complete sketch CODE
Let's get started. In this blog I'm going to explain how to detect objects using an ultrasonic sensor, ultrasonic sensor will detect the movement and object & trigger some action to servo motor which is also connected with the same device.
WHAT
In this blog I'm going to explain how to detect the object. If any object detected within 20 cm range by sensor it will open the gate for few defined seconds. After that gate will be closed automatically. If object will remain in front of the sensor gate will be remained open unless object gets away from sensor 's sensing area i.e 20 cm for this example.
WHO
Let's visit the list of tools, hardware and software we have used in this demo

Hardware

Software

HOW

CIRCUIT DIAGRAM

Detect Object And Open Servo Motor Gate Using Ultrasonic Sensor