View Single Post
  #4   Spotlight this post!  
Unread 26-01-2005, 05:28
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Hall Effect Source

Quote:
Originally Posted by jgannon
I guess that he's wondering if there is default code for use with the Hall Effect sensor, like we have for gyros, and the camera, and such. AFAIK, there isn't. I'm not sure what the voltage levels are on the Hall Effect sensor, but you could possibly (I would verify this BEFORE hooking it up) use them with Kevin Watson's encoder code by putting them on digital I/O pins. Anyone know if this is possible, and if it is, is it the best way of implementing them?
Joey,

Yes. Just copy Kevin's encoder code and delete the part where you check the quadrature input for direction within the interrupt service routine.

It worked for me...

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...