4.3 Quadrature Encoder

The Quadrature Encoder (SW102) is made of one mechanical button and two outputs. These outputs are connected to a mechanical switch (SW103), which enables to either connect them to the XMEGA pins or let them be accessible on the J3 header.

Table 4-3. Quadrature Encoder Connections
Pin on XMEGAPin on J3 headerSwitch SW103Quadrature Encoder pins
PA5 1 NANA5 (button)
PA6 1 NA2-1 (switch pushed down)1 (channel A)
PA7 1 NA5-4 (switch pushed down)3 (channel B)
NAPIN32-3 (switch pushed up)1 (channel A)
NAPIN45-6 (switch pushed up)3 (channel B)
1

Signal also connected to header J2.