|
Re: Jag loses potentiometer reading
Quote:
Originally Posted by jrz126
Our robot has a double jointed arm with a pot. at each joint.
During driver tryouts, we lost the readings from one of the potentiometers. The position was reading exactly 0. It was still connected as far as i could tell. It reads 0.3 and very noisy when disconnected. (since the signal lead is floating, its basically like an antenna)
We have it programed so the joysticks control the arms by setting %VBus. Pressing and holding a button will put it into PID control and move to the corresponding setpoint, release the button and it goes back to open loop.
So I was able to reconfigure the jag while it was running, but it didnt fix the problem. I had to powercycle it to get it back.
Oh and the open loop still worked with the joysticks, but my safety limits (in labview, not the soft limits on the Jag) had restricted the movement.
Anyone see this before? any way to fix it without a powercycle?
|
The first thing to check is if the pot is still functional. Use a multi meter to verify that you have +5 volts across it. Then verify you are getting a variable signal out of the wiper as you move the arm.
Honestly, from the description you gave, it sounds like the pot is broken internally. Could it have been driven past it's mechanical stop? If so, so bye bye to that one.
__________________
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
|