Skip to content

mnuaimi/Serial-Programming-CSharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming the Serial Port using C#(CSharp) on NET Core and Dot Net Framework


  • The code uses the SerialPort class from .Net Framework/NET Core 3.1
  • Code opens up a Serial port on Windows PC for communiating with a Microcontroller board (MSP430 Launchpad/ATmega328P).
  • Code transmits and receives between PC and Micro Conntroller
  • The code also shows how to control the RTS and DTR pins of the serial Port

Online Tutorial


Details

  • Code can be compiled using

    • Microsoft Visual Studio Community
  • Code will work with traditional serial ports as well USB Serial Converters.


ScreenShot of the Program

  • Program Receiving the data transmitted from ATmega328P Microcontroller (Lauchpad board).

  • Code running on NET Core 3.1

Devices used

About

Programming the Serial Port using C# and Dot Net FrameWork

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 44.9%
  • Makefile 33.7%
  • C 21.4%