Interfacing hex keypad to 8051
Hex keypad. In an 8051 microcontroller, it requires 12 cycles of the processor clock for executing a single instruction cycle. For an 8051 microcontroller clocked by a 12MHz crystal, the time taken for executing one instruction cycle is 1µS and it is according to the equation, Time for 1 instruction cycle= 12 /12MHz = 1µS. …