Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN979 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN979
Description  DRIVING AN ANALOG KEYBOARD WITH THE ST7 ADC
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN979 Datasheet(HTML) 5 Page - STMicroelectronics

  AN979 Datasheet HTML 1Page - STMicroelectronics AN979 Datasheet HTML 2Page - STMicroelectronics AN979 Datasheet HTML 3Page - STMicroelectronics AN979 Datasheet HTML 4Page - STMicroelectronics AN979 Datasheet HTML 5Page - STMicroelectronics AN979 Datasheet HTML 6Page - STMicroelectronics AN979 Datasheet HTML 7Page - STMicroelectronics AN979 Datasheet HTML 8Page - STMicroelectronics AN979 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 14 page
background image
5/14
DRIVING AN ANALOG KEYBOARD WITH THE ST7 ADC
When ‘key i’ is pressed (where i is in the range 1 to 15), the resistor Ri-1 is connected to Vss.
Then we have a resistive divider
and Vkey is given by the formula:
So the corresponding voltage of each key is given by the values of the resistors. An equal dis-
tribution of voltage between VDD and VSS is usually recommended.
To recognize a key, the user will measure Vkey and will be able to decide which key was
pressed.
4.2 PRACTICAL LIMITATIONS
Theoretically, with an 10-bit ADC, 1023 keys can be decoded. But potential errors must be
taken into account. They can come from the power supply, the key resistivity, the resistor tol-
erance, the ADC conversion errors.
The resistor tolerance is the main limitation as usually 5% tolerance resistors are used. It is
advised to use a 1% tolerance resistor for the pull-up. Changing this resistor greatly improves
the keyboard as the pull-up has an influence on every key.
The ADC total unadjusted error (TUE) for the device is specified as 4 LSB. So, it has to be
taken into account to avoid any key decision error.
These parameters will reduce the number of keys that can be efficiently decoded.
Vkey i =
(VDD - VSS)
Rup +
i - 1
Σ
j = 0
Rj
i - 1
Σ
j = 0
Rj



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com