View Single Post
  #13   Spotlight this post!  
Unread 13-03-2008, 00:14
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: HM55B Digital Compass - How do I program the controller to read it?

Quote:
Originally Posted by RyanN View Post
We will try it when we get to the Bayou Regional, but 2 days before shipping, we measured it with a feeler, and it was pretty much right on what it called for, and one of our engineers doesn't want to get it "too close."

I absolutely understand your engineers concerned about getting it too close. We too tried to have the encoder positioned exactly according to the spec. sheet. The result was we were having intermittent tooth counts. So I pulled out my old, ancient, barely working oscilloscope. When I looked at the signal I can see that he was not a consistent waveform. I've been unmounted the sensor from the transmission and manually positioned it by hand while the motor was running at about 50%. I move I moved the sensor in until it made contact with the gear. At that point I immediately backed it out to prevent damage, then at least I had a reference as to how far we could put it in. I've been carefully moved the sensor in and out and suddenly I got a perfect square wave, with the duty cycle of 50%. I was able to determine exactly how much shim was needed to reproduce that position. I then repositioned the encoder, solidly mounting it to the transmission with the correct amount of shim in place. I was then able to run the motor at full speed forward and full speed reverse without missing a single count.

For us, trial and error turned out to be the best way to go. If you have access to an oscilloscope, use it to determine the correct position to get a consistent results.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist