Go to Post What Delphi says doesn't matter. What the official Q&A says matters. - Tetraman [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 10-02-2005, 18:30
Ben.V.293 Ben.V.293 is offline
Registered User
#0293
 
Join Date: Oct 2003
Location: hopewell, NJ
Posts: 59
Ben.V.293 will become famous soon enough
Send a message via AIM to Ben.V.293
Making a 5k joystick work

a member of our teams father has found some very nice joysticks in the dumpster where he works. they have 5k pots on them and the biggest range we can get out of them is from 1.7k-2.7k. our programers tell us that the range they will give us will be to small to be accurate. I was wondering if these could work and if so how.

Thanks
Ben Van Selous
  #2   Spotlight this post!  
Unread 10-02-2005, 23:41
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,112
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: Making a 5k joystick work

Quote:
Originally Posted by Ben.V.293
a member of our teams father has found some very nice joysticks in the dumpster where he works. they have 5k pots on them and the biggest range we can get out of them is from 1.7k-2.7k. our programers tell us that the range they will give us will be to small to be accurate. I was wondering if these could work and if so how.

Thanks
Ben Van Selous
Your programmers are correct. The IFI Operator Interface wants 100k pots, and the 5k ones will give you only a few counts at the extreme end of the range.

The joysticks can be made to work by keeping the mechanical assembly but replacing the 5k pots.
  #3   Spotlight this post!  
Unread 10-02-2005, 23:44
falconmaster's Avatar
falconmaster falconmaster is offline
Registered User
AKA: Ledge
FRC #0842 (Falcon Robotics)
Team Role: Teacher
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Phoenix, Arizona
Posts: 1,402
falconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond reputefalconmaster has a reputation beyond repute
Send a message via MSN to falconmaster
Re: Making a 5k joystick work

Quote:
Originally Posted by Alan Anderson
Your programmers are correct. The IFI Operator Interface wants 100k pots, and the 5k ones will give you only a few counts at the extreme end of the range.

The joysticks can be made to work by keeping the mechanical assembly but replacing the 5k pots.
Hey, is it legal then use other joysticks? We found some nice ones but did not know if it was legal
__________________
Faridodin "Fredi" Lajvardi KD7WKD
  #4   Spotlight this post!  
Unread 10-02-2005, 23:59
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: Making a 5k joystick work

Quote:
Originally Posted by falconmaster
Hey, is it legal then use other joysticks? We found some nice ones but did not know if it was legal
Yes you can use any joysticks that work for you. The 100k pot item is what the OI is designed for any other thing will give you limited range.
  #5   Spotlight this post!  
Unread 11-02-2005, 00:36
Josh Hambright's Avatar
Josh Hambright Josh Hambright is offline
{Error Processing Custom Title}
AKA: oneangrydwarf/jtosh
no team (old school gangsta)
Team Role: Alumni
 
Join Date: Apr 2002
Rookie Year: 2000
Location: Indiana
Posts: 1,421
Josh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond repute
Send a message via AIM to Josh Hambright
Re: Making a 5k joystick work

well one solution to the origional question of how would be to change the 5k pot out for a 100k pot.
you can get the 100k pots at radioshack.

good luck
__________________
Former 461 Student/Mentor. Former 1272 and 1018 Mentor. Team 1555 Super-Fan.
Science and Engineering Can Open New Doors. --S.E.C.O.N.D.--
=~=!=@= #=$=%=
Co-Founder IndianaFIRST

Share your FIRST photos on Flickr!
  #6   Spotlight this post!  
Unread 11-02-2005, 01:57
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Making a 5k joystick work

Quote:
Originally Posted by Alan Anderson
Your programmers are correct. The IFI Operator Interface wants 100k pots, and the 5k ones will give you only a few counts at the extreme end of the range.
Quote:
Originally Posted by Biff
The 100k pot item is what the OI is designed for any other thing will give you limited range.
Wait, are you sure about that? As I understand the OI and the analog inputs on the RC, they measure the voltage on signal pins with respect to +5 and ground. The wiper on the pot still goes from one side of the resistive material to the other, and thus runs from 0 to +5 in 270º of rotation, regardless of the actual resistance. The only difference that I can think of is that the 5k pots would draw 20x the current of the 100k pots, and that's why IFI suggests 100k. Judging by Alan's reputation, he knows what he's talking about, so I'm hesitant to disagree, lest I look like a fool. Have I completely lost my mind?

(If my understanding is indeed correct, then my theory is that the joystick is not moving the pot through its full range of motion, hence the limited range of readings. Changing the pot wouldn't help, unless you found one with a smaller range of motion. Of course, if I'm wrong, this is all moot anyway.)
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_

Last edited by jgannon : 11-02-2005 at 02:00.
  #7   Spotlight this post!  
Unread 11-02-2005, 03:24
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Making a 5k joystick work

Quote:
Originally Posted by jgannon
Wait, are you sure about that? As I understand the OI and the analog inputs on the RC, they measure the voltage on signal pins with respect to +5 and ground. The wiper on the pot still goes from one side of the resistive material to the other, and thus runs from 0 to +5 in 270º of rotation, regardless of the actual resistance. The only difference that I can think of is that the 5k pots would draw 20x the current of the 100k pots, and that's why IFI suggests 100k.
Alan and Biff are incorrect.

There is another reason why 5k pots won't work, though. There is circuitry in the OI to detect when the joysticks are unplugged. This circuitry depends on 100k pots. It is necessary so that when you unplug the joysticks, the robot doesn't fly backwards.
  #8   Spotlight this post!  
Unread 11-02-2005, 03:58
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Making a 5k joystick work

Quote:
Originally Posted by Joe Ross
There is another reason why 5k pots won't work, though. There is circuitry in the OI to detect when the joysticks are unplugged. This circuitry depends on 100k pots. It is necessary so that when you unplug the joysticks, the robot doesn't fly backwards.
Once again, are you sure? This is merely speculation, but I would think that the circuitry would detect when the current flow through a particular potentiometer is below .05mA (5V / 100kohm), so it would know when the joystick is unplugged. A 5k pot would draw more current, and I can't imagine that the circuitry is designed to send a signal of 127 to the RC when there is most definitely something plugged into the port. I wouldn't be surprised if a 250k pot didn't work, but a 5k? I disbelieve.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #9   Spotlight this post!  
Unread 11-02-2005, 08:32
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,112
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: Making a 5k joystick work

Quote:
Originally Posted by jgannon
As I understand the OI and the analog inputs on the RC, they measure the voltage on signal pins with respect to +5 and ground...
That is true of the RC analog inputs. However, it is not how the joystick inputs on the OI work.

The OI measures the resistance between +5 and the joystick input pin, using an internal resistor to ground to complete the voltage divider. It is designed specifically for a 100k variable resistor. There is no ground connection to the other end of the joystick pot.

The "disconnected" detector merely notices that the sensed voltage is at ground. A 5k pot will result in that voltage being very near 5 volts, so it won't trigger that problem.
  #10   Spotlight this post!  
Unread 11-02-2005, 09:11
ttedrow's Avatar
ttedrow ttedrow is offline
Herding electrons
AKA: Tim Tedrow
FRC #0281 (EnTech)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Greenville, SC
Posts: 165
ttedrow will become famous soon enoughttedrow will become famous soon enough
Re: Making a 5k joystick work

One more thing to consider, maybe those joystick were in the trash for a good reason.
__________________
Sr. Design Engineer
Caterpillar Inc.
Greenville, SC

KD4EGM

FRC 281 Greenvillains
Infected with the FIRST virus in 2000

Yes, Chute Door!!!
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
Designs that would never work... Cyberguy34000 Technical Discussion 60 09-01-2007 20:56
Help with Joystick Axes and Sensitivity bglass Programming 6 06-02-2005 14:01
need help w/ joystick code willie837 Programming 6 02-02-2005 23:17
How to Make MS joystick work/has anyone used it in past? andhesayz Control System 25 17-01-2005 10:34
What do you think about how easy theyre making programming? Leav Programming 76 11-01-2005 12:07


All times are GMT -5. The time now is 03:59.

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