Rules | Recent posts | topic RSS | Search | Register  | Log in

pc interface microcontroller using vb

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Author Message
daksh



Joined: 05 Sep 2007
Posts: 3


Post04 Oct 2007 10:09   pc interface microcontroller using vb

hi,
pls can u help with interface of PC with µP
i need for my be project
i am using VISUAL BASIC6.0 and microcontoller89C51
Back to top
penoy_balut



Joined: 08 Sep 2007
Posts: 120
Helped: 15


Post05 Oct 2007 1:12   pc interface microcontroller using vb

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.
Back to top
smainj



Joined: 22 Jul 2007
Posts: 6
Helped: 1
Location: Tunisia


Post05 Oct 2007 10:47   Re: pc interface microcontroller using vb

watch this
http://smainj.free.fr/tutorial/tutorial2.rar Very Happy
Back to top
daksh



Joined: 05 Sep 2007
Posts: 3


Post08 Oct 2007 8:04   Re: pc interface microcontroller using vb

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
Back to top
abbas1707



Joined: 03 May 2007
Posts: 226
Helped: 11


Post08 Oct 2007 15:22   Re: pc interface microcontroller using vb

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



Sorry, but you need login in to view this attachment

Back to top
daksh



Joined: 05 Sep 2007
Posts: 3


Post15 Oct 2007 10:08   Re: pc interface microcontroller using vb

how to get mscom icon in the visual basic enviroment
Back to top
abbas1707



Joined: 03 May 2007
Posts: 226
Helped: 11


Post15 Oct 2007 21:09   Re: pc interface microcontroller using vb

NeutralNeutral


Sorry, but you need login in to view this attachment

Back to top
eng_mahmoud87



Joined: 08 Jun 2007
Posts: 14


Post16 Feb 2008 15:20   Re: pc interface microcontroller using vb

there is many article in www.rentron.com speak about VB and microcontroller
Back to top
vmaxusb



Joined: 19 Dec 2007
Posts: 31
Helped: 3


Post26 Feb 2008 12:32   pc interface microcontroller using vb

There is a good explaination of project for pc interface microcontroller using vb.

http://8051projects.info/visualbasic.asp

Thank You....

vmax
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap