Go to Post It never stops. Championships will be in your head forever!!! MWHAHAHAHA!!! - vadyr [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 14-05-2004, 20:54
Guest
 
Posts: n/a
Re: Making a Sensor Board

Quote:
Originally Posted by HHSJosh
What exactly are potentiometers used for in robotics? I've heard of teams using them but I don't really know what for.
A potentiometer controls the amount of resistance of a circuit. The higher the resistance setting, the lower the analog reading of that input (or maybe otherway around). Teams use this to figure out the angle that the potentiometer is turned to. For example if a rotatable device is connected to the potentiometer, as the device rotates the resistance and the input value would change.
  #2   Spotlight this post!  
Unread 14-05-2004, 20:58
Joshua May's Avatar
Joshua May Joshua May is offline
Go Bears!
FRC #1110 (Binary Bulldogs)
Team Role: College Student
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Berkeley, CA
Posts: 1,306
Joshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond repute
Send a message via AIM to Joshua May
Re: Making a Sensor Board

Quote:
Originally Posted by SilverStar
A potentiometer controls the amount of resistance of a circuit. The higher the resistance setting, the lower the analog reading of that input (or maybe otherway around). Teams use this to figure out the angle that the potentiometer is turned to. For example if a rotatable device is connected to the potentiometer, as the device rotates the resistance and the input value would change.
Ok, it all makes sense now, thank you.
__________________
The FIRST Wiki - openFIRST - Ultimate Robot Challenge - URC Wiki
I currently have 50 GMail invites, PM or email me for one.
UC Berkeley Class of 2009

2005 Las Vegas Regional Autodesk Visualization Award
2005 Las Vegas Regional #8 Seeded Alliance with 988 and 1505
2006 Southern California Regional #15 seed
  #3   Spotlight this post!  
Unread 14-05-2004, 23:59
Specialagentjim's Avatar
Specialagentjim Specialagentjim is offline
"I am a Meat Popsicle"
AKA: Jim Martz
None #0108 (SigmaC@T)
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2000
Location: Ft. Lauderdale / Parkland
Posts: 645
Specialagentjim is a splendid one to beholdSpecialagentjim is a splendid one to beholdSpecialagentjim is a splendid one to beholdSpecialagentjim is a splendid one to beholdSpecialagentjim is a splendid one to beholdSpecialagentjim is a splendid one to beholdSpecialagentjim is a splendid one to behold
Send a message via AIM to Specialagentjim
Re: Making a Sensor Board

Quote:
Originally Posted by SilverStar
A potentiometer controls the amount of resistance of a circuit. The higher the resistance setting, the lower the analog reading of that input (or maybe otherway around). Teams use this to figure out the angle that the potentiometer is turned to. For example if a rotatable device is connected to the potentiometer, as the device rotates the resistance and the input value would change.
Quick example: Volume knob on a radio is a pot
__________________


Curie Division 2005 Champions (175, 33, 108)
UCF 2005 Website Award
Midwest 2005 Delphi's Driving Tomorrow's Technology

2004 UCF QuarterFinalists (1065, 86, 108)

UCF 2003 Regional Champs/Entrepreneurship Award
Midwest Regional 2003 Leadership In Controls/Website award
Nationals 2003 Quarter Finalists
Robot Rodeo 2003 Champions (Alliance: 180 and 186)



AIM S/N: Specialagentjim
  #4   Spotlight this post!  
Unread 15-05-2004, 00:53
Joshua May's Avatar
Joshua May Joshua May is offline
Go Bears!
FRC #1110 (Binary Bulldogs)
Team Role: College Student
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Berkeley, CA
Posts: 1,306
Joshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond repute
Send a message via AIM to Joshua May
Re: Making a Sensor Board

Quote:
Originally Posted by Specialagentjim
Quick example: Volume knob on a radio is a pot
Yeah, I knew what a potentiometer is, I just didn't know what applications it had for a robot. Thanks for the info though.
__________________
The FIRST Wiki - openFIRST - Ultimate Robot Challenge - URC Wiki
I currently have 50 GMail invites, PM or email me for one.
UC Berkeley Class of 2009

2005 Las Vegas Regional Autodesk Visualization Award
2005 Las Vegas Regional #8 Seeded Alliance with 988 and 1505
2006 Southern California Regional #15 seed
  #5   Spotlight this post!  
Unread 15-05-2004, 02:34
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Re: Making a Sensor Board

any other sensors? and i do mean ALL the sensors that i could find in my local kit of parts, we have sensor from back in 2001 till 2004 so i guess we have alot to work with. can anyone help? or a place i could get help thats not the spec sheets of first
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
  #6   Spotlight this post!  
Unread 15-05-2004, 11:19
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Making a Sensor Board

I'm a programmer, so pardon me.

We used pots for finding the position of various parts. They're also used in joysticks and the like.

Encoders are used to find if something has passed it. Most of us use the banners. What we did was put reflectors on a black axle adaptor and used 2 banners to see if it was high or low. see the white paper on quadrature encoders.

Gyros can measure meassure angle of your robot (or something on it) if you use code. You need an accumulator to add the value at a regular interval.

There are the touch sensors, but I hope those are obvious. (Digital)

There are actually 2 pressure sensors. The one you MUST use is digital. The one you can use is analog. The former is turn compressor on/off. the latter is actual pressure.

the voltage sensor is important if a motor has a high stall and/or if it can break your robot. Analog. if it crosses a certain threshold (High or low), kill the motor.

The banners are also used for line following (on or off line).

Anything else I missed?
  #7   Spotlight this post!  
Unread 15-05-2004, 11:43
Joshua May's Avatar
Joshua May Joshua May is offline
Go Bears!
FRC #1110 (Binary Bulldogs)
Team Role: College Student
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Berkeley, CA
Posts: 1,306
Joshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond repute
Send a message via AIM to Joshua May
Re: Making a Sensor Board

Quote:
Originally Posted by Astronouth7303
Anything else I missed?
Just the newer one, Infrared. The IR sensors search for an Infrared beacon and travel towards it. I don't know how these work, however, because my team did not use them this year.
__________________
The FIRST Wiki - openFIRST - Ultimate Robot Challenge - URC Wiki
I currently have 50 GMail invites, PM or email me for one.
UC Berkeley Class of 2009

2005 Las Vegas Regional Autodesk Visualization Award
2005 Las Vegas Regional #8 Seeded Alliance with 988 and 1505
2006 Southern California Regional #15 seed
  #8   Spotlight this post!  
Unread 15-05-2004, 12:02
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Making a Sensor Board

Quote:
Originally Posted by SilverStar
For example if a rotatable device is connected to the potentiometer, as the device rotates the resistance and the input value would change.
What is important to remember is that the Operator Interface and Robot controller don't read resistance, they read voltage. So when connecting a potentiometer you are really reading the voltage drop between the the wiper and the terminals A or B.

Ascii Art time:
Code:
|~~~~~~~~|~~~~~~~~~~|
A        W          B
You would connect positive to A and Ground to B. The input to the controller would be the Wiper (W).

You can turn the pot's wiper, sometimes called the slider and vary the resistance between point A and W. To calculate the voltage drop you use Kirchoff's Voltage Law.

R1 = Resistance between A and W in Ohms
R2 = Resistance between W and B in Ohms
V = 5V, which is supplied by the OI or RC
X = voltage drop across A and W

X = V * (R1/(R1+R2))

Example:
You are using a 100K potentiometer and it is turned about 3/4 of a turn. Let's assume it is a single turn 360 degree pot. You whip out your multimeter and read 75K across A and W and 25K across
W and B. Using Kirchoff's Voltage law the equation would be (X=5*(75K/(25K+75K))) which would equal 3.75 volts.

What does this mean to the programmers?
That voltage is sent through an ADC or Analog to Digital converter. The ADC has a resolutiuon of 10 bits (2^10 = 1024). That 5 volt signal is represented as a number from 0 to 1024. So what would our 3.75V potentiometer read like in your program?

V = input voltage
x = digital value in base 10

x = (V * 1024)/5

So for our 3.75V example: (x = (3.75 * 1024)/5), which equals 614. Your program would read 614 as the input if your 100K potentiometer was at 3/4 of a turn.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #9   Spotlight this post!  
Unread 15-05-2004, 12:46
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Making a Sensor Board

Not bad. I just have it print the values to calibrate. And assume that it does it linear, etc. You know, 0 is all the way Clockwise, 0x400 is all the way counterclockwise. (or whatever), and 0x200 is halfway.
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
Making your robot drive easier ufa_mike Control System 32 28-04-2004 21:35
Making .Hex files dddriveman Programming 4 11-03-2004 13:47
Wiring Diagram for making a Joystick Nick Fury Control System 0 10-02-2004 23:10
Rules on making spare parts fyi DougHogg General Forum 0 02-04-2003 16:18
Making a Dongle - Pin 1 help DanL Electrical 6 05-03-2003 16:58


All times are GMT -5. The time now is 02:31.

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