MIKROE-86 mikroElektronika, MIKROE-86 Datasheet - Page 2

no-image

MIKROE-86

Manufacturer Part Number
MIKROE-86
Description
Daughter Cards & OEM Boards KEYPAD 4x4 ADAPTER BOARD
Manufacturer
mikroElektronika
Datasheet

Specifications of MIKROE-86

Rohs
yes
Product
Keypad 4X4 Additional Boards
Description/function
Keypad 4X4 is used for loading numerics into the microcontrollers
Interface Type
IDC10
Operating Supply Voltage
3.3 V, 5 V
For Use With
Development Boards
MikroElektronika
Keypad 4x4
Keypad 4x4 is used for loading numerics into the microcontroller. It consists of 16 buttons arranged in a form of an array containig four
lines and four columns. It is connected to the development system by regular IDC 10 female connector plugged in some development
system’s port.
Figure 1: Keypad 4x4
Figure 3: Keypad 4x4 connection schematic
A far easier way to load data by using keypad 4x4 is by employing ready-to-use funtions provided in the Keypad Library of any
Mikroelektronika’s compiler. On the following pages there are three simple examples written for PIC16F887 microcontrolller in mikroC,
mikroBasic and mikroPascal programming languages. In all cases, the number loaded via keypad is converted into the equivalent
ASCII code (0...9, A...F) and then it is displayed in the second line of LCD display. In this case, pull-down resistors are placed on output
pins RD0 - RD3 and are used to determine logic zero (0) in idle state.
1.
2.
3.
The keyboard is usually used as follows:
Four microcontroller’s pins should be defined as outputs,
and other four pins should be defined as inputs. In order the
keypad to work properly, pull-down resistors should be placed
on the microcontroller’s input pins, thus defining logic state
when no button is pressed.
Then, the output pins are set to logic one (1) and input pins’
logic state is read. By pressing any button, a logic one (1) will
appear on some input pin.
By combining zeros and ones on the output pins, it is
determined which button is pressed.
Figure 2: Keypad 4x4 connected to development system
Keypad 4x4

Related parts for MIKROE-86