Go to Post Back to robotics!!!!! - Steve W [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-01-2008, 11:56
the401tauntaun's Avatar
the401tauntaun the401tauntaun is offline
The Tauntaun
FRC #0401 (Hokie Guard)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blacksburg, VA
Posts: 3
the401tauntaun is an unknown quantity at this point
Send a message via AIM to the401tauntaun
SRF04 Ultrasonic Rangefinder Unresponsive

we are using the Devantech SRF04 Ultrasonic Rangefinder. We have sent a 5v pulse to the input pin, and verified this with a voltmeter. The power supply is working. We are not getting any feedback. The voltage from the "echo output" pin stays at zero. The code we are using to send this signal folows:

if(p1_sw_trig == 0)
{
rc_dig_out02 = 0;
}
else
{
rc_dig_out02 = 1;
}

We are reading the output from the rangefinder using both a voltmeter and printfs, and neither one shows any output. We expected a pulse at the falling edge of our signal, to signify that it was "listening" for echoes. Is there something obvious we are missing here? These rangefinders are a few years old, so it's possible (though unlikely) that they are just broken.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ultrasonic will not work with another Ultrasonic plz help Jackel148 Programming 10 10-05-2006 15:31
Programming Parallax Ultrasonic Rangefinder edman Programming 2 17-02-2006 08:35
Ultrasonic Sensor winners Programming 3 02-01-2006 20:55
Ultrasonic Rangefinder Operating On I2C Bus CapnBFG Electrical 10 04-06-2005 01:31
Unresponsive camera neilsonster Programming 9 17-02-2005 08:51


All times are GMT -5. The time now is 23:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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