Thread: encoder wiring
View Single Post
  #4   Spotlight this post!  
Unread 07-02-2007, 00:14
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: encoder wiring

Wire the RED wire to the +5V pin (normally red) of a digital input.

Wire the BLACK wire to the GND pin (normally black) of a digital input.

Wire the BLUE wire to the SIG pin (normally white) of a digital input.

Wire the YELLOW wire to another SIG pin (normally white) of a second digital input.

This means that you will need all 3 pins of one digital input, and one pin (signal) from a second digital input.

Make sure that the BLUE wire goes into digital input 1 through 6; then, using Kevin Watson's encoder code (www.kevin.org/frc), go through the step-by-step instructions in the readme file to get it working. Remember where you plugged in each signal (blue and yellow) cable when you work through it.