Difference: SevenSegmentDisplayAndKeypad (5 vs. 6)

Revision 62021-01-22 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="Exercises"

Seven Segment Display and Keypad

The Seven Segment Display and its TM1637 controller

Line: 46 to 46
  The keypad has a total of 16 switches. These are connected to 8 pins organized as 4 rows and 4 columns.
keypad.png 4X4-Keypad-Schematic.png
Changed:
<
<
The job will be to find out which column makes a connection to which row in order to find out which switch is closed. This can be done by connecting e.g. the 4 row pins to GPIO outputs and the 4 column pins to GPIO inputs with pull-ups.
>
>
The job will be to find out which row makes a connection to which column in order to find out which switch is closed. This can be done by connecting e.g. the 4 row pins to GPIO outputs and the 4 column pins to GPIO inputs with pull-ups.
  Set the first row pin to low and check on each column pin if you read a zero. If you do, you have found the switch closed. If not, continue the same procedure on the other row pins.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback