Go to Post To quote Dylan, "When you aint got nothing, you got nothing to lose". - KenWittlief [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 15-02-2010, 15:15
gokul gokul is offline
Registered User
FRC #0571
 
Join Date: Jan 2006
Location: CT
Posts: 25
gokul is an unknown quantity at this point
Connecting switches/pots to PSoC

We have managed to hook up a rotary switch, a SPST switch and a 100K pot to the PSoC kit, using one of the breakout boards available now.

The switches are working fine and their states can be seen in the Driver Station (inside the I/O tab) but the Analog Input has an odd behavior.

When nothing is connected on the AI lines, the voltage as reported by the Driver Station is jittery but around the max 3.3 range for each of the AIs.

When I connect one 100K Lin pot to AI 01, that input stays rock steady and moves correctly to 3.3V without jitters.

Oddly the other AIs (2,3,4) that are not connected and are floating, also follow the AI 01 - when the pot is changed!

Why would this be the case?
What should be the teams doing ? Tie the unused AIs to ground ? Of course one should not be checking the unused ones in the software but what would be the safest solution ?

Please advise.
 


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
PSoC + Java frcchile Programming 1 08-02-2010 22:12
Wiring Switches to the PSoC board Raj1977 Electrical 13 07-02-2010 23:24
PSOC Understanding Gamer930 FRC Control System 1 03-02-2010 15:03
Limit Switches/Pots Brett W Technical Discussion 3 28-01-2003 14:25
3-turn pots archiver 2001 2 24-06-2002 01:24


All times are GMT -5. The time now is 12:24.

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