Matrix keyboards are commonas an input device in microcontroller-based projects. A conventionalway of connecting a matrix keyboardto a microcontroller is to use multipleI/O pins of the MCU. The MCU ...
Here’s an interesting article about reading data from shift registers using less than three pins. 74HC165 shift registers are a popular choice for adding inputs to a microcontroller. They have a ...
Microcontroller port pins can typically be driven either high or low, or else be put into an "input" or high-impedance state. This circuit uses the three states to drive two separate LEDs with one ...