Professional Documents
Culture Documents
INGENIERIA
FACULTAD DE INGENIERIA
MECANICA
UNI: Alma máter de los mejores
INFORME 2
“MANCHESTER Y MANCHESTER
DIFERENCIAL”
Curso:
COMUNICACIÓN DE DATOS Y REDES INDUSTRIALES
Profesor:
JOO AGUAYO Alcides Guillermo
Seccion:
“B”
Integrantes:
FLORES ALBERTO Antony Heyson Pascual 20122521J
CONDORI PAREDES Jeefry Dacio 20121044C
LEON RIOS Miguel Humberto 20132035K
Figura n° 1
3. PIC 16F877A
Figura n°2
DESARROLLO
1. ARQUITECTURA DE COMUNICACIÓN
2. ALGORITMO DEL PROGRAMA
3. PROGRAMA MANCHESTER
Código del Emisor:
void manchester()
{
if(input(PIN_D0))
{
output_high(PIN_B0);
output_low(PIN_B1);
}
else
{
output_low(PIN_B0);
output_high(PIN_B1);
}
if(input(PIN_D1))
{
output_high(PIN_B2);
output_low(PIN_B3);
}
else
{
output_low(PIN_B2);
output_high(PIN_B3);
}
if(input(PIN_D2))
{
output_high(PIN_B4);
output_low(PIN_B5);
}
else
{
output_low(PIN_B4);
output_high(PIN_B5);
}
if(input(PIN_D3))
{
output_high(PIN_B6);
output_low(PIN_B7);
}
else
{
output_low(PIN_B6);
output_high(PIN_B7);
}
}
1. ¿Es posible enviar un bit entre dos hosts?, cuáles serían las consideraciones
de hardware y software.
Si es posible enviar un bit entre dos hosts. Para esto es necesario
tener las siguientes consideraciones:
Una codificación Manchester
Una codificación para la comunicación serial RS232
Dos microcontroladores (PICS 16F877A) listos para la
comunicación
Otros componentes como jumpers, fuente de energía,
osciloscopio, laptop, etc…