I am trying to design a keyboard and have come across the realization that the datasheet for my rotary encoder asks for 5k resistors connected to terminals A and B of the encoder.
However I am having trouble understanding how the encoder should be wired.
- Should the terminals be connected to power as well as specific pins like this?
- Or would the pins provide the power for the terminals and all I have to do is connect the resistors to the wire connected to the pins?
The datasheet schematic for the component is:
The micro-controller I am using is the AT90USB646-AU in case that is some info that is needed as well.