View Single Post
  #3   Spotlight this post!  
Unread 05-02-2010, 02:40
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Analog Input tied to Accelerometer on Cypress

Quote:
Originally Posted by offramp13 View Post
The 8 analog ports displayed on the FRC Driver Station in advanced mode fluctuate with acceleration in the Z axis.

I am not sure if this is a configuration problem or if it is a problem with the hex code itself. Has anyone run into something similar to this?
Yes. I've run into this. Although it's not anything to "run into", per se. Because the inputs are high impedance, if you have no source wired to an input, then the previous input voltage will still be lingering around in the sample and hold capacitor. Because the accelerometer and the analog inputs are on the same analox mux, you will see the last channel of the accelerometer (Z) on the analog inputs.

Nothing to worry about.

-Joe
Reply With Quote