Week #10: (3/25-29) PING Sensor, 4x4 KeyPad

Post Reply
rjagodowski
Posts: 1642
Joined: Fri Sep 04, 2015 6:59 pm

Week #10: (3/25-29) PING Sensor, 4x4 KeyPad

Post by rjagodowski »

We'll begin with a revisit to Week #9/#13 to complete the discussion of the PING Sensor.


4x4 Keypad

Another required device you'll be using later in the semester is the 4x4 keypad which uses a matrix system to determine which key is pressed. This basic concept is common to most keypad & keyboard components. Here is the pdf for the keypad exercises:
4x4matrixmembranekeypad-v1.2.pdf
(120.52 KiB) Downloaded 33 times
NOTE: When copying and pasting the sample code for the 4x4 Keypad in the pdf into the BS2 Editor, there might be a problem with the "spacing" of the keyboard grid generated in the subroutine. If this happens, you will notice that the right column or two might not "clear" when releasing the key. To remedy this, insert additional spaces as needed to allow the vertical bars "|" to align with the "+" signs in the row above. Your grid should look like the example code in the keypad pdf.
Post Reply

Return to “EET-260 Lecture”