전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN1828 데이터시트(PDF) 13 Page - STMicroelectronics

부품명 AN1828
상세설명  The document explains how to design
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1828 데이터시트(HTML) 13 Page - STMicroelectronics

Back Button AN1828 Datasheet HTML 9Page - STMicroelectronics AN1828 Datasheet HTML 10Page - STMicroelectronics AN1828 Datasheet HTML 11Page - STMicroelectronics AN1828 Datasheet HTML 12Page - STMicroelectronics AN1828 Datasheet HTML 13Page - STMicroelectronics AN1828 Datasheet HTML 14Page - STMicroelectronics AN1828 Datasheet HTML 15Page - STMicroelectronics AN1828 Datasheet HTML 16Page - STMicroelectronics AN1828 Datasheet HTML 17Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 13 / 17 page
background image
13/17
PIR (PASSIVE INFRARED) DETECTOR USING ST7FLITE05/09/SUPERLITE
2.2 SCI IMPLEMENTATION USING THE MICROCONTROLLER STANDARD I/O PORTS
A Serial Communications Interface (SCI) is used to allow the user to check different variables
while the application is running. The value of the variables can be displayed on a PC with the
Hyperterminal application. SCI is implemented using standard I/O ports. We just need to
transmit the data from the microcontroller to a PC, so only SCI transmit is implemented for
4800 or 2400 baud rate (selectable by a macro in the software). This is implemented as fol-
lows:
1. Convert the variable to be transmitted into ASCII data. This is required because Hyperter-
minal displays ASCII data only.
2. The ASCII data is transmitted bit-by-bit with a bit duration depending on the Baud Rate
selected in the software.
For example:
1 bit duration = 416µs (1/2400 seconds) for 2400 baud
= 208µs (1/4800 seconds) 4800 baud
This bit duration is calculated with the help of the Timer interrupt which is configured for 52µs.
So we can change the status of PA5 Pin after 416µs(52x8) or 208µs(52x4). The time period
for each data bit will be the same.
3. Transmit the Start bit. To do this, hold the PA5 pin LOW for 1 bit time.
4. After the start bit, change the PA5 pin level according to the data (ASCII) to be transmitted.
5. Then, transmit the Stop bit. To do this, hold the PA5 pin HIGH for 1 bit time.



Html Pages

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


데이터시트 다운로드

Go To PDF Page


링크 URL



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