Go to Post gears won't care if theyre running underwater... the electronics will ;) - Cory [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 11-11-2008, 15:20
brVex brVex is offline
Registered User
no team
 
Join Date: Nov 2008
Location: Brazil
Posts: 2
brVex is an unknown quantity at this point
Potentiometers in Analog Inputs

The Innovation First RC Reference Guide tells how connect a potentiometer to an Analog Input. He suggests the use of 250Ω – 100KΩ potentiometers.

I have a lot of 22R potentiometers and I would like to know if you can use them?

if not, why?

thaks

Gustavo
brVex
  #2   Spotlight this post!  
Unread 11-11-2008, 16:00
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: Potentiometers in Analog Inputs

Quote:
Originally Posted by brVex View Post
The Innovation First RC Reference Guide tells how connect a potentiometer to an Analog Input. He suggests the use of 250Ω – 100KΩ potentiometers.

I have a lot of 22R potentiometers and I would like to know if you can use them?

if not, why?
Don't use them.

Your potentiometers have a resistance of 22 ohms. That will place a relatively high load on the sensor power supply. At 5 volts, it will be drawing more than 200 milliamps and constantly dissipating more than a watt of power. It will probably "work", but it's outside the recommended range of values by an order of magnitude.
  #3   Spotlight this post!  
Unread 11-11-2008, 16:02
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Potentiometers in Analog Inputs

Gustavo -

The answer is depends on if you intend to use the IFI system or the 2009 system.

I do not know the IFI answer, so I will not attempt to fabricate one.

For 2009, the minimum resistance of the potentiometers is dictated by current draw and heat dissipation. You may draw up to 750mA for one analog sensor* (3A total), which would limit you to about 7 ohms. However, this would dissipate about 4 Watts, which is probably not what you want.

At 22 Ohms, you will dissipate roughly a watt. Make sure that your potentiometer can handle it.

The maximum resistance is dictated by the input impedance of the NI9201 Analog Input Module. If your potentiometer's resistance is too high, the small current the 9201 draws to measure the voltage will impact the reading. Since I do not know the NI answer, I will not attempt to fabricate one.

Please note that my post only represents the capabilities of the system and do not reflect the robot rules. Robot rules may place additional limitations on the system.

Last edited by EricVanWyk : 11-11-2008 at 16:24. Reason: 5(V^2) and (5V)^2 are different.
  #4   Spotlight this post!  
Unread 12-11-2008, 00:30
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,748
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Potentiometers in Analog Inputs

Quote:
Originally Posted by EricVanWyk View Post
the minimum resistance of the potentiometers is dictated by current draw and heat dissipation. You may draw up to 750mA for one analog sensor* (3A total), which would limit you to about 7 ohms. However, this would dissipate about 4 Watts, which is probably not what you want.

At 22 Ohms, you will dissipate roughly a watt. Make sure that your potentiometer can handle it.
At the risk of looking like an EE neophyte, can you explain how amperage draw, the resistance (ohms) and the energy dissipated are related? There must be a formula for that.

Thanks
  #5   Spotlight this post!  
Unread 12-11-2008, 00:38
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Potentiometers in Analog Inputs

Quote:
Originally Posted by rsisk View Post
At the risk of looking like an EE neophyte, can you explain how amperage draw, the resistance (ohms) and the energy dissipated are related? There must be a formula for that.

Thanks
Sure, I used these to remember:
V = C R (even if it blinks 12:00 forever)
P = V C
V(olts) C(urrent) R(esistance) P(ower)

To do your calculation, I took:
Power = Voltage^2 / resistance


To double check, you can use the google calculator - It does units! Just google "(5V)^2/22 ohms"
  #6   Spotlight this post!  
Unread 12-11-2008, 01:27
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Potentiometers in Analog Inputs

Quote:
Originally Posted by EricVanWyk View Post
C(urrent)
While you may have done this to simplify things for non EEs, I find your choice of symbols for current very unique. Most, if not all, EEs use the symbol "I" for current. I thought you were talking about capacitance there for a moment.
  #7   Spotlight this post!  
Unread 12-11-2008, 01:43
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,355
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: Potentiometers in Analog Inputs

Quote:
Originally Posted by EricVanWyk View Post
Sure, I used these to remember:
V = C R (even if it blinks 12:00 forever)
P = V C
V(olts) C(urrent) R(esistance) P(ower)

To do your calculation, I took:
Power = Voltage^2 / resistance
Quote:
Originally Posted by AustinSchuh View Post
While you may have done this to simplify things for non EEs, I find your choice of symbols for current very unique. Most, if not all, EEs use the symbol "I" for current. I thought you were talking about capacitance there for a moment.
Wait, there's more!!

Being a EE, I too found the symbols a little odd, but I understand their usage for the purpose of remembering easily.

In fact, the way I remember is:

P=IE ====> Power=Current *Voltage
That's right, "I" is for current AND "E" is for Voltage.

In actuality, "E" is for "Electro Motive Force".
Honestly, I don't quite remember exactly why "I" is used for current. Maybe one of our other EE's can fill us in?



(Forgetting is what happens when you don't use what you know. Or, maybe it is what happens when you get old. Darn, I forget )
__________________
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
  #8   Spotlight this post!  
Unread 12-11-2008, 07:13
brVex brVex is offline
Registered User
no team
 
Join Date: Nov 2008
Location: Brazil
Posts: 2
brVex is an unknown quantity at this point
Re: Potentiometers in Analog Inputs

So, if the potentiometer is of 5W I do not have problems?

What about the analog input value range?

Sorry for my english!

Gustavo
  #9   Spotlight this post!  
Unread 12-11-2008, 07:13
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Potentiometers in Analog Inputs

And to break it down into words:

Voltage (in volts) = Current (in amps) * Resistance (in ohms)
Power (in watts) = Voltage (in volts) * Current (in amps)

This is for a DC system. AC is similar, but you need to be careful what voltage you use.
  #10   Spotlight this post!  
Unread 12-11-2008, 08:02
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Potentiometers in Analog Inputs

Quote:
Originally Posted by AustinSchuh View Post
While you may have done this to simplify things for non EEs, I find your choice of symbols for current very unique. Most, if not all, EEs use the symbol "I" for current. I thought you were talking about capacitance there for a moment.
I used C(urrent) instead of I(mperage?) to make it easier for non EEs. I find VCR and PVC easy to remember.

But yes, I use "I" in real life.
  #11   Spotlight this post!  
Unread 12-11-2008, 08:57
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Potentiometers in Analog Inputs

Gustavo,
To answer your question about whether the 5W potentiometer is okay -

Yes it's okay to use but I would recommend that you find something like a 220Ohm or higher potentiometer with 1/4W power rating. It's generally wasteful to use > 1W for a sensor and it will probably get warm. But it will work.

There is an upside to using a 22 Ohm 5W pot, though - it's probably a very durable part and unlikely to be damaged during competition. There's something to be said for ruggedness.

current needed = 5V over a 22 Ohm resistor = 5/22 Amps = 0.23 Amps (which is less than the 0.75 Amp rating for each pin of the Analog Breakout module)

power dissipated by the 22 Ohm resistor = 5V * 0.23 Amps = 1.14W (which is less than the 5W rating for the part)

The 2009 Analog Breakout module can supply enough power and the NI 9201 Analog Input module will provide 10 bits of resolution between 0 and 5V (ie the full range of the potentiometer).

Be very careful to connect the wiper of the pot to the analog input. If you connect 5V power to the wiper, you'll have a variable current draw from the power supply which will short circuit the supply at one end of the potentiometer's range.

Russ
  #12   Spotlight this post!  
Unread 12-11-2008, 11:36
Dick Linn's Avatar
Dick Linn Dick Linn is offline
Registered User
no team (Synergy)
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Midlothian, VA
Posts: 679
Dick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond reputeDick Linn has a reputation beyond repute
Send a message via AIM to Dick Linn
Re: Potentiometers in Analog Inputs

You can find variations of this chart (Google image search ohm's law).
Attached Thumbnails
Click image for larger version

Name:	OhmsLaw.jpg
Views:	61
Size:	52.9 KB
ID:	6949  Click image for larger version

Name:	009_Ohms_Law_Pie_Cht.png
Views:	56
Size:	4.9 KB
ID:	6950  
__________________
Richard Linn

Proud father of Marine LCpl. Karl R. Linn
Co-founder Team 975
KIA, Iraq 1/26/2005
  #13   Spotlight this post!  
Unread 12-11-2008, 23:22
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,748
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Potentiometers in Analog Inputs

Thanks for the basic EE training...

Sorry about hijacking your thread Gustavo
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
Help! Analog Inputs!! brennerator Programming 7 11-02-2007 15:48
Analog Inputs bush Programming 5 13-03-2006 17:49
Analog Inputs prob. Bharat Nain Programming 2 07-02-2004 20:48
Failing analog inputs? Phasmatis568 Control System 5 22-01-2004 13:28
Analog Inputs 316_programer Technical Discussion 2 05-02-2002 05:53


All times are GMT -5. The time now is 18:57.

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