View Single Post
  #7   Spotlight this post!  
Unread 20-02-2011, 01:11
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Potentiometer wont work

Did you plug it into the analog breakout so that it matches the wiring diagram on the side? The -, on the side closest to the PWM-holder-inner thing, should be the black wire, the middle should be red, and the "Sig" should be the white one.

What output are you getting from the indicator? 0? 5? Is it giving random numbers? Does the value go down when you turn the pot up? Does it change with the pot, but in a weird way?

Random numbers probably means not connected, 0 would probably mean teleop isn't enabled. If it changes in a weird way when you turn the potentiometer, you might have the PWM cable in the analog breakout backwards. If the value is inversed of what you think it should be, either reverse it in the code (I guess that would be later) or swap the red and black cables.
Reply With Quote