Continue to Site

Welcome to EDAboard.com

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.

Serial port programming in Visual Studio >Visual Basic> Windows form application

Status
Not open for further replies.

yvqn9945

Newbie level 4
Joined
Aug 19, 2013
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
50
Serial port programming in Visual Studio >Visual Basic> Windows form application

Please any one can give me tutorial on serial port programming to write a Microsoft Visual Studio > Visual Basic > Windows Form application to communicate with Microcontroller. I have googled it but confused with visual c#, visual c++ and visual basic 6 &
What is the difference between visual studio >visual basic and visual basic 6.
 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
14,690
Helped
2,867
Reputation
5,744
Reaction score
2,876
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
109,759
Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

Sometimes the software package will include a sample program of what you want to do.

You may need to poke through folders labelled 'samples', 'examples', 'help', etc.

And deeper among folders such as 'communication', 'comm', 'serial', etc.

With the BASIC's I'm acquainted with, you open serial communications by using a command similar to "OPEN COMM" followed by a few parameters. After that you read or write to the serial port similar to the way you do a disk file.
 

abhi@eda

Member level 1
Joined
Mar 12, 2013
Messages
41
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Bangalore
Activity points
1,679
Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

use the Serial class communicate through serial port with the device

Serial.getPortNames() -- gets you the port available on windows

Serial.baudrate() to set baud rate,and partiy,timeout and other stuff,set it up

and use Serial.write() to write date to serial port

after writing character,then close it using Serial.close()
 

taralshah

Newbie level 2
Joined
Oct 29, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
14
Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

Please any one can give me tutorial on serial port programming to write a Microsoft Visual Studio > Visual Basic > Windows Form application to communicate with Microcontroller. I have googled it but confused with visual c#, visual c++ and visual basic 6 &
What is the difference between visual studio >visual basic and visual basic 6.

For Visual Basic 6 tutorial with serial port for 8051 and PIC, you can visit this page. You can get simulation files, simulation video and more there.
https://embeddedtweaks.wordpress.com/category/projects/8051-microcontroller/
https://embeddedtweaks.wordpress.co...-appliances-via-pclaptop-pic-microcontroller/
 

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,118
Helped
596
Reputation
1,188
Reaction score
571
Trophy points
1,393
Location
Norwich, UK
Activity points
13,063
Last edited:

taralshah

Newbie level 2
Joined
Oct 29, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
14

Embedded_Geek

Full Member level 6
Joined
Jul 5, 2010
Messages
340
Helped
58
Reputation
116
Reaction score
56
Trophy points
1,318
Location
Germany
Activity points
2,948
Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

If you are good at C and if you are looking for quick development then go for C#.NET

Visual C#, Visual C++ and Visual Basic are various kinds of languages.
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top