数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN979 数据表(PDF) 6 Page - STMicroelectronics

部件名 AN979
功能描述  DRIVING AN ANALOG KEYBOARD WITH THE ST7 ADC
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN979 数据表(HTML) 6 Page - STMicroelectronics

Back Button 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 AN979 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 14 page
background image
6/14
DRIVING AN ANALOG KEYBOARD WITH THE ST7 ADC
5 KEY DETECTION
The ST7 is a digital microcontroller. It uses its ADC to measure Vkey. It is then coded in 10 bits.
As the ADC is linear, the best decision is taken when the voltage levels of the keys follow an
equal distribution between VDD and VSS.
In our application, a 16-key keyboard is used. So, the best associated Vkey value of ‘key i’ is
given by:
The problem is that you cannot choose the perfect values for the resistors. In our application,
the following resistor values were used (see Table 1):
The digital values of the keys after conversion are given in Table 2.
When a key is pressed and after conversion, a decision must be taken on its value. Upper and
lower limits of the detection for each key must be defined. These values are the middle of two
subsequent typical values, which gives the best noise margin between keys.
The software uses the lower limits to make its decision. They are given in Table 2.
Table 1. Example of resistor values for 16 keys
Resistor
Value (
Ω)
Resistor
Value (
Ω)
Rup
1K
R7
220
R0
68
R8
270
R1
75
R9
390
R2
82
R10
560
R3
100
R11
820
R4
120
R12
1K2
R5
150
R13
2K7
R6
180
R14
75
Vkey i =
16
(VDD - VSS) * i



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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