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 educ8s.tv 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:
WHERE TO BUY
Arduino Mega: http://bit.ly/ArduinoMega
LCD Shield: http://bit.ly/ArduinoKeypadDisplay
Small Breadboard: http://bit.ly/SmallBreadboard
3 in 1 wires: http://bit.ly/Wires3InOne
Power Bank: http://bit.ly/XiaomiPowerbank2
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.
CODE OF THE PROJECT & SCHEMATIC
EUREKA 2017 QUIZ GAME
You can download my latest Android Game which is called Eureka here:
Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI
Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI
Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y
Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI
DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0
Educ8s.tv 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: http://www.educ8s.tv
SUBSCRIBE ON YOUTUBE
Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s