Arduino Tutorial: C# to Arduino Communication. Send data and commands from Computer to an Arduino.


Dear friends welcome to another Arduino Tutorial! Today we are going to build a C# windows application to send data and commands to an Arduino. Let’s get started!

Hello guys, I am Nick and welcome to a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. Subscribe to the channel now if you don’t want to miss any future videos. In this video we are going learn how to build our own computer programs, in order to communicate with Arduino. I have built a simple project to demonstrate how easy it is to build your own Windows applications that can control an Arduino.

I have connected an LCD shield to an Arduino Mega, and I have also connected three LEDs to it. The application that I have developed connects to the Arduino using the Serial connection, and allow us to write some text to the LCD display and control the state of the LEDs. As you can see this is a very useful project if you need to send some data from your computer to an Arduino. Let’s see how to build this project.

The parts needed in order to build this project, are the following:


Arduino Mega:

LCD Shield:



Small Breadboard:


Power Bank:

Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

The software that we are going to develop today, runs only on Windows, it won’t work on Linux or Mac. We are going to use Visual Studio 2017 community edition in order to develop the application. Visual Studio 2017 community edition is absolutely free. It is great development environment for Windows. With Visual Studio, you can literally build simple Windows Applications in minutes. First of all you have to download the installer, and install it on your machine. When prompted, select to install the .NET desktop development package and then press the install button. After the installation is complete you can launch the development environment.

Now you have two options, you can create a new project and build your own application from scratch using the C# programming language or you can download my project and modify it to achieve your desired results. Of course you want to just test the project and can just run the executable that you can find in the description of the video. If this is the first time you are using Visual Studio, please watch some tutorials on YouTube to help you getting started. Since Visual Studio is very popular you can find great tutorials online. I won’t show how I built this Windows Application in detail in this video but if you are interested I can prepare another very detailed tutorial on that. Are you interested in a detailed tutorial on how to build a Windows Application like this on Visual Studio? Please vote by clicking on the card here.


Quiz of Knowledge Android Game

You can download my latest Android Game which is called Quiz of Knowledge here:


Arduino Datalogger:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
DIY Arduino:

——————– is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information:


Never miss a video:



Please enter your comment!
Please enter your name here