Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Microcontroller & Visual Basic

Status
Not open for further replies.

Maverickmax

Advanced Member level 1
Joined
Dec 6, 2004
Messages
404
Helped
8
Reputation
16
Reaction score
3
Trophy points
1,298
Activity points
3,691
Happy New Year guys....

Is it possible to interface a microcontroller chip with Visual Basic even I programme in C language? If it is possible, please can you give me any link for
some tutorials?

Maverickmax
 

checkmate

Advanced Member level 3
Joined
Feb 25, 2004
Messages
833
Helped
178
Reputation
356
Reaction score
125
Trophy points
1,323
Location
Toilet Seat
Activity points
7,815
Not as far as I know. I've seen java/C/BASIC in uCs but not VB. The only advantage of VB is rapid GUI development. A uC has no GUI to talk about.
 

Code Warrior

Full Member level 4
Joined
Dec 30, 2004
Messages
230
Helped
10
Reputation
20
Reaction score
2
Trophy points
1,298
Activity points
1,831
Dear Maverickmax,
It is NOT possible to intreface MCU to VB if you code in C. If you code in VB then only it is possible to link MCU to VB.

Regards.
 

muko

Member level 1
Joined
Mar 3, 2004
Messages
37
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
317
it is possible...for mcu to talk vb you can use mscomm
 

ravi_p

Member level 1
Joined
Jun 29, 2004
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
337
Hi muko

Even i am intersted in knowing how mcu to talk vb you can use mscomm can you please provide me with some code example of VB.net(mscomm) or any link

Thanks
 

nicleo

Advanced Member level 2
Joined
Sep 6, 2004
Messages
661
Helped
66
Reputation
132
Reaction score
12
Trophy points
1,298
Activity points
7,161
ravi_p said:
Even i am intersted in knowing how mcu to talk vb you can use mscomm can you please provide me with some code example of VB.net(mscomm) or any link
I think we could not find mscomm control in VB.net. Pls correct me if I'm wrong.

Some info here:
http://www.codeworks.it/net/VBNetRs232.htm
 

tgq

Full Member level 5
Joined
Jul 15, 2002
Messages
289
Helped
7
Reputation
14
Reaction score
4
Trophy points
1,298
Activity points
2,360
you have 2 different languages :
one for PIC (asm basic pascal C etc)
one for PC (VB Delphi Cpp etc)
NO relation between these two languages
if you code PIC in C you can interface with any language PC side, VB for example
 

bilgekaan

Full Member level 2
Joined
Nov 18, 2004
Messages
125
Helped
15
Reputation
30
Reaction score
1
Trophy points
1,298
Location
Turkiye
Activity points
1,300
"NO relation between these two languages
if you code PIC in C you can interface with any language PC side, VB for example"

only thing you have to do is implemeting a protocol for mcu and pc side . protocol must be identical not the languages
 

glenjoy

Banned
Joined
Jan 1, 2004
Messages
963
Helped
72
Reputation
146
Reaction score
20
Trophy points
1,298
Location
Philippines
Activity points
0
bilgekaan said:
"NO relation between these two languages
if you code PIC in C you can interface with any language PC side, VB for example"

only thing you have to do is implemeting a protocol for mcu and pc side . protocol must be identical not the languages
Yes this is correct, there is no relation between the two languages but you can always interface the two systems using different languages by using a common communication protocol.

You can use UART, USB and other communication protocols, communication is ruled by protocols not programming language.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top