Go to Post More teams will want to join, peers who are not on the team will understand the program better, television will become interested in FIRST again, sponsors will be easier to get, cancer will be cured, the Israelis and Palestineians will live in harmony, and we will have world peace. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 01-12-2018, 05:57 PM
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 445
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Ten-Turn Potentiometer-Weird Readings

Hey all! We are using a ten-turn potentiometer, and we are getting readings. Only problem is, is that it is getting insane readings i.e. 0 us 540 and turn it one little notch, you get to 630! It's parameters are 0,360,0, respectively. Let us know if we are making a common mistake or you notice anything obvious. About to upload to github so I will post link if any of y'all need it. Thanks so much!
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
Reply With Quote
  #2   Spotlight this post!  
Unread 01-12-2018, 06:07 PM
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 445
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Re: Ten-Turn Potentiometer-Weird Readings

https://github.com/Humans4501/PRESEASONBOT2

Here is the link to the robot. Potentiometer code is in the arm subsystem and RobotMap etc. Sorry for confusing robot name, we will change it.
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
Reply With Quote
  #3   Spotlight this post!  
Unread 01-12-2018, 06:57 PM
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 4,524
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Ten-Turn Potentiometer-Weird Readings

Check that everything is wired up correctly. Use a multimeter to measure the resistance between the signal and ground/power pins as you turn it. If that checks out, and your positive the wires are going into the roboRIO in the correct order, then check the voltage difference while it's hooked up and your turning it. Make sure it's working electrically before you jump to the assumption that it's a code issue!
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016-2018; Galileo 2016; Iowa 2017; Tesla 2017; Northern Lights 2018
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
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 11:46 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi