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]
Rating:
Author: Robinson Velasquez
Last Updated: 2016-02-21
Package Version: 1.0.0.0
Category: Measurement
Downloaded: 7754 times
Followed by: 2 users
License: MIT license
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 subscribe in order to receive notifications regarding "Code for measuring distance with HC SR04 Ultrasonic Sensor " changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Code for measuring distance with HC SR04 Ultrasonic Sensor " changes.
Do you want to report abuse regarding "Code for measuring distance with HC SR04 Ultrasonic Sensor ".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1363226169_code_for__measur_mikroc_pic.rar [116.95KB] | mikroC PRO for PIC |
|
This circuit is based in this same project, but it uses three sensor at the same time.
View full image