This article on Digital Wizard explains the basic working of HC-SR04, which is a very low cost and popular sensor module to measure distance to obstacles. The author also explains the development of C code to interface it with a PIC16F877A microcontroller and display the readings on 16×2 LCD module.
Please click here to read more …
Facing problem with your embedded, electronics or robotics project? We are here to help!
Post a help request.
Hi i’m Charlis, thank you for this tutorial on Ultrasonic sensor but i’m can not get a result using Proteus Simulation and i’m using the Ultrasonic library i downloaded, i’m just still getting an Error any help, Thank you.this is very help full and i will still try to make it work.
@Charlis,
From where have you downloaded the HC-SR for Proteus?
http://www.theengineeringprojects.com/2015/02/ultrasonic-sensor-library-proteus.html
Good day. What proteus library should i have so that i can interface the ultrasonic sensor with pic16f877a? Can i ask for a copy? Thanks.
Dear sir,
I required full duplex communication with 2 ultrasonic sensor and RF transreceiver module.i have code without ultrasonic code is working properly but with ultrasonic code not working data not send or receive from other board .
Please guide me or send me sample code with pic 16f877a and ultrasonic with RF transreceiver cc2500 module.
Thanks in advance.