We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2013/03/25 08:43:58 AM CET
I'm working on a project for make a car stop before 10 cm from wall and i have used a 4 ultrasonic sensor and Pic 16f877a and i faced a problem how to display the distance on LCD and Stopping the car
Please help me
USER Comments
posted on 2013/04/03 06:00:53 AM CEST
hey Mohammad am doing the same project as you are but am having troubles on a code fragment that will read the inputs from the 4 sensors and compute my desired distance,can you help?am doing an AUTOMATIC PARKING ASSISTANT SYSTEM,but am aware of the displaying code fragment using an LCD
Do you want to report abuse comment ID: 672 in "ultrasonic Sensor " request.
posted on 2013/03/31 11:47:28 PM CEST
You can see this Project:
http://www.libstock.com/projects/view/607/code-for-measuring-distance-with-hc-sr04-ultrasonic-sensor-spanish
"This program displays the distance measured by the sensor HC SR04 on Display 2x16. Includes MikroC files and details in the .c file. * RA1 is TRIGGER *It uses a 16F877A with HS 12MHz, but in MikroC config is necesary set HS 4MHz. It works perfect if the connection is good. //Read coments in C code for connection".
Do you want to report abuse comment ID: 668 in "ultrasonic Sensor " request.