Go to Post You can never go wrong by gaining height by way of a Segway. - Elgin Clock [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 Rating: Thread Rating: 2 votes, 4.00 average. Display Modes
  #1   Spotlight this post!  
Unread 24-01-2002, 19:38
Azash Azash is offline
Registered User
#0783
 
Join Date: Jan 2002
Location: Scarborough Ontario
Posts: 7
Azash is an unknown quantity at this point
Question Variable Resistor Problem

I am having a problem with the analog inputs.

I have a normal 100k Variable resistor +5V and Ground are on pins 3&4, and the middle wire off the variable resistor onto pin 2.
The variable resistor works fine, I have tested it with a meter on a seperate +5V and ground. When it is plugged into the RC analog in, the variable resistor stops working. The Voltage that comes off the center connection is always 5V. Nothing changes when you dial it up or down. Everything is hooked up according to the diagram, I have double checked it and had other people check it. When I connected the +5v and ground to an independant source, and just the center wire to the input pin 2, it does the same thing. I am not trying to pull it up into the dashboard viewer or anything, just been checking the voltage with a meter.

Any help would be appreciated.

<qotrtp>
Smile, smile!
--Gascogne, Chief Armaments Officer, MPS Nirvana
</qotrtp>
  #2   Spotlight this post!  
Unread 24-01-2002, 21:53
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
You put 5+ and ground from the Analog Sensor port to the ends of the 100Kohm pot and then put the wiper to one of the sensor inputs and you get no reading from the Pbasic or from a voltmeter?

If it is true, you either have a bad pot or you have a bad RC.

Joe J.
  #3   Spotlight this post!  
Unread 24-01-2002, 23:34
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
OK,
As I read your post you are referring to pins 2,3,4. Does this imply you have four pins? Is this not the pot supplied in the kit? If this is the kit pot then connecting 5 volts to one outside pin and ground to the other outside pin will yield a variable voltage on the middle pin. Ground does not mean the frame of the robot but the common of the battery. Without a return path to the battery negative terminal, the wiper of the pot will be at +5 volts (or very near 5 volts) for any postion of the shaft. This is "open circuit" voltage. When no current flows through a resistance, ther can be no voltage drop. Ohm's Law V=I*R
Al
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 25-01-2002, 07:28
Azash Azash is offline
Registered User
#0783
 
Join Date: Jan 2002
Location: Scarborough Ontario
Posts: 7
Azash is an unknown quantity at this point
The pin references were to the pins on the RC analog in. The Pot isnt bad because I tested it out not hooked into the RC. I really hope we didnt get a bad RC. I had it hooked up to an independant power supply (5V connection we have in the electronics lab), with just the wiper going to the analog in, and it still does the same thing. When I unplug the analog pin it works fine.
  #5   Spotlight this post!  
Unread 25-01-2002, 08:30
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Common Ground?

Did you make sure your power supply and the RC had a common ground?

No sense putting a voltage into the sensor pin if it is not with respect to the same ground voltage.

Finally, how sure are you that you have the pinout of the Dsub connector right? It is VERY common for folks to flip left and right on those 25 pin connectors. For myself, I don't buy any connector for these types of connectors that don't have the pin number molded into the connector. There are just too many ways to flip the pins around if you are not careful.

Check it out.

Joe J.

P.S. One more thing, check your manual to see that pins 2,3,4 are the right pins. JJ
  #6   Spotlight this post!  
Unread 25-01-2002, 08:45
Azash Azash is offline
Registered User
#0783
 
Join Date: Jan 2002
Location: Scarborough Ontario
Posts: 7
Azash is an unknown quantity at this point
Yep, pinouts are correct. We are using the one that shipped with the kit, and it does have the pin numbers molded into it. At least ours did. And it is on a common ground with the board.

I checked with the +5V and the ground plugged into pins 3 & 4, and the wiper into 2, which are correct, unless they misprinted the manual.

I also checked with pins 5, 6, & 7 with the same results.
  #7   Spotlight this post!  
Unread 25-01-2002, 14:11
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
Azash, I emailed some of the other people on your team, with some steps you might take.

Innovation First might be the folks to talk to. They are really great to work with.
  #8   Spotlight this post!  
Unread 26-01-2002, 10:21
Justin Stiltner's Avatar
Justin Stiltner Justin Stiltner is offline
The big guy
no team
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Blacksburg, Va.
Posts: 305
Justin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud of
Send a message via ICQ to Justin Stiltner Send a message via AIM to Justin Stiltner Send a message via MSN to Justin Stiltner Send a message via Yahoo to Justin Stiltner
I think the problem is that you are using 3 wires,
because the total restance between the wiper and the 2 outside connections stays the same you have the same amount of ground all the time,

cut one of the wires loose that are supplying ground and see what happens,

really all you were doing with 3 wires is changing which pin the +5v was grounded to.

But if the manual says to use 3 pins then dont use my suggestion, I havent used analog muchk so I could be wrong.
__________________
Justin Stiltner
Lead Robot Inspector, VCU Regional
Unmanned Systems Lab, Virginia Tech
KI4URQ
  #9   Spotlight this post!  
Unread 26-01-2002, 18:07
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
Azash and the team found their problem, and it is fixed, now. Good Work, Guys !
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
variable? manodrum Programming 11 01-04-2003 17:20
Coupling the Chiaphua & a variable Drill output Jeff Sharpe Motors 9 13-01-2003 20:21
Variable Amperage in DC Circuit. How? Jordan A. Electrical 4 01-11-2002 20:26
Dashboard programs and the char variable Ian W. Programming 13 26-06-2002 02:07
what teams have a variable transmissions? Greg Perkins Technical Discussion 4 06-03-2002 06:10


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

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