Let's Make Robots!

Simple C# Serial Communication Program

communicates with devices over serial
  • Programming language:

I'm slowly building a library of programs in C# for controlling robots, writing tutorials for how to make them as I go. I will be listing all my programs for robots here: Programs for Robots.  Edit: I am no longer building this set of tools unfortunately, however I will occasionally be making programs like this and will post them on my blog. Sorry about the link not working for this, it should now be working. 

 This is the first, and probably most simple, program that can both send a string over the serial and read data back from the serial.

You can view the tutorial on how to make this program (coming soon) and download it here: C# Serial Communication Program for Robots Tutorial

Update: I have added a save to file button, so the data read from the serial can be saved to a text file. I have also added a clear all button as shown below.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Completely forgot about this, been focussed on other things but heres my VB.net program: https://dl.dropbox.com/u/6524693/Serial%20Port%20Listener.zip

I might make a new one using C# and GTK# on mono

I also built a very similar application, its a little more complex (offering more options about the serial port) but is a little rough around the edges, I used VB.net in mine, I can share it if you wish (I'll probably go back and fix it up a bit)

This application was intended to be simple, offering only a few settings. It would be great if you could share yours though! :)

Thanks Toby...just thought you'd like to know. :-)

The links in this article no longer work.

Oh well......  :-)

Hi Hexadec, I had made some changes to my website, but I have updated the links and added the file back onto the website (thank god for backups!). The tutorial will be coming soon, when I have time :)


Thanks for the tutorial, very helpful! I'm thinking of making my own robot control program.

Thanks :) You should, it's not that difficult really!