.

QuickBuilder
for Microchip PICs

Home - About- Consulting* - Articles - FAQs - Contact
Tour - Application Example - Sub circuits - Projects - Download
Sub-circuits: Data entry
A Sub-circuit is a stand alone circuit function consisting of a software module and schematic.

Qwerty 36-keypad

Description
36-key QWERTY keypad based on the Storm 700 series sealed rugged keypad. Supports shift, caps and control function keys.

Software functions

QWERTY_DO() : Key pad scan routine. Call at regular
intervals (eg 1ms timer tick interrupt)

QWERTY_KEY() : returns the currently pressed ascii key

QWERTY_NEWKEY() : returns the most recently pressed ascii
key. Subsequent calls return 0 until a new key is pressed

QWERTY_CAPS() : returns true if capitals locked else
false.

Schematic

Projects
This sub-circuit is demonstrated in the following projects:

  • 'I2C QWERTY 36-Keypad' more

 

 

 

 

Keypad 16 x 4

Description
keypad 1-16 columns x 4 rows.

Software functions

KEYPAD_DO()  : Keypad scan routine. Call at regular
intervals (eg 1ms)
 
KEYPAD_KEY() : returns the currently pressed key
scan number.
 
KEYPAD_NEWKEY() : returns the most recently pressed key
scan number. Subsequent calls return 0 until a new
key is pressed

Schematic

Similar sub-circuits:
Keypad 4 x 4
Keypad 3 x 3

 

 

Keypad 4 x 3 (low scan)

Description
keypad 12keys, 4rows, 3cols interrupt driven 'low scan'. Uses PORTB interrupts to detect key press and perform scan.

Software functions

KEYPAD_NEWKEY()  : returns new key no. 

Schematic

Similar sub-circuits:
Keypad 4 x 4 (low scan)

 

 

Keypad 4 x 3

Description
keypad 12keys, 4rows, 3 cols

Software functions

KEYPAD_NEWKEY()  : returns new key no. 
KEYPAD_SCAN()    : returns current key 

Schematic

Similar sub-circuits:
Keypad 4 x 4
Keypad 3 x 3

 

 

Push switch SPNO,PU

Description
Push to make switch with resistor pull up

Software functions

SW_PRESSED() : returns switch pressed event 
SW_STATE()   : returns state 0=up, 1=down

Schematic

 
Copyright 2002-2009 Summit Electronics Ltd
www.quickbuilder.co.uk