Thread: Ultrasonic Help
View Single Post
  #9   Spotlight this post!  
Unread 20-03-2011, 13:31
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Ultrasonic Help

I've used these sensors many times, and I don't think they're going to reliably give you the feedback you're looking for. I think an encoder with some limit switches to 'zero' the position (or set it to whatever encoder value makes sense for where the limit switch is) would probably be much more reliable. Depending on the mechanism, it may also be feasible to have a multi-turn pot where the encoder would mount, so it has sufficient travel range to sense the full movement of the elevator. This would always give you an absolute reading.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)