View Single Post
  #10   Spotlight this post!  
Unread 04-02-2008, 17:10
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Ultrasonic sensors on digital ports 3-6 problems

What numbers were you getting when using inputs 1 & 2? How and when are you using this in your code? Is timer 3 being used for anything else?

"As far as the test goes, the number I receive back is the same." I don't understand. The same as when using inputs 1 and 2?

"The spec sheet from parallax says ~19ms". So the max count from timer 3 with a prescalar of 8 should be 24,000 or so. Is this what you get when nothing is in front of the sensor? The 35/25 numbers would indicate something is blocking the sensor. What does the data sheet say about the minimum pulse width?


HTH