![]() |
Arduino is a microcontroller that requires sensors to sense the surroundings to process and react to it. Ultrasonic Sensor is an electronic device that measures the distance between the transmitter and the obstetrical using ultrasonic sound waves. It converts the sound reflected sound into an electric signal to provide a numeric output. Ultrasonic waves travel faster than the speed of audible sound because their frequency is lower and wavelength is maximum. The ultrasonic sensor measures the distance depending upon the time taken to receive the wave back, hence it measures the total distance traveled by the sound, which is double the distance between the transmitter and obstacle. Table of Content What is an Ultrasonic Sensor?An ultrasonic sensor is an electronic device that calculates the time taken by the ultrasonic wave to travel from the emitter to the receiver. Ultrasound waves travel faster than sound. Therefore, the operation of ultrasonic sensors involves sound waves to determine the distance to an object. A transducer is used to send and receive ultrasonic pulses. ![]() Ultrasonic Sensor Components and Pin Diagram of Ultrasonic SensorUltra Sensor haves only 4 pins: Trig, Echo, GND, Vcc. Lets see the components and its functionality with these pins:
Features of an Ultrasonic Sensor
Working Principle of Ultrasonic SensorUltrasonic Sensor works upon the principle of sound waves. Ultrasonic sensors transmits short, high-frequency sound waves at regular intervals. These signal moves through the air at the speed of sound. When these signal hits an object, they return back to the sensor as an echo signal, and the sensor itself calculates the distance to the target based on the time delay of the transmission signal and receives an echo. In order to calculate the distance, this formula is being used:
Ultrasonic sensor having mainly two component: the transmitter (emits the ultrasonic sound waves) and the receiver (which encounters the ultrasonic sound wave which travels to and from the obstacle). Code for Ultrasonic Sensor
What is an IR Sensor?IR Sensor is an electronic device that measure and detects infrared radiation from the surrounding environment. It do not measures the distance between the sensor and the object. It is fast responsive and non atmosphere dependent sensor. It works upon the principle of Infrared Light. Its frequency is high that’s why its range is very low. It only detects obstacle in straight line. ![]() IR Sensor Features of an Infrared (IR) Sensor
Components of IR Sensor and its WorkingThere are different types of infrared emitters depending upon wavelength, output power and response time of operation. The infrared sensor consists of two main components:
Note: Collectively an IR LED and an IR PhotoDiode is called an OptoCoupler or PhotoCoupler. Code for IR Sensor
Difference Between Ultrasonic and IR SensorGiven Below is the Table between Ultrasonic and IR Sensor
ConclusionArduino – Ultrasonic Sensor is a multipurpose, low cost, highly useful electronic device which is a part of IOT products development. This sensor can be used to track record of data where Infrared Sensor fails to deliver good performance. Ultrasonic Sensor – FAQsWhat is the price of Ultrasonic Sensor?
From where we can buy?
How to learn Arduino?
|
Reffered: https://www.geeksforgeeks.org
Arduino |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |