Go to Post FIRST is like riding a bike. At first it may seem hard and confusing, but after a few tries you get the hang of it and its smooth sailing from then on out. - Tom Bottiglieri [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 09-02-2011, 21:57
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Potentiometer voltage range?

We are attaching a potentiometer to an axle to indicate arm height. We are using a 100ohm / 10 turn pot. We are getting values of 4.5V to 5.0V over the entire range of 10 turns. We are worried that that is not enough of a range of values because...the pot will only be turning about 2 turns(not the full 10 turns it is designed for). We anticipate only having a range of 4.5V to 4.6V to use for feedback.

Will it work even with the small range of values?

Will a different potentiometer give us more of a range?
  #2   Spotlight this post!  
Unread 09-02-2011, 22:24
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: Potentiometer voltage range?

How is it wired up?

If it is a 3-pin potentiometer, then one should be connected to ground, one to 5v, and the sweeper to the analog input.

A potentiometer acts as a voltage divider -- it needs a ground and 5v to function. It sounds as if you might not have ground connected.

If ground is connected, take out a multimeter and check the resistances. Two leads should have a 100-ohm resistance between them (no matter where its input is). It is also possible that you wired 5v to the sweeper arm, 0v to one of the other pins, and the analog input to the last.

Also, once you've verified that it's wired right, check it with the voltmeter. Maybe it's a software issue (i.e. reading from the input next to where it's connected).

I hope this helps.
  #3   Spotlight this post!  
Unread 09-02-2011, 22:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Potentiometer voltage range?

After you find and fix your wiring problem, it also sounds like you should be using a 3-turn pot to get better resolution.

Better resolution means more accurate positioning of your arm.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 10-02-2011, 00:25
billbo911's Avatar
billbo911 billbo911 is online now
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: Potentiometer voltage range?

Quote:
Originally Posted by Mark McLeod View Post
After you find and fix your wiring problem, it also sounds like you should be using a 3-turn pot to get better resolution.

Better resolution means more accurate positioning of your arm.
The first thing to do is get a 5k to 10k 3 turn pot. 100ohms will likely load the analog board too much and yield poor results.

Then, for absolute best resolution of position, try to match the number of turns as closely as possible. Always make sure the pot can travel a bit more than the actual turns needed, but not by too much. Most pots don't handle being turned past their end point. Although, continuous pots don't care, but they seem to come in single turn only.
__________________
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
  #5   Spotlight this post!  
Unread 10-02-2011, 07:44
sam_who sam_who is offline
Registered User
FRC #2190
 
Join Date: Oct 2010
Location: Mississippi
Posts: 42
sam_who is an unknown quantity at this point
Re: Potentiometer voltage range?

You could power a 10-turn pot with 12 volts. That will give you 1.2 volts per turn.

CAUTION! If you choose this method, you must ensure not to go past ~4 turns or you risk burning the input (for starters). Also, you have to use the lower end of the pot (0-4.8 volts) rather than the upper (7.2-12 volts).

Finally, take the advice offered earlier and get a higher value pot.
  #6   Spotlight this post!  
Unread 10-02-2011, 08:46
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Potentiometer voltage range?

grosh,
From your description, it sounds like you either failed to wire one side of the pot to power common or the wire is broken. The voltage range with no power common connection is determined by the pot and the input impedance of the analog board. At 100 ohms, you are dissipating 1/4 watt in the pot. If it is not rated for that power, you should change values to something higher. 10k would be a better choice. What teams forget is that you can add a gear to the shaft of the pot and a gear to the device you are trying to measure. Just select the reduction that gives you about 200-240 degrees of rotation and you can use a standard one turn pot (nominally 270 degrees of rotation).
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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


All times are GMT -5. The time now is 23:36.

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