View Single Post
  #9   Spotlight this post!  
Unread 21-01-2011, 15:28
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Re: How should we wire the photoswitchs?

we are trying to get our line sensors to work. we have it wired as:

sensor blue- 0v
Sensor brown- +12v
Sensor white- white pwm to signal pin on digital i/o section of the DSC.
sensor black- nothing

we were trying to run the autonomous mode from a new robot code project and it only runs a pre-programmed drive and doesn't respond to the sensors. then we put a jumper on the 2 power pins for the digital i/o side and when we enabled the autonomous mode nothing happened at all.

a note: our sensors are showing green when not by anything and orange and red when over the reflective tape. i heard the red meant it was over it's threshhold. what threshhold is that and is it fixed with the sensitivity knob or not?

I am asking if anyone could give any advice so we can get our line sensors working correctly.