Thread: Encoder wiring
View Single Post
  #9   Spotlight this post!  
Unread 13-02-2012, 23:58
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Encoder wiring

Quote:
Originally Posted by MagiChau View Post
The encoder in the WPIlib is meant specifically for thr E4P optical encoder since that one needs two signal wires as a quadrature encoder.
Partially right, partially wrong. The WPIlib Encoder class is designed to handle any quadrature encoder; the E4P is just standard to use in FRC due to USDigital's sponsorship.

You might be able to use the gear tooth counter class for this encoder.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners

Last edited by slijin : 14-02-2012 at 00:01.