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

  Рет қаралды 326,088

educ8s.tv

educ8s.tv

Күн бұрын

Пікірлер: 288
@Educ8s
@Educ8s 6 жыл бұрын
I hope you took away lots from this video and you managed to get it to work. Let me know below! PS. WANT TO LEARN CODING? CHECK MY NEW KZbin CHANNEL! bit.ly/3tku2n0
@gauravgusain7199
@gauravgusain7199 6 жыл бұрын
sir need your help
@gauravgusain7199
@gauravgusain7199 6 жыл бұрын
sir i need to define the communication protocol i.e structure of the message to send data how can i do that i have servo motor and dc motor servo for controlling the direction and dc for speed so how can i define the protocol
@cdm7362
@cdm7362 5 жыл бұрын
TENES UN CANAL EN ESPAÑOL?
@Knightfire66
@Knightfire66 4 жыл бұрын
do you also have code to do that using c?
@tinfore
@tinfore 7 жыл бұрын
I clicked yes. I would love to see some tutorial on C#. This has been one of your most interesting videos. I think implementing this in future projects will be great. Thanks!
@owlsight4499
@owlsight4499 7 жыл бұрын
Not only are your tutorials awesome, but the quotes that you include and which are shown in the beginning of the videos adds yet another cup of awesomeness to the mix. Thank you for the time and effort you put on creating these great videos!
@sanalcombat
@sanalcombat 7 жыл бұрын
Hocam merhabalar ben uzun zamandır web development ile uğraşıyorum fakat artık c# yönelmek istiyorum önerir misiniz bu videoyada rastgele geldim :D
@Educ8s
@Educ8s 7 жыл бұрын
Thank you very much for this awesome comment! Comments like yours motivate me to produce even better videos!
@PIDOtomasyon
@PIDOtomasyon 2 жыл бұрын
@@sanalcombat Ben uzun zaman Delphi ve C# ile uğraştım. Şimdi Python ve Node-Js ile herşeyi yapabilindiğini keşfettim.
@sum41greekfun
@sum41greekfun 3 жыл бұрын
Το ότι θα έψαχνα να βρω αυτό το αντικείμενο και θα έβρισκα πάνω πάνω έλληνα με ξεπερνά ! BRAVO !
@germang.4514
@germang.4514 3 жыл бұрын
I have learned more in these 10 minutes than in hours of other tutorials.
@geluidsbox9195
@geluidsbox9195 7 жыл бұрын
You should definitely make more video's with C#, I have never seen this ever in any other Arduino video's and I really love it. After your video today I made my first own program with my WS2812B led strip which I can now control through my C# program :D, and it looks so fancy, please make more video's of this!
@saeedmardani3900
@saeedmardani3900 6 жыл бұрын
Hi Nick, the idea of detailed description of c# should be very useful. Please do it at some point
@raymondmichael4987
@raymondmichael4987 5 жыл бұрын
If you didn't know, your tutorials are very helpfully, I now comfortable working with lcd frop nokia lcd to oled display just after watching your "menu on nokia display"; i believe you'll create c# tutorials. Please Greetings from Tanzania 🇹🇿
@abdulazeez.98
@abdulazeez.98 7 жыл бұрын
The project idea about displaying CPU, RAM.. usage is AWESOME! I always wanted to create such a thing.
@sergioorozco3853
@sergioorozco3853 6 жыл бұрын
Thank you very much, this tutorial is Gold, you really helped me, i worked in visual c++ windows forms; i'm a beginner and i didn´t have an idea of how to do it but you have done an excellent work, thank you again, now i'm gonna subscribe to your channel hahaha, and i'd like to see more content of this. Thanks for your time on this
@fred20659
@fred20659 7 жыл бұрын
Very neat and simple (nothing superfluous). Well done! Thank you!
@EsraFisolfi
@EsraFisolfi 5 ай бұрын
What a treat, you could remote control your computer and trigger water pumps via relays automatic feeding to keep your fish happy, while youre on vacation. Very handy tutorial
@liveunderwater
@liveunderwater 7 жыл бұрын
Thank you for making videos that not only educate, but inspire.
@dimpap5565
@dimpap5565 7 жыл бұрын
Ενα θα σου πω (Συγγνωμη για την ορθοργαφια αλλα εχω προβλημα) ΑΑΑΑΑΑΑ! Ενα τετοιο Tutorial εψαχνα παντου και το αναβασες εσυ ενας πατριοτης μου Συνχαριτιρια μονο μονο μπραβο μπορω να σου πω συνεχισε την καλη δουλεια και τετοιου ειδους βιντεο εχω κολησει με εσενα ΜΠΡΑΒΟ
@dimpap5565
@dimpap5565 7 жыл бұрын
Πρεπει να πω οτι προσπαθουσα να φτιαξω ενα Data Logging System με Visual Basic διοτι ειχα προβληματα με την C# αλλα και παλι εχω ανεξηγιτα EXCEPTIONS!
@dimpap5565
@dimpap5565 7 жыл бұрын
So what? I wrote this comment for Nike
@Torsan1977
@Torsan1977 7 жыл бұрын
Huge like! you somehow seem to publish the perfect solution to a question that I'm thinking of - over and over again! Thank you!!
@teoteo6670
@teoteo6670 7 жыл бұрын
Hi Nick, Great job! i feel proud that someone from Greece does such great job... keep doing it! i believe a more in depth tutorial in C# and Visual Studio will be very helpfull for all your subscribers! i also believe an interesting C# application will be an auto sketch builder from "source template sketches" that according to some setting in the app will auto create a working final sketch, for example ...when chose a "led" checkbox and a button checkbox will create a new sketch that a button will controll the led.(sorry all for my English i am also from Greece!)
@randominternetviewer166
@randominternetviewer166 7 жыл бұрын
Hi Nick. The next biggest idea i can think of, If you can make code that can read the bits in drawings, then you can create a lazer engraving machine from arduino. and even better - build your own 3d printer! how amazing is that! you'll probably be the first one on youtube to show this - a 3d printer all from scratch - no kits and no pre-made software! thats hardcore!
@PhG1961
@PhG1961 7 жыл бұрын
Great tutorial ! I love'em all. Especially those with Visual Studio and Arduino. I'm into robotics, it would be nice to cover a little bit more of that too. Keep the good work coming !!
@BigerBoy
@BigerBoy 7 жыл бұрын
Yes!! Make a visual studio tutorial please!!!
@vaisakhsreekumar4562
@vaisakhsreekumar4562 4 жыл бұрын
did he ever make a tutorial for the app development? If yes could you give me the link?
@KiemPlant
@KiemPlant 3 жыл бұрын
I know I could have read some documentation but it was really interesting to see your approach. Im planning on controlling my Arduino with a few WS2812B 144 Led/m led strips I got and make it so that it has information from the PC available. I want to pimp my setup in a way that the Arduino is powered by a USB port of my computer, then once it starts up the Arduino will display a cool loading animation until the software (which will automatically start with windows) starts up and sends a command to the microcontroller which will end the animation and display information depending on the profile I have selected. For example having it display a different set of colors or gradients depending on the temperature of the GPU or a different color depending on the average color gradient throughout all my monitors. Because the LEDs are individually addressable I'm probably going to have a bit too much fun with this project ;p. Maybe I can even find a use for my 3D printer like making an enclosure or something.
@anca30000
@anca30000 7 жыл бұрын
Fantastic! So many possibilities! Thanks again for another great project.
@AhCup
@AhCup 7 жыл бұрын
Best video of the channel so far, super simple and useful. Thank you ~ !
@jb1tco.348
@jb1tco.348 5 жыл бұрын
Very good, i'm brazilian and your video go me be very help, very thank ! Sorry my english is not very good !!! I go wait for many more videos!!!!
@christosvrettos6742
@christosvrettos6742 7 жыл бұрын
Very comprehensive tutorial. I find it helpful and easy to follow. This is a useful tool for all of us who try to enter the Arduino world. Thank you so much
@kenosako9380
@kenosako9380 6 жыл бұрын
Terrific explanation on how to build c# application interfaced on an Arduino
@yuchoy1
@yuchoy1 7 жыл бұрын
Hi Nick. Loving your wonderful videos! I have an idea for a cute little project... how about a rotary encoder hooked to an arduino pro-mini, that brings up a small menu on the pc screen when you push the knob, allowing selection of the different audio controls. Volume/balance etc.in the Windows 7/8/10 environment, hooked into the pc via usb and a C# app? Or add in an esp8266 to do it all through Wifi?
@donr2670
@donr2670 3 жыл бұрын
GREAT work - I can leverage my substantial C# code using this method to control Arduino, thank you!
@Les-electroniciens
@Les-electroniciens 7 жыл бұрын
Very nice and very usefull! That's the best alternative to the LabVIEW Interface for Arduino and it's 100% Free. Thanks Nick!
@Educ8s
@Educ8s 7 жыл бұрын
Yes, Visual Studio is so powerful!
@Paulo-jv7zz
@Paulo-jv7zz 7 жыл бұрын
Hey !! U=RI Je vois que je ne suis pas le seul français !!
@DanielsGameVault
@DanielsGameVault 4 жыл бұрын
Can this be achieved via TCP/IP as well, by using the ethernet shield ? Say, for a project located far away from any USB port.
@jb1tco.348
@jb1tco.348 5 жыл бұрын
The Portuguese legend is excellent. Very Thank!
@АлексейГулин-з7л
@АлексейГулин-з7л 7 жыл бұрын
cool! And on the basis of this program you can create an application that monitors CPU and memory usage on the computer?
@Ilidan1985
@Ilidan1985 6 жыл бұрын
love it expecially that I know basic C#! Didn't know you can use it to "talk to" Arduino!
@hisamk7765
@hisamk7765 7 жыл бұрын
Hello sir.... Very thanks for your great information ......I really enjoyed your work... Plz upload nice videos like this....The video and concept is awesome...
@sergioestrada3397
@sergioestrada3397 11 ай бұрын
Excelent video, perfect work!, thank you👍
@einfachnurzetor
@einfachnurzetor 4 жыл бұрын
Is it possible to get data from the arduino and Display that in the GUI like a button click?
@einfachnurzetor
@einfachnurzetor 4 жыл бұрын
@Peace Roasted Yes xD
@andreiuku1
@andreiuku1 7 жыл бұрын
Thank you for investing time in these tutorials! I reached out through your contact form on the website last week but hand't heard back yet. Looking to connect for a project.
@alexisp2114
@alexisp2114 5 жыл бұрын
Thank you so much for your videos ! It's awesome as usual !
@informacionesprovachile9966
@informacionesprovachile9966 5 жыл бұрын
Could you explain how to read an external eeprom through arduino and visualize the dump in csharp software?
@RichardNiemand
@RichardNiemand 7 жыл бұрын
Great video, I am going to be giving this a try in the morning. The CPU / Memory monitor would be a fun little project which could be taken even further by making use of an attiny85 to keep everything nice and small, you can power the chip via the 5v from USB and talk to a screen over i2c possibly
@RichardNiemand
@RichardNiemand 7 жыл бұрын
Hi there - I have been playing thanks to your video and have created the following serial application to test with (github.com/rniemand/SerialTester). I have also created a crude version of the external CPU \ Memory display project you mentioned towards to end of your video over here (github.com/rniemand/BlogDuino/tree/master/projects/CpuMemScreen) and would love to get some feedback on what you think of my initial attempt - here is a pic of it working - imgur.com/a2ubtrN
@melannieworld
@melannieworld 2 жыл бұрын
I have a claw machine, which i would like to setup something like this to move the claw and drop the claw by using my computers keyboard. Any ideas, where to start?.
@deepstonecrypt
@deepstonecrypt 3 жыл бұрын
Is this like writing stuff in the serial monitor? Because i need to find a way to automatically send commands through the serial monitor
@yoyoh7834
@yoyoh7834 7 жыл бұрын
ohh really cool tutorial ! it is very helpful for new Arduino users like me 😄. thank you so much !!!
@cad3175
@cad3175 7 жыл бұрын
..very nice video, thanks for sharing. For Linux -> people might check out Vannevar Margan's videos which use QT and C++ to control LEDs and temp sensor. Suggestion) the next step could be to use the PC ui to control the Arduino/esp8266/esp32 wirelessly, that would be useful as you could communicate with sensors/motors in your garden, the PC application could act as a control centre, a lot of potential there - let the chickens out early, check the soil moisture, plot the temperatures from last night etc.
@cad3175
@cad3175 7 жыл бұрын
..Vannevar Morgan, correction
@efthymiostsoumetis
@efthymiostsoumetis Жыл бұрын
Εξεταστικό βίντεο, συγχαρητήρια!
@blybaly
@blybaly 7 жыл бұрын
very simple and great video! please continue c# in details. Also please include remote internet control with c#
@ramink1990
@ramink1990 7 жыл бұрын
I just discovered your channel today, the tutorials are awesome, please do more videos on arduino VS communication I appreciate your work in advance.
@Educ8s
@Educ8s 7 жыл бұрын
Yes, I will make more tutorials like this one! Stay tuned!
@beabear5428
@beabear5428 6 жыл бұрын
Very useful video. It will help me very very very much. Thanks :D
@remi19999
@remi19999 2 жыл бұрын
I have a GUI to be connected to the arduino. Can I activates certain motors to work at the same time? Like sending parallel data I want the pharmacist to select medicines which will be dispensed by springs that are connected to motors. After selecting the medicines, when he clicks dispense button all the selected motors work at the same time. Is that possible?
@maza6357
@maza6357 7 жыл бұрын
Thanks a lot. very nice channel and I am a big fan of it. Yes we do need more about computer application controlling arduino.
@akatragicbronson
@akatragicbronson 3 жыл бұрын
can i use the LCD with the I2C interface to show the word? if it can, what would the code gonna be?
@materiallize4799
@materiallize4799 4 жыл бұрын
If visual studio is too big for you you can use #develop (sharpdevelop) it is really good and intuitive
@k2icc
@k2icc 6 жыл бұрын
Using an LCD touch screen will be a great idea too.
@thefox1703
@thefox1703 6 жыл бұрын
Outstanding demo!
@Cybergrip1
@Cybergrip1 6 жыл бұрын
Wow...many thanks for putting me on the right track.
@mike0rr
@mike0rr 2 жыл бұрын
How do you find what Serial Port your Arduino is on? I'm working on a project and need to send my Arduino some X and Y coordinates over Serial from my PC. I mostly just need to know how to find the port name really. is it just "COM#"?
@MPElectronique
@MPElectronique 7 жыл бұрын
Hi. Can we do with the arduino chip standalone with the bootloader too ? Thank You. Marc.
@jesustomas6105
@jesustomas6105 5 жыл бұрын
Your video is still useful!! Thank you for sharing!!
@Balthar
@Balthar 4 жыл бұрын
Quick question... There is "if" on ardu which is checking if there is " " in thr string. But we are sending whole string of text - not just only " ". So am I right - This "if" is true, even when " " is just a part of string? :) Thx :)
@SafeworkArgentina
@SafeworkArgentina 5 жыл бұрын
i have a question. its posible to import the data directly from pc with software like visual studio?
@newtechnical715
@newtechnical715 3 жыл бұрын
Sir if we want save temperature data on pc csv format what thing required
@AhmedMohammed-kz6ej
@AhmedMohammed-kz6ej 3 жыл бұрын
Yes I want to see how u built that window application on Microsoft Visual Studio
@jumbo999614
@jumbo999614 4 жыл бұрын
Do you have video where you read picture/video/music stored in SD Card using SD card module and play them in Windows desktop app?
@shanedriscoll2809
@shanedriscoll2809 6 жыл бұрын
This was a very helpful video. Thank you for sharing.
@mranilkumarsethijr1368
@mranilkumarsethijr1368 7 жыл бұрын
thanks for great work ! please please do kindly try to slow down in certain places like when showing which modules to install, but on the whole, youre awesome !
@legoscratch
@legoscratch 7 жыл бұрын
Would it be possible to send files to the Arduino? For example you could send an image to be displayed on a Tft
@reymensk8
@reymensk8 6 жыл бұрын
Would you mind helping me ? How could I do this exact thing but with an I2c. Me LCD is connected to one, so I'm using 2 wire to program it.
@avejst
@avejst 7 жыл бұрын
Thanks for sharing. A good idea to connect to a PC. You could also do LattePanda as a PC 😀👍
@denisdeschenes3622
@denisdeschenes3622 7 жыл бұрын
iam trying to find a way to send ( 0 @ 1023 ) to the arduino with an track bar ????do you have any suggestion ...i already tryed the lowbyte and highbyte but doen't work at all....
@guypannetier7424
@guypannetier7424 9 ай бұрын
Simplement Excellent!
@gomeses9589
@gomeses9589 5 жыл бұрын
Hello, I will use ssd1306 oled instead of lcd 16x2, so How can i change to codes (arduino and C#)
@YigalBZ
@YigalBZ 3 жыл бұрын
Great and valuable video. Please consider a similar video based on WIFI/BT.
@ishaymeshulam6320
@ishaymeshulam6320 5 жыл бұрын
Tank you. that what i'm looking for. if I want to send command to the matrix led where I need to change?
@AcrimoniousMirth
@AcrimoniousMirth 7 жыл бұрын
Hey, I’m trying to send commands to my Arduino of the form: *M104 S200;* where “M” is an alpha character that denotes a form of command, “104” is the exact command, “S” denotes the beginning of the value being written and “200” is the value. “;” denotes the end of the command string. I’m looking to write it in C as it is less memory-consuming than Arduino but I have no idea how to write it on my Arduino and can’t find anything really helpful online. How should I do this? Thanks :)
@mmurillo09
@mmurillo09 6 жыл бұрын
Great video man! I'ts going to be very helpfull for the project i'm starting... saddly the link for downloading the code is broken, can you fix it please? :)
@diddyholz3290
@diddyholz3290 6 жыл бұрын
I love your accent! :D
@bozotheclown935
@bozotheclown935 2 жыл бұрын
Can we use a later version of Visual Studio to do all this - especially the visual interface? Thanks,
@Educ8s
@Educ8s 2 жыл бұрын
Sure!
@abdulkadirgozuoglu8946
@abdulkadirgozuoglu8946 7 жыл бұрын
Very useful video. We are still waiting for reading data from Arduino and see it on the c# form.
@stefmyt5062
@stefmyt5062 3 жыл бұрын
Πολύ ωραίο βιντεο, με βοηθησε πολύ.
@billycode6771
@billycode6771 3 жыл бұрын
straight to point , thank you
@mattiagaliani3839
@mattiagaliani3839 5 жыл бұрын
What if I'd like to run this application on MacOS or Linux? What options do I have and which Language/IDE is appropriate?
@philipjensen6442
@philipjensen6442 7 жыл бұрын
please make a tutorial on how to make the application window! great job
@ganders555
@ganders555 6 жыл бұрын
Amazing video. Keep the videos coming.
@davidpodeszwa7010
@davidpodeszwa7010 7 жыл бұрын
Oh, that CPU and RAM usage. I had the same idea a long time ago :D but i wanted to make it more High-Tech with real LCD screen and graphs, then i find out that it would cost a lot of money to buy this type of screen and i dont want to spend them on that. Thanks to you i will use some Nokia5110 display lying in my drawer to make it.
@Educ8s
@Educ8s 7 жыл бұрын
Hello David. I am glad that the video was useful. Please when ready share your project with us! I would love to see it in action!
@satrah101
@satrah101 7 жыл бұрын
Hello David, have to tried Processing. processing.org/ . all designed on PC. takes a bit to learn but it a lot of fun to work with. Works great with arduino. All the best.
@davidpodeszwa7010
@davidpodeszwa7010 7 жыл бұрын
I know about processing. It's wonderful language, but since I am C# programmer and I love it, learning processing will be useless for me because I can do everything in c# even if it's more complicated. I don't say anybody else shouldn't learn processing, its just better for me to stick with C#
@pauldusa
@pauldusa 7 жыл бұрын
Any Arduino board will do the same job, heck a micro pro & a ic2 display will be the simple hardware to start with... Nick your always Cool overall..
@Educ8s
@Educ8s 7 жыл бұрын
Yes, of course, any Arduino board can achieve the same result. This is just a demonstration so I used the easiest hardware solution for a newcomer to Arduino. Thanks !
@nirtzezana627
@nirtzezana627 4 жыл бұрын
You are a god among men!
@JoaoBarbosa1996
@JoaoBarbosa1996 7 жыл бұрын
this is great! do more pc-arduino coms!
@yordanyordanov7725
@yordanyordanov7725 6 жыл бұрын
Visual studio is like 1000 times better than Processing. That's incredible !
@YouTubeBoy
@YouTubeBoy 5 жыл бұрын
if (inputString.substring(5, 7).equals("ON")) can u tell me why u getting 5,7 ?
@joaocol2978
@joaocol2978 4 жыл бұрын
Great Video! I'm doing a Lockers Control system, and i'm trying to find a good way to make a pc interface.... Your video is Great! and so are you! Thanks in advance, im excited to start! Thanks!
@40민
@40민 4 жыл бұрын
I have a question! where can I get the "ComputerToArduiono_TemporaryKey.pfx File" and wht is the purpose of this file? plz reply to me thanx.
@LUCKY007725
@LUCKY007725 7 жыл бұрын
nice tutorial as always I am also using c# and made some office use applications but after use of arduino I a automation project, I have done lots of things but I am stuck in how to read multi buttons connected with arduino if someone push 1 or 2 or 3 buttons then how c# will read it will be very helpful for me if make a tutorial Waiting for reply Thanks
@ReflectingMe2024
@ReflectingMe2024 7 жыл бұрын
Hey Nick - any chance of an OSX version of this please?
@heck0272
@heck0272 3 жыл бұрын
Excellent tutorial
@eid1401
@eid1401 4 жыл бұрын
I Liked what you did keep on thanks.
@susanapaurelio3689
@susanapaurelio3689 7 жыл бұрын
Is it possible that the arduino can change directly a data from android application using GSM Module code
@karlozeljko2499
@karlozeljko2499 4 жыл бұрын
Do i need UART cable for Serial communication or I can only connect PC and Arduino with usually cable ? Thanks for answer
@Educ8s
@Educ8s 4 жыл бұрын
The usual USB cable of the Arduino will do!
@supercables251
@supercables251 7 жыл бұрын
What would the differences be if you used unity?
@namderbachelor
@namderbachelor 7 жыл бұрын
That is great. Thank you for sharing.... so does it work with android project too ?
@igotmail9
@igotmail9 7 жыл бұрын
Very good and useful information, thank you
@diddyholz3290
@diddyholz3290 6 жыл бұрын
how long does it take to send a command until the action on the arduino happens?
Arduino GUI Part 1   Communications
19:44
Byte Me
Рет қаралды 162 М.
Arduino Interrupts Tutorial
9:30
educ8s.tv
Рет қаралды 296 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
Control Arduino Using GUI (Arduino + Processing)
13:45
Hardik Rathod
Рет қаралды 133 М.
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 645 М.
Arduino TFT LCD Touch Screen Tutorial
7:58
How To Mechatronics
Рет қаралды 1,6 МЛН
How to add WiFi Control to any project || ESP32 Beginner's Guide
10:44
GreatScott!
Рет қаралды 1,7 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН