Go to Post You can never be done too early for more testing and practice! - Donut [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 06-02-2010, 16:56
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Potentiometer issues

Our team was trying to wire up a potentiometer to our control system so that we can use it to control the force of our kicking mechanism. The problem we're having is in reading the value from the potentiometer--we are reading the value using the GetValue method of AnalogChannel, but instead of registering a static value, the value continually either climbs up or climbs down. We're resetting the accumulator on the channel after each read that we do, so we know that it's just that we're reading an accumulated value. We've had problems simil;ar to this in the past, and I vaguely suspect that it is related to the wiring of the pot. Has anyone had this problem or know how to resolve it?
__________________
Get yer robot source code here!
 


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
Potentiometer help hullingerbr NI LabVIEW 6 15-02-2009 18:42
Potentiometer fezkazi Electrical 3 24-01-2007 13:29
Potentiometer Help! thoughtful Programming 4 18-02-2005 08:21
Potentiometer Joshua May Technical Discussion 8 22-05-2004 19:51
Potentiometer Theory Ulibrium Technical Discussion 6 25-01-2002 21:16


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

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