Go to Post Are you saying you want to submerge your circuit board in an open container of liquid nitrogen? - Ether [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 06-03-2011, 17:32
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Cypress Board Analog Input Help Needed

I saw the same behavior with last year's and this year's firmware. Do you have any signals running to the other inputs, or just the one pot? I ended up pulling the rest up manually last year because we were using some of the analog input lines for push button switches (ran out of IO) and the joystick moving to one side would pull the rest down a bit and trigger the switch. This year I just left them because we aren't using any other analog inputs either than 2 pots for our joysticks.

Is it common for a floating ADC input to swing with the other ports? It seems like this is caused by some high impedance connection between the input pins.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-03-2011, 17:59
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Cypress Board Analog Input Help Needed

I have about 9 or 10 digital inputs, but nothing else analog, so those pins are unconnected. We are using the stock joysticks and they are connected via USB hub to one of the USB inputs on the classmate.

One thing I forgot to verify is if the other analog lines are following the AI1 voltage directly or are inverted.
__________________
Michael Andrews
Team #281 Programming Mentor
Reply With Quote
  #3   Spotlight this post!  
Unread 06-03-2011, 18:49
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,799
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Cypress Board Analog Input Help Needed

It's normal for the unused lines to follow the previous analog input.
The last analog voltage sampled will linger until new input voltage replaces it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 07-03-2011, 18:56
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Cypress Board Analog Input Help Needed

Well that explains it. I just checked the wiring on our potentiometer. It's plugged into AI2!! (the J3 side not J2). So AI2 is tracking the pot and the other floating AI's are simply tracking AI2.

Thanks everyone.
__________________
Michael Andrews
Team #281 Programming Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 06-03-2011, 18:44
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,567
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: Cypress Board Analog Input Help Needed

Quote:
Originally Posted by Tom Bottiglieri View Post
Is it common for a floating ADC input to swing with the other ports? It seems like this is caused by some high impedance connection between the input pins.
It's common for there to only be one ADC on a microcontroller, and use a mux to select each one to sample one at a time. If the input is floating, and the mux switches to it, the previous sample is retained. That's what's happening in this case.
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


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

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