Go to Post Adding an ounce or two of shields is way easier than filling out the mountains of paperwork for that one impatient person to stick their arm into the robot reaching for who knows what only to have their fingers meet up close and personal with a gearbox. - artdutra04 [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 04-02-2010, 23:55
offramp13 offramp13 is offline
Registered User
FRC #1425
 
Join Date: Feb 2010
Location: Wilsonville, OR
Posts: 1
offramp13 is an unknown quantity at this point
Analog Input tied to Accelerometer on Cypress

I've set our driver station up and installed the mandatory update. Now I'm trying to get all the I/O ports confirmed working. I used the PSoC Programmer to load the "FRC_IO.v2.hex", but I have run into a problem. 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?

Thanks in advance.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2010, 23:56
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Analog Input tied to Accelerometer on Cypress

Quote:
Originally Posted by offramp13 View Post
I've set our driver station up and installed the mandatory update. Now I'm trying to get all the I/O ports confirmed working. I used the PSoC Programmer to load the "FRC_IO.v2.hex", but I have run into a problem. 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?

Thanks in advance.
Do you have anything plugged into the analog inputs when this is happening?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #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
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Analog Input Errors... Tach'ko Electrical 1 11-01-2008 11:37
HELP: analog input Tottanka Programming 19 18-02-2007 19:27
Accelerometer: Analog or Digital? psquared Programming 2 10-02-2005 16:38
Accelerometer Wiring/Input DAN THE MAN Control System 1 06-02-2005 20:02
Analog Input Trouble Matt Krass Programming 10 20-01-2005 21:09


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

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