Difference between revisions of "Keypad"

From ArmadeusWiki
Jump to: navigation, search
(Introduction)
(Hardware)
Line 7: Line 7:
 
===Hardware===
 
===Hardware===
  
By default your armadeus board support a direct connection with a 4x4 keypad using the CSI lines: CSI_MCLK,CSI_D0..CSI_D6
+
By default your armadeus board supports a direct connection with a 4x4 matrix using the CSI lines: CSI_MCLK,CSI_D0..CSI_D6
The driver uses the internal gpios pull-up therefore your board do not need additional external resistor.
+
The driver uses the internal gpios pull-up therefore your board does not need any additional external resistor.
Connect the 4 (row) lines of the keypad to CSI_MCLK, CSI_D0, CSI_D1, CSI_D2.
+
Connect the 4 (rows) lines of the keypad to CSI_MCLK, CSI_D0, CSI_D1, CSI_D2.
 
Connect the 4 (columns) lines of the keypad to CSI_D3, CSI_D4, CSI_D5 CSI_D6.  
 
Connect the 4 (columns) lines of the keypad to CSI_D3, CSI_D4, CSI_D5 CSI_D6.  
 
{add a big picture of the keypad link with APF_DEV_LIGHT}
 
{add a big picture of the keypad link with APF_DEV_LIGHT}
 
{add a big picture of the keypad link with APF_DEV_FULL}
 
{add a big picture of the keypad link with APF_DEV_FULL}
 
  
 
===Software driver===
 
===Software driver===

Revision as of 20:36, 24 February 2008

How to connect a keypad to your Armadeus board

Introduction

Your armadeus board allows you to connect a keypad as input device. The default keypad software driver configuration supports 16 keys connected to the CSI bus. The current development state of the driver is unfinished and not fully generic but you can easily extend the driver to support up to 36 keys keypad using the whole CSI bus.

Hardware

By default your armadeus board supports a direct connection with a 4x4 matrix using the CSI lines: CSI_MCLK,CSI_D0..CSI_D6 The driver uses the internal gpios pull-up therefore your board does not need any additional external resistor. Connect the 4 (rows) lines of the keypad to CSI_MCLK, CSI_D0, CSI_D1, CSI_D2. Connect the 4 (columns) lines of the keypad to CSI_D3, CSI_D4, CSI_D5 CSI_D6. {add a big picture of the keypad link with APF_DEV_LIGHT} {add a big picture of the keypad link with APF_DEV_FULL}

Software driver

link to software driver

Links

external links (for exemple: locomo driver model)

FrenchFlag.png Cette page en français