Go to Post Developing new "classes" of super-competition would totally defeat the concepts of info-sharing, partnerships, alliances, etc and create an elitist society within FIRST. - dhitchco [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2008, 15:59
rachal's Avatar
rachal rachal is offline
multipurpose tool
AKA: Rachel
FRC #1072 (Harker Robotics)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: San Jose, CA -> Cambridge, MA
Posts: 172
rachal is just really nicerachal is just really nicerachal is just really nicerachal is just really nicerachal is just really nice
Send a message via AIM to rachal
Potentiometer problems

We have a strange issue with our pots.
Situation:
The potentiometers are wired properly, Power to pin 1, Signal to pin 2, Ground to pin 3, and connected to a PWM connector. We have tried this with 3 separate potentiometers, and they work properly when examined with a Digital Multimeter. However, when connected to the Robot Controller, a strange thing happens. The potentiometers start out giving the value off them as 70, however their output rapidly drops down to around 40, and then starts dropping slowly. The drop appears to be a logarithmic function. We've checked that it's wired to the proper port, plugged in the right way around, wired to the right pins.

Is there anything you can think of that would cause this kind of behavior?
__________________
2005 Sacramento Winners with 245 and 766
2005 SVR Semi-Finalists with 840 and 668
2005 SVR Judges Award
  #2   Spotlight this post!  
Unread 13-02-2008, 16:13
Kev Kev is offline
The Greatest
FRC #0614 (Nighthawks)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Fairfax County
Posts: 16
Kev is an unknown quantity at this point
Send a message via AIM to Kev
Re: Potentiometer problems

pots go into Analog inputs, don't they?
__________________
  #3   Spotlight this post!  
Unread 13-02-2008, 16:47
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Potentiometer problems

Are you reading the pot using Get_Analog_Value(rc_ana_inxx);? if you're not, and not using kevin's equivalent, that might cause it. Also, I would check for any debris that might be shorting something on the RC.
  #4   Spotlight this post!  
Unread 13-02-2008, 16:48
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,349
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: Potentiometer problems

Quote:
Originally Posted by rachal View Post
We have a strange issue with our pots.
Situation:
The potentiometers are wired properly, Power to pin 1, Signal to pin 2, Ground to pin 3, and connected to a PWM connector. We have tried this with 3 separate potentiometers, and they work properly when examined with a Digital Multimeter. However, when connected to the Robot Controller, a strange thing happens. The potentiometers start out giving the value off them as 70, however their output rapidly drops down to around 40, and then starts dropping slowly. The drop appears to be a logarithmic function. We've checked that it's wired to the proper port, plugged in the right way around, wired to the right pins.

Is there anything you can think of that would cause this kind of behavior?

Check your backup battery.

From the RC Reference Guide:
Quote:
The Battery Backup circuit also supplies power to the center pins of the PWM OUTPUTS,which is required to operate servos
.
__________________
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

Last edited by billbo911 : 13-02-2008 at 16:57.
  #5   Spotlight this post!  
Unread 13-02-2008, 16:59
rachal's Avatar
rachal rachal is offline
multipurpose tool
AKA: Rachel
FRC #1072 (Harker Robotics)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: San Jose, CA -> Cambridge, MA
Posts: 172
rachal is just really nicerachal is just really nicerachal is just really nicerachal is just really nicerachal is just really nice
Send a message via AIM to rachal
Re: Potentiometer problems

Okay, we hooked it up to a scope and it looks like the limit switches were grounding all the analogs when they were hit. I'll post again if the problem is elsewhere.
__________________
2005 Sacramento Winners with 245 and 766
2005 SVR Semi-Finalists with 840 and 668
2005 SVR Judges Award

Last edited by rachal : 13-02-2008 at 17:03.
  #6   Spotlight this post!  
Unread 13-02-2008, 17:00
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,349
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: Potentiometer problems

Quote:
Originally Posted by rachal View Post
Okay, we hooked it up to a scope and it looks like the limit switches were grounding all the other analogs when they were hit. I'll post again if the problem is elsewhere.
OUCH!!!
Limit switches go to Digital inputs.
__________________
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
  #7   Spotlight this post!  
Unread 13-02-2008, 17:03
rachal's Avatar
rachal rachal is offline
multipurpose tool
AKA: Rachel
FRC #1072 (Harker Robotics)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: San Jose, CA -> Cambridge, MA
Posts: 172
rachal is just really nicerachal is just really nicerachal is just really nicerachal is just really nicerachal is just really nice
Send a message via AIM to rachal
Re: Potentiometer problems

Oops, never mind

No, the limit switches were plugged into digital and the pot was analog, but the limit switches were shorting the entire RC
__________________
2005 Sacramento Winners with 245 and 766
2005 SVR Semi-Finalists with 840 and 668
2005 SVR Judges Award
  #8   Spotlight this post!  
Unread 13-02-2008, 17:19
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,349
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: Potentiometer problems

Quote:
Originally Posted by rachal View Post
Oops, never mind

No, the limit switches were plugged into digital and the pot was analog, but the limit switches were shorting the entire RC
Are your switches shorting +5vdc to GND?? Not good!
Switches need to be wired between SIG and GND.
__________________
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
  #9   Spotlight this post!  
Unread 14-02-2008, 08:27
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Potentiometer problems

Are the pots linear taper? Check with an ohmmeter with no power to it.
__________________
Brian K
Team 1225 Robotics Mentor
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Potentiometer PID DustinB_3 Programming 28 15-02-2008 23:18
Potentiometer Problems Nicole_Ypes Electrical 7 08-02-2007 18:59
Potentiometer fezkazi Electrical 3 24-01-2007 13:29
Potentiometer Help! thoughtful Programming 4 18-02-2005 08:21
Potentiometer Joshua May Technical Discussion 8 22-05-2004 19:51


All times are GMT -5. The time now is 16:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi