Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

AN1828 Datasheet(PDF) 13 Page - STMicroelectronics

No. de pieza AN1828
Descripción Electrónicos  The document explains how to design
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1828 Datasheet(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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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