Thread: Line Sensor
View Single Post
  #4   Spotlight this post!  
Unread 10-02-2011, 22:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Line Sensor

Quote:
Originally Posted by Robototes2412 View Post
Its a digital input, hook up the brown to the negative and the blue to the positive, the black is normally closed and the white is normally open. Hack a pwm cable so that the black and white line up (read: soldering iron).
I hope nobody follows this advice. It's completely wrong.

Brown is the positive supply to the sensor, and needs to come from the red terminal of a 20 Amp circuit on the Power Distribution board (or from an output on the solenoid breakout if you want to use 24 volts instead). Blue is the power return (ground), and should come from the adjacent black terminal on the Power Distribution board.

Either black or white can be connected to the SIGnal pin of a Digital Input on the Digital Sidecar. The LabVIEW autonomous line-following sample code expects the white wire.