Go to Post This is definitely the best FRC parody of an FRC parody I have seen. - Jared Russell [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-05-2006, 23:20
Jeremiah Johnson's Avatar
Jeremiah Johnson Jeremiah Johnson is offline
Go VOLS!!
AKA: Budda648
no team (QC Elite)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Davenport, IA
Posts: 1,476
Jeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond repute
Send a message via AIM to Jeremiah Johnson Send a message via MSN to Jeremiah Johnson
Making a VEX pot

How would I make a potentiometer for VEX? I saw some potentiometers at Radio Shack but I don't know where to start. It'd be nice to make these in abundance and readily available to FIRSTers until VexLabs builds some.
__________________
Do The Tyler!

XBOX Live Gamertag = theVelvetLie
Reply With Quote
  #2   Spotlight this post!  
Unread 16-05-2006, 01:04
Arkorobotics's Avatar
Arkorobotics Arkorobotics is offline
Robots!
AKA: Ara Kourchians
FRC #0589 (FalkØn)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: La Crescenta, CA
Posts: 417
Arkorobotics is a splendid one to beholdArkorobotics is a splendid one to beholdArkorobotics is a splendid one to beholdArkorobotics is a splendid one to beholdArkorobotics is a splendid one to beholdArkorobotics is a splendid one to beholdArkorobotics is a splendid one to behold
Send a message via AIM to Arkorobotics
Re: Making a VEX pot

Well you can always start at http://www.potentiometer.com/ for homemade potentiometers. I think they have PWM out. Tell me how this turns out.
__________________
2007 Rockwell Automation Innovation in Control Award winners (Southern California Regional)
Crescenta Valley High School Team 589
http://www.arkorobotics.com My Blag


3.141592653589793238462643383275902884197 <- Current memorization of Pi
Callsign: N6ARA
Reply With Quote
  #3   Spotlight this post!  
Unread 16-05-2006, 10:29
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,347
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: Making a VEX pot

Quote:
Originally Posted by Budda648
How would I make a potentiometer for VEX? I saw some potentiometers at Radio Shack but I don't know where to start. It'd be nice to make these in abundance and readily available to FIRSTers until VexLabs builds some.
I asked this same question.
Sanddrag made a great suggestion and the result is in that post as well. I did make a few refinements after the post was made that really helped stabilize the system performance. It is called a Tie-wrap . I placed a small tie-wrap around the heat shrink on both the square shaft and the pot shaft. It drastically reduced the slipping.
A couple hints: 1) Get pots with very little rotational resistance. 2) Place the two shaft ends as close together as possible.
I also found "Spider" couplers from Jameco. The problem with them is that they introduce play. Not a good idea when trying to position something.
__________________
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
Reply With Quote
  #4   Spotlight this post!  
Unread 16-05-2006, 17:27
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Making a VEX pot

Surely it's because I'm a bit daft, but what exactly is the question? Is it how to interface a potentiometer shaft to a vex shaft? Or how to connect a pot to the Vex controller? How to assemble a ready-made pot for Vex folks to use? Or something completely different?

I'm not trying to be sarcastic or anything - I'm just puzzled as to what problem you're trying to solve

Don
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #5   Spotlight this post!  
Unread 17-05-2006, 01:09
Jeremiah Johnson's Avatar
Jeremiah Johnson Jeremiah Johnson is offline
Go VOLS!!
AKA: Budda648
no team (QC Elite)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Davenport, IA
Posts: 1,476
Jeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond repute
Send a message via AIM to Jeremiah Johnson Send a message via MSN to Jeremiah Johnson
Re: Making a VEX pot

Quote:
Originally Posted by Don Rotolo
Surely it's because I'm a bit daft, but what exactly is the question? Is it how to interface a potentiometer shaft to a vex shaft? Or how to connect a pot to the Vex controller? How to assemble a ready-made pot for Vex folks to use? Or something completely different?

I'm not trying to be sarcastic or anything - I'm just puzzled as to what problem you're trying to solve

Don
Yeah... due to my lack of knowledge of many things like electrical parts and sensors I don't know the exact questions I want to ask. I think all of those apply.
__________________
Do The Tyler!

XBOX Live Gamertag = theVelvetLie
Reply With Quote
  #6   Spotlight this post!  
Unread 17-05-2006, 19:21
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Intro to Potentiometers

Quote:
Originally Posted by Budda648
Yeah... due to my lack of knowledge of many things like electrical parts and sensors I don't know the exact questions I want to ask. I think all of those apply.
OK, then. Lesson Time.

A potentiometer is merely a variable resistor. Most pots (as they are called) are rotational (the kind you turn, like a volume control), but there are other types, such as linear (which move in a straight line), pressure-sensitive, bend-sensitive, and more. We'll talk about rotational here, but this applies to other types as well; the differences are mechanical and not electrical.

Pots vary their resistance according to the angle you turn its shaft. The resistance versus the angle can have either a Linear or Audio taper. Linear has a constant relationship to the angle: each ten degrees of turn equals xxx ohms. Audio has a (essentially) logarithmic relationship: for the first ten degrees it varies xxx ohms, the next about twice that, and so on.

When you want to measure movement on a robot, you use a Linear pot.

Most pots will have about 330 degrees of mechanical rotation, almost a full turn, with about 270 degrees of electrical rotation, where the electrical (resistance) values actually change, about 3/4 of a turn. Some pots have full 360 degree rotation, some 90 degree rotation (the joysticks use these, for example), and there are many variations available. You select what you need based on mechanical requirements.

Pots come in different resistance values. The value is the maximum resistance that the pot can have when the shaft is turned to a maximum. Of course, when you turn it to a minimum, the resistance is at or near zero. For a Vex controller, you want to use a pot with a value of about 2000 or 2500 Ohms, but values up to about 10,000 (10k) Ohms can be used.

Too low a value allows too much electrical current to flow through the pot, exceeding the capability of the Vex controller to supply current. Too high a value does not allow enough current to flow, allowing electrical noise to dominate the desired signal.

Pots are also rated by how many Watts they can safely dissipate: This shouldn't be a concern in this case, but anything less than 2 watts is fine. No harm with larger values, but these tend to be expensive and large. I use 1/2 watt pots that cost about a dollar.

Pots have three terminals: The ones at each end are connected across the resistance material inside the pot, and the terminal in the middle is connected to the 'wiper', the little brush-like thing that moves across the resistance material as you turn the shaft. This means that the resistance varies between one of the end terminals and the center terminal (from near zero to the maximum) as you turn the shaft.

So, if you connect the left-most terminal and the center terminal to an ohm meter, the resistance will increase as you turn the shaft clockwise. If you connect the right-most terminal and the center terminal, the resistance will decrease as you turn the shaft clockwise.

To connect a potentiometer to a Vex controller, you need three wires: one on each terminal. To measure the pot's resistance at a certain position, you put a voltage across the entire resistance and then measure the voltage at an in-between point. What you do is put a voltage across the two outer terminals, and use the center terminal to measure the voltage the wiper 'sees' at that point in the rotation. This voltage varies between about 0 volts to about whatever voltage you are supplying.

From the Vex controller, the black wire is Ground (0 volts), the Red wire is +5 volts, and the white wire is the return signal. You must set up the controller "Analog/Digital" port as an Analog Input (I suggest Port 1).

Make a PWM-type cable that plugs into the Vex controller on one end, and connects to the pot on the other end. The black wire goes to one end of the pot, the red to the other end, and the white to the middle. If you find the value increases when you turn the shaft in a certain direction and you want it to decrease instead, just swap the red and black wires on the pot.

The terminals on the Vex controller can't be changed around, so make sure you use a Vex sensor (like a bump switch) to see which side gets the black wire and which gets the white. The red is always in the middle.

As you get the analog input value in your program, you will see it vary between about 0 and about 1024. This can be used to do something in your program.

That's the electrical part of the info. To interface a typical pot's 1/4" round shaft to a Vex 1/8" square shaft, you can:
  • Make a square hole to round hole adapter of some type
  • Cut a 1/8 slot in the shaft, put in the axle, and tape/glue/heat-shrink it in place
  • Glue them so they rotate together (but might not be durable)
  • File the end of the pot shaft to a 1/8" square shaft
  • Or anything else you might think of
Good luck, and ask more questions now that you have some basic info.

Don
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
Reply


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
Making the VEX OI (controller) beep? ForgottenSalad FIRST Tech Challenge 2 27-03-2006 08:50
Pwm and pot Zoom Programming 6 29-01-2006 18:47
100k Slide Pot archiver 2001 4 24-06-2002 02:53
Pot Gyro archiver 2001 2 24-06-2002 00:47
pot help chrisw Technical Discussion 1 25-01-2002 21:10


All times are GMT -5. The time now is 16: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