Connect Rotary Encode to ItsyBisty
We'll need to solder wires to connect the rotary encoder to the Adafruit ItsyBitsy M0.
Silicone Cover Ribbon Cable
To keep the wiring neat and tidy, we'll use a 10-wire silicon cover ribbon cable – We only need five wires, so peel off a set. Measure out a piece to about 8 cm in length. Peel apart individual wires, on both ends, about 1 cm in length. Use a pair of wire strippers to remove a bit of insulation from the tips. Tin the exposed wire by adding a bit of solder – This will help prevent the wires from fraying.
Solder the wires to the following pins on the bottom of the Adafruit ItsyBitsy M0.
- Ground pin
- Ground pad
- Pin 10
- Pin 11
- Pin 9
Wire Rotary Encoder
Solder the wires to the following pins on the rotary encoder. Polarity on the left and right pins don't matter as long as they match pins on the ItsyBitsy. Double check and make sure the connections match.
- ItsyBitsy ground pin to center pin on rotary encoder
- ItsyBitsy pin 10 to left pin on rotary encoder
- ItsyBitsy pin 11 to right pin on rotary encoder
Wire Switch on Rotary Encoder
Solder wires to the switch on the rotary encoder.
- ItsyBitsy ground pin to left pin on rotary encoder switch
- ItsyBitsy pin 9 to right pin on rotary encoder switch