View Single Post
  #2   Spotlight this post!  
Unread 21-01-2008, 09:01
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Parallax and Maxbotix ultrasonic sensors

I was just reading the spec sheet for the Maxbotix EZ1 sensor. It looks like one of it's outputs is analog. So you should be able to connect it directly to an analog input and read range values. The datasheet lists the output at about 9.8mV/inch, so with some simple scaling you could convert the 0-1023 analog input value directly to inches. It also looks like if you use the pulse output it may be directly compatible with the existing driver, but I haven't tested it.

The sensor looks really good - I'm going to order one to play with. More news as it happens.

The Parallax sensor uses timing much like the supported SRF04 (or Vex) sensor, the problem is it does the trigger (digital output) and echo (interrupt) on the same pin. The driver would have to be modified slightly to flip the pin from an output to an input to make it work.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute