Now when the ultrasonic waves reflect from any surface and are received by the Receiver, the ECHO pin becomes LOW. As the Eighth pulse is sent the ECHO pin of the sensor becomes HIGH. When a High pulse of 10us is applied at TRIG pin, the ultrasonic transmitter sends 8 consecutive pulses of 40kHz frequency. The sensor module has 4-pins out of which Pin-1 and Pin-4 are +Vcc and Gnd respectively.Pin-2 is Trigger and Pin-3 is Echo pin.The working of sensors can be described from the below figure : The working of the ultrasonic sensors is quite simple and they are easy to interface with the microcontroller. The project can be used in obstacle avoidance robots, etc. The code is written in Assembly and is easily understandable. The distance is displayed on Seven Segment Displays. The project is build around AT89S52 which is a 8051 family microcontroller. HC-SR04 based Distance Finder gives the distance from an obstacle in centimetres.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |