Search found 1 match

by jnbruno
Fri Feb 28, 2014 4:50 am
Forum: Programming Tips & Tricks
Topic: Ultrasonic Distance sensor using HC-SR04
Replies: 86
Views: 217900

Re: Ultrasonic Distance sensor using HC-SR04

Hi, I tried the code attached here but I cant get it to work.. Im using PIC16F877A and HC-SR04 sensor, I want my program to be like this video on youtube.. LED will turn on when obstacle is detected. My Echo is connect to PortD.4 , Trigger is connect to PortD.5, The output LED is on PortD.6.. I real...