To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 588
587  |  589
Subject: 
strange encoder problem
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 15 Jul 1996 22:11:33 GMT
Original-From: 
Jeff Keyzer <jkeyzer@calweb.=StopSpammers=com>
Viewed: 
1644 times
  
I'm using a hall effect sensor as a shaft encoder.  8 magnets have
been placed on a wheel of my bot, such that they turn the sensor on and off
as they pass by.  I have written a small program to test the encoder, which
makes the robot go forward 10 steps, and turn 5 steps, then repeat the
process.  Some strange behavior has arisen - the distance the bot turns
seems to change every time.  If I pick the bot off of the ground, and watch
the wheel turning, it seems that sometimes, the encoder will go one or two
magnets too far, as if it were missing the first magnet or two that passed
by the sensor.  Is this a typical problem?  I am led to believe that the
sensor is working properly, and all magnets are detected by it, but that
perhaps the handy board is missing a pulse or something.  It's really rather
odd, and I'm curious as to whether anyone else has ever noticed this
problem.



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR