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

X  

AN2591 数据表(PDF) 3 Page - STMicroelectronics

部件名 AN2591
功能描述  In certain applications
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2591 数据表(HTML) 3 Page - STMicroelectronics

  AN2591 Datasheet HTML 1Page - STMicroelectronics AN2591 Datasheet HTML 2Page - STMicroelectronics AN2591 Datasheet HTML 3Page - STMicroelectronics AN2591 Datasheet HTML 4Page - STMicroelectronics AN2591 Datasheet HTML 5Page - STMicroelectronics AN2591 Datasheet HTML 6Page - STMicroelectronics AN2591 Datasheet HTML 7Page - STMicroelectronics AN2591 Datasheet HTML 8Page - STMicroelectronics AN2591 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 19 page
background image
AN2591
Expanding the number of outputs
3/19
1
Expanding the number of outputs
This section describes how to increase the number of output lines using two techniques: by
using a decoder or by using shift registers.
1.1
Using a decoder
1.1.1
Expanding the number of outputs to 8 lines
In certain applications, you may need to use several microcontroller outputs but only one of
these outputs is activated at any given time. For example when you control a multiplexed
display (7-segment or LCD display), only one digit at a given time is selected. This is also
the case with matrix keypad management. In order to generate row signals to poll a keypad
to determine which key is pressed, you have to use several microcontroller outputs.
Figure 1 shows how to reduce the number of outputs used in this type of application.
This solution uses a 3-to-8 line decoder (M74HC138) to determine which one of the outputs
goes low (Y0 to Y7) by applying an address value on the three inputs A, B and C. The
number of lines saved is 8 - 3 = 5 lines.
Figure 1.
Expander for 8 outputs using a M74HC138 decoder
1.1.2
Expanding the number of outputs to 16 lines
Sometimes, more than 8 outputs are used although only one output needs to be active at a
time (for example for a multiplexed display with more than 8 digits, a matrix keypad with
more than 7 rows or a row of 16 LEDs for a bargraph level display, and so on).
µC
GPIO0.0
M74HC138
GPIO0.1
GPIO0.2
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
15
13
14
12
11
10
6
8
3.3v
GND
A
B
C
Vcc
G2B
16
1
2
3
5
8
G2A
G1
4
9



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


数据表 下载

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