Skip to content

Wiring

The following components are required to wire buttons to an input shift register:

  • A 74HC165 chip.
  • Buttons or switches.
  • 10kΩ resistors.
  • 0.1µF capacitors.

Important

MobiFlight only supports connecting buttons to input shift registers. Encoders must be connected directly to a board.

The 10kΩ resistors are required on every input pin, even if you aren’t attaching a button to that pin, to avoid false input events.

Tip

For 3.3V microcontrollers like the Raspberry Pi Pico 1, the shift register should be powered from +3.3V instead of +5V unless a level shifter is used.