Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Make a project in VB with MSComm control, set baud rate, parity and handshaking matching your microcontroller. To send data, write to port buffer i.e. MSComm1.Output = "Hello World". In your mcu read the data (either polling or interrupt driven) from UART register.
thank u for the procedure but pls let me know
how to look out for the steps to interface to interface pc microcontoller using vb
there block diagrams hardware specifications and voltage level
do i require MAX 232 forthe project
Private Sub Form_Load()
MSComm1.CommPort = 1
MSComm1.Settings = "9600,N,8,1"
MSComm1.InputLen = 1
MSComm1.PortOpen = True
End Sub
Private Sub Command1_Click()
MSComm1.Output = Text2.Text
End Sub
Private Sub MSComm1_OnComm()
If (MSComm1.CommEvent = comEvReceive) Then
Text1.Text = Text1.Text + (MSComm1.Input)
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
If MSComm1.PortOpen = True Then
MSComm1.PortOpen = False
End If
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.