View Single Post
  #2   Spotlight this post!  
Unread 14-01-2012, 12:14
Sparks333's Avatar
Sparks333 Sparks333 is offline
Robotics Engineer
AKA: Dane B.
FRC #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Wilsonville, Oregon
Posts: 184
Sparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of light
Send a message via AIM to Sparks333
Re: Wiring Ultrasonic Ranger Finder

The Maxbotix sensor actually has several outputs you can use, depending on what you feel like interfacing with. It has a pulse-width output, which can be connected to a digital input and sampled for time high (if you can make it work via interrupts, that works even better), a serial input/output for using TTL-level serial communication, and an analog output for connection to an analog input on the CRio. I've found that the analog output is a little noisy (especially inside a robot) and isn't terribly precise, but the pulse-width output is great, and the serial output gives options to set when the sensor fires, which is useful for not interfering with other teams' sensors. Which input technique are you most comfortable with?

Sparks
__________________
ICs do weird things when voltage is run out of spec.

I love to take things apart. The fact that they work better when I put them back together it just a bonus.

http://www.ravenblack.net/random/surreal.html