Arduino Programming Tutorial: Visual studio and serial com port communctions

  Рет қаралды 114,307

Curdridge Observatory

Curdridge Observatory

Күн бұрын

This tutorial describes how to use Visual Studio with the Visual Micro plugin to program an Arduino to send messages down the serial port and how to write a windows program that receives those messages from the com port and displays them on the screen
Please view in 1080 HD and full screen then you can read the code!

Пікірлер: 37
@KrisKasprzak
@KrisKasprzak 8 жыл бұрын
Good tutorial. it may be good to point out that you CAN't have the arduino serial monitor window up when running the VB code.
@AnirbanKar4294
@AnirbanKar4294 10 жыл бұрын
thank you so much :) for the second part of the tutorial...(serial reading)
@alexandrebelanger1091
@alexandrebelanger1091 11 жыл бұрын
Awesome video and great quality. Was your Arduino connected to the PC via USB? Do you think it is possible to have an Arduino to read values from an accelerometer, and then have my C++ program to get those values so I can make calculations with them? Thank you, Alex
@ClearNinjaFox
@ClearNinjaFox 9 жыл бұрын
great video it explain some of my questions tho partially so let me go ahead and shoot. now this is where it gets interesting exactly where you decided to cut the video, as it was the main question i had "how can we have the program interact with that data coming in from arduino?
@TheRelic1974
@TheRelic1974 8 жыл бұрын
I have a WinForms app in VS2015. Serial comms work fine with all arduino flavors except for leonardo/pro micro. I know those bootloaders/boards have a virtual com port and I am using 'while(!Serial.Available) in my sketch. It seems the board is not receiving nor sending any data. Any advice? The same sketch and WinForm app works perfect with any other arduino board.
@das250250
@das250250 9 жыл бұрын
Can you explain why it would be worth using as opposed to standard arduino interface >?
@fabiotauk5130
@fabiotauk5130 11 жыл бұрын
Can you do the same example using a VS C++ Form? I can read data, from the serial port to a TextBox, but I CAN´t update it automatically (have to press a button). Thank You.
@bryanmendoza3919
@bryanmendoza3919 9 жыл бұрын
HI sir did you try create a program in visual studio that display the reading measure of ultrasonic sensor?
@FrankLopezx
@FrankLopezx 9 жыл бұрын
why dont i get anything in my toolbox drop from the tab on the left? and why when i run the port com feature i get a pop up?
@phisitja01
@phisitja01 10 жыл бұрын
thank you for your information
@ricardomariz2941
@ricardomariz2941 8 жыл бұрын
Very good!!!
@SWEKREZZ
@SWEKREZZ 8 жыл бұрын
Great video :-)
@VaupellGaming
@VaupellGaming 10 жыл бұрын
tryed adding it to a textbox text but that did not work :p TextBox1.Text = (objSerial.ReadExisting)
@KrisKasprzak
@KrisKasprzak 8 жыл бұрын
+Eqvaliser did you ever get this working? I'm using a form application and my withevents never fires when a serial change
@josedejesusmaciel2925
@josedejesusmaciel2925 10 жыл бұрын
is this compatible with visual studio 2013 ultimate?
@marincokaric789
@marincokaric789 10 жыл бұрын
Is there a way to communicate with Arduino over usb in Visual Studio 2013?
@mahdisalah6834
@mahdisalah6834 9 жыл бұрын
thanks .. but why the keyword (serial) not exist !! please help
@itmemo8617
@itmemo8617 7 жыл бұрын
Moss from the IT crowd is that you ?
@AfterDarknes
@AfterDarknes 11 жыл бұрын
Thanks!
@kemalkaradag76
@kemalkaradag76 7 жыл бұрын
Thank you.
@marincokaric789
@marincokaric789 10 жыл бұрын
I am not receiving anything in Visual Basic application. Just a empty console :( When I check Serial monitoring tools Arduino program is still running fine and counting :) Any tips?
@marincokaric789
@marincokaric789 10 жыл бұрын
Fixed by sending RTS signal. RTS signal needs to be set to 0 after You finish reading data. Sub Main() objSerial.BaudRate = 57600 objSerial.RtsEnable = True objSerial.Open() Console.ReadKey() objSerial.RtsEnable = False objSerial.Close() End Sub
@IanDorionHD
@IanDorionHD 9 жыл бұрын
+Marin Cokarić I have the same problem. Empty console. Tryed your RTS seting still not getting anything
@marincokaric789
@marincokaric789 9 жыл бұрын
Ian Dorion sorry for late reply, here is my thread on forum, I fixed most of issues and my code worked after :) forum.arduino.cc/index.php?PHPSESSID=5e4dl9d44ae4pj76pqun1ho593&topic=290197.0;nowap
@13firebug13
@13firebug13 10 жыл бұрын
Why am I getting "Access to the port 'COM3' is denied."?
@13firebug13
@13firebug13 10 жыл бұрын
Never mind I realized I had to close Arduino as the port was being used by that.
@awknmx
@awknmx 10 жыл бұрын
13firebug13 How did u close the port? I'm unable to upload programs again from visual atmel 6 :S
@13firebug13
@13firebug13 10 жыл бұрын
Immanuel V Sorry I don't know anything about Visual Atmel
@MrSwiss313
@MrSwiss313 10 жыл бұрын
Immanuel V did you find a solution? also getting the same error with atmelstudio 6.
@13firebug13
@13firebug13 10 жыл бұрын
4ightBit I think what I done was had the Arduino IDE open, so I closed it because the port was being used by that as well.
@salimshahzada4786
@salimshahzada4786 6 жыл бұрын
sir, i need your help
@pb695
@pb695 10 жыл бұрын
why is that my serial monitor shows garbage language?
@tavaci81
@tavaci81 11 жыл бұрын
PS :)
@geneemailbox4geneemailbox465
@geneemailbox4geneemailbox465 7 жыл бұрын
that was horrible... woudn't know where to start in visual basic.... what a horrendous programming language but i bet making delay() is a whole lot easier than a CLR c++ project
ASCOM Driver tutorial for Arduino Astronomy Hardware using Visual Studio
30:17
Curdridge Observatory
Рет қаралды 36 М.
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 23 МЛН
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 2,7 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 17 МЛН
когда не обедаешь в школе // EVA mash
00:51
EVA mash
Рет қаралды 4,2 МЛН
STM32 Guide #1: Your first STM32 dev board
12:12
Mitch Davis
Рет қаралды 214 М.
Running Apple 1 software on a breadboard computer (Wozmon)
14:23
Arduino & Visual C# - Control Servo Motor
10:07
ChillyCoding
Рет қаралды 75 М.
Getting Started with PlatformIO
51:54
DroneBot Workshop
Рет қаралды 626 М.
ASCOM client astronomy development tutorial and introduction
16:33
Curdridge Observatory
Рет қаралды 26 М.
Build an Arduino EEPROM programmer
57:30
Ben Eater
Рет қаралды 1,5 МЛН
Designing Billions of Circuits with Code
12:11
Asianometry
Рет қаралды 598 М.
CAN Bus Explained - A Simple Intro [v2.0 | 2021] 🌟
14:44
CSS Electronics
Рет қаралды 231 М.
Writing Arduino Code using Visual Studio and Visual Micro
23:08
Green Shoe Garage
Рет қаралды 20 М.
How do QR codes work? (I built one myself to find out)
35:13
Veritasium
Рет қаралды 5 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 23 МЛН