Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
25Activity
0 of .
Results for:
No results containing your search query
P. 1
Comunicar Dispositivos de Forma Serial Bidireccionall

Comunicar Dispositivos de Forma Serial Bidireccionall

Ratings: (0)|Views: 1,096 |Likes:
LA COMUNICACIÓN ENTRE MICROROCNTROLADORES Y COMPUTADORES ES UNA FORMA BASICA DE MONITOREAR SENALES DE CAMPO, EL USO DE TECNICAS DE PROGRAMACION Y FILTROS FACILITAN LA TAREA.
LA COMUNICACIÓN ENTRE MICROROCNTROLADORES Y COMPUTADORES ES UNA FORMA BASICA DE MONITOREAR SENALES DE CAMPO, EL USO DE TECNICAS DE PROGRAMACION Y FILTROS FACILITAN LA TAREA.

More info:

Published by: John Fredy Martínez Cardona on Jan 26, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/04/2013

pdf

text

original

 
REDES Y COMUNICACIONES COMUNICACIÓN SERIALJOHN FREDY MARTINEZ CARDONA MANTENIMIENTO ELECTRÓNICO
COMUNICAR DISPOSITIVOS DE FORMA SERIAL
ENVIA Y RECIBE DATOS DESDE PC A MICROCONTROLADOR BIDIRECCIONAL
Se debe montar el circuito mostrado, pero utilizando los leds en conexión negada (comun +5v).Realizar el programa en visual basic, el programa en basic para el pic, enlazar con interface rs232y verificar resultados.
CIRCUITO EN PROTEUS
 
REDES Y COMUNICACIONES COMUNICACIÓN SERIALJOHN FREDY MARTINEZ CARDONA MANTENIMIENTO ELECTRÓNICO
PROGRAMA EN VISUAL BASICFORMULARIOCÓDIGO FUENTE
Option ExplicitDim SALE As StringPrivate Sub Form_Load()PTO.PortOpen = TrueEnd SubPrivate Sub Label4_Click()End SubPrivate Sub O0_0_Click()SALE = Chr(&H10)LED0.FillColor = vbBlackEnd SubPrivate Sub O0_1_Click()SALE = Chr(&H0)LED0.FillColor = vbGreenEnd SubPrivate Sub O1_0_Click()SALE = Chr(&H11)LED1.FillColor = vbBlack
 
REDES Y COMUNICACIONES COMUNICACIÓN SERIALJOHN FREDY MARTINEZ CARDONA MANTENIMIENTO ELECTRÓNICO
End SubPrivate Sub O1_1_Click()SALE = Chr(&H1)LED1.FillColor = vbGreenEnd SubPrivate Sub O2_0_Click()SALE = Chr(&H12)LED2.FillColor = vbBlackEnd SubPrivate Sub O2_1_Click()SALE = Chr(&H2)LED2.FillColor = vbGreenEnd SubPrivate Sub O3_0_Click()SALE = Chr(&H13)LED3.FillColor = vbBlackEnd SubPrivate Sub O3_1_Click()SALE = Chr(&H3)LED3.FillColor = vbGreenEnd SubPrivate Sub PTO_OnComm()Dim rx As VariantIf PTO.CommEvent = 2 Thenrx = PTO.InputIf (Asc(rx) And 1) Then SALIDA0.FillColor = vbYellow Else SALIDA0.FillColor = vbBlackIf (Asc(rx) And 2) Then SALIDA1.FillColor = vbYellow Else SALIDA1.FillColor = vbBlackIf (Asc(rx) And 4) Then SALIDA2.FillColor = vbYellow Else SALIDA2.FillColor = vbBlackIf (Asc(rx) And 8) Then SALIDA3.FillColor = vbYellow Else SALIDA3.FillColor = vbBlackEnd IfEnd SubPrivate Sub SALIR_Click()EndEnd SubPrivate Sub Timer1_Timer()PTO.Output = SALEEnd Sub

Activity (25)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Gregory Subero liked this
Fabio Morales A liked this
Rogelio Gende liked this
nandoelectronic liked this
Valery Valcarcel liked this
hle5457 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->