Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Sonar not responding (http://www.chiefdelphi.com/forums/showthread.php?t=124777)

arithehun 16-01-2014 20:27

Sonar not responding
 
1 Attachment(s)
We are trying to use the HC-SR04 Ultrasonic range finder. However, it is not working. Our wiring successfully wires the two signals to separate ports. Our code is attached.

Joe Ross 16-01-2014 20:46

Re: Sonar not responding
 
What ultrasonic rangefinder are you using?

arithehun 17-01-2014 20:24

Re: Sonar not responding
 
The HC-SR04.

BradAMiller 19-01-2014 08:48

Re: Sonar not responding
 
I believe that your rangefinder is the same design as the Daventech SRF04 model and works with WPILib as described here:
http://wpilib.screenstepslive.com/s/...asonic-sensors

Be careful, it has two connections:
  1. Echo pulse output: Causes the sensor to send an ultrasonic "ping"
  2. Trigger pulse input: listens for the echo to return
Be sure to connect it as described in the documentation.


All times are GMT -5. The time now is 22:31.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi