Go to Post With computers, every once in a while you see something that makes you think "I could have done this, why didn't I think of it? It would have made my life so much easier." Now is one of those times. - Nadav Zingerman [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 05-02-2007, 11:23
Chaychay Chaychay is offline
Registered User
AKA: Jay Shah
FRC #0610 (Crescent Robotics)
Team Role: College Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Toronto, Ontario
Posts: 48
Chaychay is on a distinguished road
Send a message via MSN to Chaychay
Re: Limited OI Range From Linear Slide Potentiometers

Mr. Pierce, we tried disconnecting the ground as well, and got the exact same range of data from the OI. (0-255, but from 80% motion of pot)

Mr. Anderson, what is the "low end" of the pot?, what is the "wiper"?, sorry about my lack of terminology. Why a 22K resistor, why not say, a 50K?

Thanks for your help!
  #2   Spotlight this post!  
Unread 05-02-2007, 11:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Limited OI Range From Linear Slide Potentiometers

When I said "low end", I meant the end of the pot that you had connected to ground (as opposed to the "high end" which you had connected to +5).

The "wiper" is the traveling contact inside the pot that sees a different resistance to the ends of the pot based on its position. I think you called its pin the "signal".

I suggested 22k ohms because that way your total resistance will change between about 22k and 72k, with center being approximately 50k. The standard 100k joystick pot also has the center being approximately 50k. You will seea limited range of values being read by the OI, from about 60-190 instead of 0-254, but you should get usable values from the full range of travel on the slider.
  #3   Spotlight this post!  
Unread 05-02-2007, 11:52
Chaychay Chaychay is offline
Registered User
AKA: Jay Shah
FRC #0610 (Crescent Robotics)
Team Role: College Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Toronto, Ontario
Posts: 48
Chaychay is on a distinguished road
Send a message via MSN to Chaychay
Re: Limited OI Range From Linear Slide Potentiometers

Mr. Anderson, Thanks very much for the explanation, it makes things a lot clearer . We will definitely try this out tonight.
  #4   Spotlight this post!  
Unread 05-02-2007, 12:17
Dave K.'s Avatar
Dave K. Dave K. is offline
Engineer/Mentor
FRC #0930
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: WI
Posts: 91
Dave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to behold
Re: Limited OI Range From Linear Slide Potentiometers

Quote:
Originally Posted by Alan Anderson View Post
When I said "low end", I meant the end of the pot that you had connected to ground (as opposed to the "high end" which you had connected to +5).

The "wiper" is the traveling contact inside the pot that sees a different resistance to the ends of the pot based on its position. I think you called its pin the "signal".

I suggested 22k ohms because that way your total resistance will change between about 22k and 72k, with center being approximately 50k. The standard 100k joystick pot also has the center being approximately 50k. You will seea limited range of values being read by the OI, from about 60-190 instead of 0-254, but you should get usable values from the full range of travel on the slider.
Alan,

Of course this will approximately center the pot's range in the reported A/D value range, it does so at the expense of cutting the resolution in half.

I'm not certain that this was clear in your origional post.

I do agree that it is an entirely practical and workable solution, but if one is concerned with being able to generate a full range of values, then one end of the pot needs to be lifted with a series resistor to accomplish that goal.

Thanks,
__________________
--Dave
  #5   Spotlight this post!  
Unread 06-02-2007, 09:37
Chaychay Chaychay is offline
Registered User
AKA: Jay Shah
FRC #0610 (Crescent Robotics)
Team Role: College Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Toronto, Ontario
Posts: 48
Chaychay is on a distinguished road
Send a message via MSN to Chaychay
Cool Re: Limited OI Range From Linear Slide Potentiometers

Dave,

Thank you very much for your insight! We added a ~1.5K resistor to our 10K pots, and they work a lot better now. (full range of motion w/ full range of values).

We discovered yesterday that our slider was actually not linear, it was logarithmic. (WARING: If your buying from a "surplus" store, make sure you are buying a linear one (you can check with a multimeter)).

We found another one @ mouser, so that should be ok.

Thanks for all the help from everyone!
  #6   Spotlight this post!  
Unread 05-02-2007, 11:54
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Limited OI Range From Linear Slide Potentiometers

Quote:
Originally Posted by Chaychay View Post
Mr. Pierce, we tried disconnecting the ground as well, and got the exact same range of data from the OI. (0-255, but from 80% motion of pot)

Mr. Anderson, what is the "low end" of the pot?, what is the "wiper"?, sorry about my lack of terminology. Why a 22K resistor, why not say, a 50K?

Thanks for your help!
Jay,

Read paragraph 3 of page 5 of this document to understand what is happening.

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #7   Spotlight this post!  
Unread 05-02-2007, 12:07
Dave K.'s Avatar
Dave K. Dave K. is offline
Engineer/Mentor
FRC #0930
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: WI
Posts: 91
Dave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to behold
Re: Limited OI Range From Linear Slide Potentiometers

Quote:
Originally Posted by Mike Betts View Post
Jay,

Read paragraph 3 of page 5 of this document to understand what is happening.

Regards,

Mike
I'm glad to see that they've finally posted an updated version of the OI document with some additional explanation, but my measurements here indicate that the "cable off" threshold is higher than the 50mV they state. On one unit here, where the +5V Aux voltage was running about 100mV high, the end of travel was reached at 632mV and the cable disconnect voltage was right around 500mV.
__________________
--Dave
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
linear slide potentiometers Greg Needel Electrical 4 04-02-2007 15:49
Slide Show from UTC Scrimmage BobC General Forum 2 21-02-2006 18:16
pic: Slide 20 CD47-Bot Extra Discussion 4 14-03-2004 17:28
Limited Vs. Large funds? Mikeman602 General Forum 15 22-03-2002 08:15
poll: should nats be limited? mike o'leary Rumor Mill 10 26-06-2001 15:20


All times are GMT -5. The time now is 11:42.

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