Interfacing HC-SR04 Ultrasonic Distance Sensor with ATmega32 Microcontroller

Introduction This project uses an ultrasonic sensor to indicate the distance of any object from it. Here we have made a setup based on microcontroller in which real time distance is sensed by an ultrasonic sensor and microcontroller displays measured distance on LCD display. Required ComponentsATmega 32 Microcontroller HC-SR04 Ultrasonic Distance Sensor 16×2 LCD Display 5V Power SupplyHardware Ultrasonic Distance Locator – Block Diagram Circuit Diagram Ultrasonic Distance Measurer – Circuit Diagram Circuit Description The overall circuit assembled on the breadboard contains three major components :ATmega 32 Microcontroller, Ultrasonic [...]

Read more...
HC-SR04 Ultrasonic Sensor

Interfacing HC-SR04 Ultrasonic Sensor with Raspberry Pi

HC-SR04 Ultrasonic Sensor Ultrasonic distance sensors are designed to measure distance between the source and target using ultrasonic waves. We use ultrasonic waves because they are relatively accurate across short distances and don’t cause disturbances as they are inaudible to human ear. HC-SR04 is a commonly used module for non contact distance measurement for distances from 2cm to 400cm. It uses sonar (like bats and dolphins) to measure distance with high accuracy and stable readings. It consist of an ultrasonic transmitter, [...]

Read more...
HC-SR04 Ultrasonic Sensor

Interfacing HC-SR04 Ultrasonic Sensor with PIC Microcontroller

HC-SR04 Ultrasonic Distance Sensor is a popular and low cost solution for non-contact distance measurement function. It is able to measure distances from 2cm to 400cm with an accuracy of about 3mm. This module includes ultrasonic transmitter, ultrasonic receiver and its control circuit. HC-SR04 module has 4 pins :VCC – 5V, +ive of the power supply TRIG – Trigger Pin ECHO – Echo Pin GND – -ive of the power supplyTRIG and ECHO pins can be used to interface this module with a microcontroller unit. These are [...]

Read more...