Myvideo

Guest

Login

Control an Arduino Uno From C# in Visual Studio

Uploaded By: Myvideo
1 view
0
0 votes
0

Here's a quick way to control an Arduino Uno microcontroller from Visual Studio using C#. No external libraries or 3rd party devices are required. All you need is an Arduino Uno, a USB cable and a Windows PC. Source code is at the bottom of this description. 00:00 - Requirements 00:48 - Visual Studio Code 03:50 - Arduino IDE Code 05:23 - Code Testing 06:43 - Arduino Driver Nuget Packages Here's how to read data from an Arduino's sensor in C#: If you have any questions about the C# or Arduino code I present in the video then leave a comment below. I think the biggest potential problem with it is that it won't work if you accidentally leave the Arduino IDE's Serial Monitor window open. Also ensure you're using the correct COM port name and baud rate in both Visual Studio and the Arduino IDE. There was a really awesome Arduino Nuget Package for Visual Studio that allowed precise control over the Arduino from withi

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later