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