TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139266 times)
  2. FAT32 Library (71753 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47432 times)
  5. Network WiFi Library (43092 times)
  6. FT800 Library (42408 times)
  7. GSM click (29835 times)
  8. mikroSDK (28101 times)
  9. PID Library (26886 times)
  10. microSD click (26198 times)
Libstock prefers package manager

Package Manager

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]

< Back
Project

HC-SR04

Rating:

3

Author: Mark Mc

Last Updated: 2016-02-21

Package Version: 1.0.0.3

Category: Measurement

Downloaded: 1825 times

Followed by: 1 user

License: MIT license  

ULTRASONIC DISTANCE SENSOR VCC, GROUND, ECHO, TRIGGER.
- BUG - LCD DISPLAYS NUMBERS IN THE 50 OR 60 THOUSANDS PERIODICALLY I THINK IT HAS TO DO WITH TIMER OVERFLOW WHEN IT OVERFLOWS THE MATH IS NOT HANDLED PROPERLY, BUT I'M STUMPED ON A SOLUTION. MAYBE SOMEONE CAN HELP.
THIS PROJECT IS WITH PIC18F2550, LCD AND HC-SR04

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "HC-SR04" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "HC-SR04" changes.

Do you want to report abuse regarding "HC-SR04".

  • Information
  • Comments (1)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Blog is not available at the moment!

RELATED CODES

TempSensors Ds1820 LM35

16

The basic functions for the DS18(S/B)20 (onewire digital temperature sensor), including string output, ready to display. A routine to convert a more than 9 bits temperature read from a DS18B20 to a string (to e.g. display on an LCD) is also present. Including Parasite Power and Configuration routines. The LM35 basic functions, code efficient.

[Learn More]

Lux Meter with BH1750

0

Lux Meter with BH1750 and PIC micro. The source code is written with CCS PIC C compiler. https://www.youtube.com/watch?v=ggHnA0ajgvY

[Learn More]

adc and display result on lcd using PIC18F4550

0

AN0 and AN1 is used as Analog input and E0,E1 is used as rs,e for lcd connection and d4 to d7 are connected to the port D4 to D7.

[Learn More]