Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xanthium-enterprises/serial-programming-using-visual-basic.net

Programming your PC's Serial Port using Visual Basic.Net and .NET Platform (.NET framework) Tutorial
https://github.com/xanthium-enterprises/serial-programming-using-visual-basic.net

comport dot-net-7 dotnet-core dotnet-framework serial serial-communication serialport visual-basic-net

Last synced: about 14 hours ago
JSON representation

Programming your PC's Serial Port using Visual Basic.Net and .NET Platform (.NET framework) Tutorial

Awesome Lists containing this project

README

        

# Cross platform Serial Port communication between Arduino and PC using VisualBasic.Net
![Serial Port communication between Arduino and PC using VisualBasic.Net and .NET Platform](https://www.xanthium.in/sites/default/files/inline-images/serial-port-programming-tutorial-visual-basic-net-platform.jpg)

## Intro
In this tutorial,

- We will learn to program the USB Virtual serial port of a PC using Visual Basic.net and .NET platform [.NET Framework 4.5 +,.NET Core,.Net8/9] on **Windows** and **Linux** Systems

- The code will Work on the following .NET platforms
- Classical .NET Framework 4.5+
- .NET Framework 4.8+
- .NET Core 3+
- .Net 8/9

- Following OS are supported
- Windows 10
- Windows 11
- Linux (Ubuntu)

- ![Serial Port programming tutorial using VisualBasic.NET on the .NET Framework Platform](https://www.xanthium.in/sites/default/files/inline-images/serial-port-programming-visual-basic-net.jpg)

## Tutorial

- [Serial Port programming tutorial using VisualBasic.NET on the .NET Platform](https://www.xanthium.in/serial-port-programming-visual-basic-dotnet-for-embedded-developers)

- [Serial Port programming tutorial using VisualBasic.NET on Linux Platform](https://www.xanthium.in/serial-port-tty-terminal-programming-on-linux-visualbasic-dotnet-platform)

- Discover How to program your PC's serial port using **VisualBasic.Net** and the **.NET Platform** in our tutorial. Learn to communicate with Arduino, microcontrollers, and Labjack devices via Virtual COM port connections.The tutorial will Enhance your embedded system coding skills and help in your professional Growth.

- Tutorial will teach the following things.

- Creating a VB.Net Project,add required namespaces using nuget on Visual Studio Community
- Using the SerialPort Class from System.IO.Ports namespace
- How to interface Arduino with PC using (visual Basic.NET)VB.NET Serial Communication
- Interfacing Bare Microcontroller like 8051,ATmega to a PC using VB.Net using SerialPort
- Finding Available Serial Ports on your PC using Visual Basic.Net
- Using VB.net Exceptions to handle Errors in Serial Port Programming
- Reading data send by Arduino from Serial Port using (visual Basic.NET) vb.net
- Setting Timeouts in Serial Port Read Operations
- Sending Data from PC to Arduino using VB.Net(visual Basic.NET)

## Hardware Connections

-![Arduino UNO to PC Serial Communication using Visual Basic.Net and .NET Platform](https://www.xanthium.in/sites/default/files/inline-images/arduino-pc-communication-visual-basic-net.jpg)
-![Microcontroller UART to PC Serial Communication using Visual Basic.Net and .NET Platform](https://www.xanthium.in/sites/default/files/inline-images/microcontroller-interface-pc-vb-net.jpg)

## Screen Shots

-![Reading data from Serial Port using vb.net](https://www.xanthium.in/sites/default/files/inline-images/image_15.png)

## Repo Contents

- Arduino_String_Transmit_Loop - Arduino Code to send data to PC
- VB_Source_Codes_Only
- ConfigSerialParam.vb
- FindAvailablePorts.vb
- SerialCommRead.vb
- SerialCommWrite.vb
- SerialPortExceptVB.vb
- SimpleReadDataSerialPort.vb

- Visual_Studio_Project_Solution - VS Studio Community sln