View Single Post
  #4   Spotlight this post!  
Unread 06-03-2006, 03:58
SomeoneKnows SomeoneKnows is offline
SomeoneKnows
AKA: Vince Thompson
FRC #1752 (Team Tonka)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: KC Missouri
Posts: 19
SomeoneKnows is a glorious beacon of lightSomeoneKnows is a glorious beacon of lightSomeoneKnows is a glorious beacon of lightSomeoneKnows is a glorious beacon of lightSomeoneKnows is a glorious beacon of light
Re: Vex Ultrasonic Sensor not responding

The documentation claims 3cm up to 3m range. The source code toggles an LED when the values are (fltHiResCounter >= 16) && (fltHiResCounter <= 19). This seems to correspond with about the distance I was standing away from the sensor. 16cm to 19cm may not be the exact distance but seems to be close to where I am when it turns on and off.

I have added some printf statements to my code that print out once a second and the values seem close to distances I would expect. I still have more testing to do.

Vince