Multiplexing LED Drive and a 4x4 Keypad


Posted on Jun 19, 2012

Typically applications having LEDs and keypads also keep track of real-time, in order to synchronize certain related events. An Industrial Clock/Timer example has been used in this application note as a demonstration of these functions. The software overhead to keep track of real time is minimal and the user can modify the code to significantly expand the functionality of this circuit.



The 4x4 Key Matrix is connected to PORTC of the PIC16C5X (Figure 2). The four columns are connected to RC0-RC3 and the four rows are connected to RC4- RC7. Each digit is refreshed every 20 ms. with a 5 ms pulse. The keypad is sampled every 20 ms with




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Ground pole & 2-Half-Wave Dipole Antenna
Wailing alarm
Precision Light Alarm With Hysteresis Circuit
arduino + optotriac based ac dimmer blinking severely
wien bridge oscillator circuit
Amp Circlotron
7-segment display counter
The 203 Theremin
FKL-32 Operating System Circuit



Top