Download - Comunicacion Serial
![Page 1: Comunicacion Serial](https://reader031.vdocumento.com/reader031/viewer/2022020320/5695d46d1a28ab9b02a16a87/html5/thumbnails/1.jpg)
ESCUELA POLITECNICA NACIONAL SISTEMAS MICROPROCESADOS GR1-GR6 (2014-B)
COMUNICACIÓN SERIAL
Ing. Jhon Pilataxi Página 1
EJERCICIOS DE COMUNICACIÓN SERIAL
1. Ejercicio
Se recibe un byte se muestra en 8 leds y se envía el estado de 8 interruptores (1 byte)
![Page 2: Comunicacion Serial](https://reader031.vdocumento.com/reader031/viewer/2022020320/5695d46d1a28ab9b02a16a87/html5/thumbnails/2.jpg)
ESCUELA POLITECNICA NACIONAL SISTEMAS MICROPROCESADOS GR1-GR6 (2014-B)
COMUNICACIÓN SERIAL
Ing. Jhon Pilataxi Página 2
![Page 3: Comunicacion Serial](https://reader031.vdocumento.com/reader031/viewer/2022020320/5695d46d1a28ab9b02a16a87/html5/thumbnails/3.jpg)
ESCUELA POLITECNICA NACIONAL SISTEMAS MICROPROCESADOS GR1-GR6 (2014-B)
COMUNICACIÓN SERIAL
Ing. Jhon Pilataxi Página 3
Simulacion entre dos micros.
![Page 4: Comunicacion Serial](https://reader031.vdocumento.com/reader031/viewer/2022020320/5695d46d1a28ab9b02a16a87/html5/thumbnails/4.jpg)
ESCUELA POLITECNICA NACIONAL SISTEMAS MICROPROCESADOS GR1-GR6 (2014-B)
COMUNICACIÓN SERIAL
Ing. Jhon Pilataxi Página 4
Simulación entre una interfaz computacional y un micro (PROTEUS)
Para esto es necesario y software que permita crear puerto virtuales, se crean dos puertos el
uno se coloca en la interfaz y el otro puerto se selecciona en proteus.
Dato a
enviar como
byte de 0 a
255 Dato recibido estado
de interruptores
![Page 5: Comunicacion Serial](https://reader031.vdocumento.com/reader031/viewer/2022020320/5695d46d1a28ab9b02a16a87/html5/thumbnails/5.jpg)
ESCUELA POLITECNICA NACIONAL SISTEMAS MICROPROCESADOS GR1-GR6 (2014-B)
COMUNICACIÓN SERIAL
Ing. Jhon Pilataxi Página 5
Programa para enviar y recibir como asccii (se utiliza el virtual terminal)
![Page 6: Comunicacion Serial](https://reader031.vdocumento.com/reader031/viewer/2022020320/5695d46d1a28ab9b02a16a87/html5/thumbnails/6.jpg)
ESCUELA POLITECNICA NACIONAL SISTEMAS MICROPROCESADOS GR1-GR6 (2014-B)
COMUNICACIÓN SERIAL
Ing. Jhon Pilataxi Página 6
![Page 7: Comunicacion Serial](https://reader031.vdocumento.com/reader031/viewer/2022020320/5695d46d1a28ab9b02a16a87/html5/thumbnails/7.jpg)
ESCUELA POLITECNICA NACIONAL SISTEMAS MICROPROCESADOS GR1-GR6 (2014-B)
COMUNICACIÓN SERIAL
Ing. Jhon Pilataxi Página 7