MicroController Pros Home Page My Account  Cart Contents  Checkout  
  Store » EM1000-TEV My Account  |  Cart Contents  |  Checkout   
Quick Find
 
Enter keywords to find the product you are looking for in the Quick Find field above

or use
Advanced Search
Categories
Accessory Boards->
8051->
ADI Blackfin
Arduino->
ARM->
Atmel AVR->
Cypress PSoC
Freescale->
FTDI->
Locktronics
Microchip PIC->
MIPS
Parallax->
Renesas
Silicon Labs
ST Microelectronics->
Texas Instruments->
Tibbo->
Books->
Displays->
E-Blocks->
EEPROM/EPROM/FLASH
Embedded Ethernet->
Embedded Software->
I/O Modules->
Parts & Components->
Pick & Place Tools
Programmable Logic (PLD)
Prototype PCBs->
Robotics
ROM/Flash Emulators
Test & Measurement->
Tutorial Software
Universal Programmers->
Wireless->
Information
Intro to Embedded Tools
Embedded News Digest
Useful Resources
Shipping & Returns
Warranty & Liability
Privacy Notice
Conditions of Use
Contact Us
EM1000-TEV

Back to 4x Serial to Ethernet Terminal Evaluation Kit Ordering Page

The TEV-KB0 board carries 16 keys and 4 green LEDs. The keys are arranged as a 4x4 matrix, with 4 scan lines and 4 return lines. Each scan line additionally controls one green LED. Schematic diagram of the TEV-KP0 board can be found on Tibbo website.

TEV-LBx Board Connector

The TEV-KB0 board is connected to the TEV-MB0 motherboard through a 2x12-pin connector. Each two pins of the connector are combined together for better electrical contact. Therefore, the connector effectively has 12 lines.

Pin # Function Keypad
1 VIN (12V)  
2 5V  
3 3.3V  
4 GND  
5 GPIO24* Scan1, LED1
6 GPIO25* Scan2, LED2
7 GPIO26* Scan3, LED3
8 GPIO27* Scan4, LED4
9 GPIO28* Return1
10 GPIO29* Return2
11 GPIO30* Return3
12 GPIO31* Return4

I/O pins of the EM1000 module

Required initialization code in Tibbo BASIC application

This section assumes that you are familiar with Tibbo BASIC and TIDE software. These are documented in the Tibbo BASIC Programming Guide.

For correct board operation, click Project-> Settings, and select EM1000 or EM1000W platform. Additionally, click Customize to open a Customize Platform dialog. In the dialog, double-click the Keypad (kp.) Object line and choose Enabled.

The following initialization code should also be added to your project:

kp.scanlinesmapping=24,25,26,27
kp.returnlinesmapping=28,29,30,31
io.num=PL_IO_NUM_24
io.enabled=YES
io.num=PL_IO_NUM_25
io.enabled=YES
io.num=PL_IO_NUM_26
io.enabled=YES
io.num=PL_IO_NUM_27
io.enabled=YES
kp.enabled=YES

All key-related events are served in the event handler for the on_kp() event. The key_code argument carries the code of the key. Keycodes of each key are indicated in parentheses on the drawing above. For example, key <5> has the code of 12Hex.

Each scan line of the keypad also controls one LED. To turn the LED on, set the corresponding scan line LOW. This will not affect the operation of the keypad.

Back to 4x Serial to Ethernet Terminal Evaluation Kit Ordering Page


Shopping Cart more
0 items
What's New? more
Flowcode 7 for PIC, AVR, Arduino, ARM - Academic Single User
Flowcode 7 for PIC, AVR, Arduino, ARM - Academic Single User
US$289.00
Specials more
GSM/GPRS Module for Arduino
GSM/GPRS Module for Arduino
US$667.00
US$89.00
Bestsellers
01. RFID ISO Card Tag, 125kHz, EM4102 Read-only
02. PIC16F628A-I/P Microcontroller, 18 DIP, 20 MHz
03. Atmel ATtiny2313-20PU AVR Microcontroller, 20 DIP, 20 MHz
04. LCD 4-mux, 7 digits x 14 segments, progress bar, arrows
05. LCD 4-mux, 7.1 digits x 7 segments, progress bar, arrows
06. USB Universal In-Circuit Programmer PIC AVR ARM MSP 8051 EEPROM
07. ARM JTAG Debugger & Programmer, parallel port
08. Power Supply 3-12V DC, US/UK/Euro/AU Plugs, 100-240VAC
09. Power Supply 3-12V DC, U.S. plug, 6 connection tips
10. Atmel AVR JTAG In-Circuit Debugger & Programmer, USB
Reviews more
Universal Development Board 8051/ARM/AVR/PIC/dsPIC/PSoC: UNI-DS6
I just got the development board and have tried examples on ..
5 of 5 Stars!
  Thursday 23 November, 2017   List of all our Products

Copyright © 2003-2017 MicroController Pros LLC
Powered by osCommerce