View Single Post
  #3   Spotlight this post!  
Unread 28-02-2010, 00:53
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 469
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: Quadrature Encoder Wiring to Digital Sidecar

Quote:
Originally Posted by CrashOverride View Post
I need help understanding the correct wiring scheme for the quadrature encoder from usdigital.

There are 4 leads:
1. +5
2. channel A
3. Gnd.
4. channel B
We always hook up our USDigital Encoders as follows, using two PWM connectors to the GPIO pins on the digital sidecar:

+5 (orange) to the +5 pin of PWM connector #1
A (blue) to the signal pin on PWM connectore #1
Gnd (brown) to the ground pin of PWM connector #2
B (yellow) to the signal pin on PWM connector #2

Each PWM connector will then have one unconnected pin.

Place the two PWM cables into two GPIO inputs on the digital sidecar (make sure to connect them the right way round, with the signal pins in the appropriate spots). Then configure the software to recognize the encoder as being on those two GPIO pins.

Best regards,
--ken
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"