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

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • 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.
    💻 Code & Schematic & Parts: educ8s.tv/c-app...
    Want to learn to code?
    👨‍💻 Check my new RUclips channel: bit.ly/3tku2n0
    🎮 My Android Game: bit.ly/QuizOfKn...

Комментарии • 290

  • @JaredElliott1
    @JaredElliott1 7 лет назад +19

    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 лет назад +27

    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 лет назад +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.

  • @germang.4514
    @germang.4514 3 года назад +1

    I have learned more in these 10 minutes than in hours of other tutorials.

  • @Educ8s
    @Educ8s  6 лет назад +21

    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 RUclips CHANNEL!
    bit.ly/3tku2n0

    • @gauravgusain7199
      @gauravgusain7199 5 лет назад

      sir need your help

    • @gauravgusain7199
      @gauravgusain7199 5 лет назад +1

      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 3 года назад

      do you also have code to do that using c?

  • @geluidsbox9195
    @geluidsbox9195 7 лет назад +9

    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 лет назад +14

    Hi Nick, the idea of detailed description of c# should be very useful. Please do it at some point

  • @sum41greekfun
    @sum41greekfun 3 года назад +1

    Το ότι θα έψαχνα να βρω αυτό το αντικείμενο και θα έβρισκα πάνω πάνω έλληνα με ξεπερνά ! BRAVO !

  • @raymondmichael4987
    @raymondmichael4987 4 года назад

    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 🇹🇿

  • @EsraFisolfi
    @EsraFisolfi 2 месяца назад

    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

  • @abdulazeez.98
    @abdulazeez.98 7 лет назад +1

    The project idea about displaying CPU, RAM.. usage is AWESOME! I always wanted to create such a thing.

  • @cad3175
    @cad3175 7 лет назад +2

    ..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

  • @liveunderwater
    @liveunderwater 7 лет назад +5

    Thank you for making videos that not only educate, but inspire.

  • @KiemPlant
    @KiemPlant 3 года назад +1

    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.

  • @fred20659
    @fred20659 6 лет назад +2

    Very neat and simple (nothing superfluous). Well done! Thank you!

  • @sergioorozco3853
    @sergioorozco3853 6 лет назад +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

  • @yuchoy1
    @yuchoy1 7 лет назад +4

    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?

  • @BigerBoy
    @BigerBoy 7 лет назад +8

    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?

  • @PhG1961
    @PhG1961 7 лет назад +3

    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 !!

  • @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!

  • @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!)

  • @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!!

  • @Les-electroniciens
    @Les-electroniciens 7 лет назад +5

    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 лет назад +2

      Yes, Visual Studio is so powerful!

    • @Paulo-jv7zz
      @Paulo-jv7zz 7 лет назад +1

      Hey !! U=RI Je vois que je ne suis pas le seul français !!

  • @jb1tco.348
    @jb1tco.348 5 лет назад +1

    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!!!!

  • @Ilidan1985
    @Ilidan1985 6 лет назад

    love it expecially that I know basic C#! Didn't know you can use it to "talk to" Arduino!

  • @fooballers7883
    @fooballers7883 Год назад

    This is truly a great tutorial....You can create a whole new series on C# and arduino.... and will have many more new viewers. Thank you for this.

  • @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

  • @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.

  • @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

  • @blybaly
    @blybaly 7 лет назад

    very simple and great video! please continue c# in details. Also please include remote internet control with c#

  • @anca30000
    @anca30000 7 лет назад +1

    Fantastic! So many possibilities! Thanks again for another great project.

  • @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 лет назад +1

      Yes, I will make more tutorials like this one! Stay tuned!

  • @k2icc
    @k2icc 5 лет назад

    Using an LCD touch screen will be a great idea too.

  • @АлексейГулин-з7л
    @АлексейГулин-з7л 7 лет назад +1

    cool! And on the basis of this program you can create an application that monitors CPU and memory usage on the computer?

  • @donr2670
    @donr2670 3 года назад

    GREAT work - I can leverage my substantial C# code using this method to control Arduino, thank you!

  • @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

  • @abdulkadirgozuoglu8946
    @abdulkadirgozuoglu8946 7 лет назад

    Very useful video. We are still waiting for reading data from Arduino and see it on the c# form.

  • @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

  • @mranilkumarsethijr1368
    @mranilkumarsethijr1368 6 лет назад

    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 !

  • @AhCup
    @AhCup 7 лет назад

    Best video of the channel so far, super simple and useful. Thank you ~ !

  • @kenosako9380
    @kenosako9380 6 лет назад

    Terrific explanation on how to build c# application interfaced on an Arduino

  • @YigalBZ
    @YigalBZ 3 года назад

    Great and valuable video. Please consider a similar video based on WIFI/BT.

  • @philipjensen6442
    @philipjensen6442 7 лет назад

    please make a tutorial on how to make the application window! great job

  • @AhmedMohammed-kz6ej
    @AhmedMohammed-kz6ej 3 года назад

    Yes I want to see how u built that window application on Microsoft Visual Studio

  • @jb1tco.348
    @jb1tco.348 5 лет назад

    The Portuguese legend is excellent.
    Very Thank!

  • @informacionesprovachile9966
    @informacionesprovachile9966 5 лет назад +1

    Could you explain how to read an external eeprom through arduino and visualize the dump in csharp software?

  • @materiallize4799
    @materiallize4799 3 года назад

    If visual studio is too big for you you can use #develop (sharpdevelop) it is really good and intuitive

  • @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!

  • @mmurillo09
    @mmurillo09 6 лет назад +2

    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? :)

  • @yordanyordanov7725
    @yordanyordanov7725 6 лет назад

    Visual studio is like 1000 times better than Processing. That's incredible !

  • @easyelectronics4364
    @easyelectronics4364 4 года назад

    Detailed tutorial needed urgently!!!

  • @avejst
    @avejst 7 лет назад

    Thanks for sharing. A good idea to connect to a PC. You could also do LattePanda as a PC 😀👍

  • @Cybergrip1
    @Cybergrip1 6 лет назад

    Wow...many thanks for putting me on the right track.

  • @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 !

  • @hisamk7765
    @hisamk7765 6 лет назад

    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...

  • @anokhautomation4453
    @anokhautomation4453 2 года назад

    Very nice tutorial 👍 thanks for your detailed explanation 🙏

  • @thomasalexander1563
    @thomasalexander1563 7 лет назад

    Nice project,,
    Wanna see more programming,,
    How about making IoT project,,?
    Making html to connect with arduino,,
    Thank you..

  • @muhammadraheelansari6342
    @muhammadraheelansari6342 7 лет назад +1

    great project, please make project using arduino rfid and Visual Basic

  • @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.

  • @einfachnurzetor
    @einfachnurzetor 4 года назад +3

    Is it possible to get data from the arduino and Display that in the GUI like a button click?

  • @cperezcali
    @cperezcali 7 лет назад

    Dear friend
    I’m from chile. Some time ago I follow your publications on youtube. You really do it professionally. Congratulations..
    This post has been very useful for me, I have been able to send instructions to my arduino without problems. And everything works very well.
    But I have not been able to do the opposite, ie send commands from arduino to do my software in C #.
    Should I use a team or something? Could you help me with that?
    Thank you very much
    Claudio

  • @namderbachelor
    @namderbachelor 7 лет назад

    That is great. Thank you for sharing.... so does it work with android project too ?

  • @billycode6771
    @billycode6771 3 года назад

    straight to point , thank you

  • @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 лет назад +1

      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#

  • @alexisp2114
    @alexisp2114 5 лет назад

    Thank you so much for your videos ! It's awesome as usual !

  • @jesustomas6105
    @jesustomas6105 5 лет назад

    Your video is still useful!! Thank you for sharing!!

  • @iceberg789
    @iceberg789 7 лет назад

    this is awesome, but is there any other platform to make windows applications like this ? like java or something.

  • @cp_otter8801
    @cp_otter8801 5 лет назад

    Hi, thanks for that! I have a project idea but I’m a complete novice and would need a RUclipsr to be interested in it...fancy hearing?

  • @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.

  • @yoyoh7834
    @yoyoh7834 7 лет назад

    ohh really cool tutorial !
    it is very helpful for new Arduino users like me 😄.
    thank you so much !!!

  • @raanabaniamerian428
    @raanabaniamerian428 3 года назад

    This project is amazing! how can i do the same thing with an AVR micro?

  • @shanedriscoll2809
    @shanedriscoll2809 5 лет назад

    This was a very helpful video. Thank you for sharing.

  • @guypannetier7424
    @guypannetier7424 7 месяцев назад

    Simplement Excellent!

  • @kinilawkinilaw-kp7lp
    @kinilawkinilaw-kp7lp 4 года назад

    thanks for the tutorial sir. do you have a wifi connection sir using c#? thanks

  • @sergioestrada3397
    @sergioestrada3397 8 месяцев назад

    Excelent video, perfect work!, thank you👍

  • @JoaoBarbosa1996
    @JoaoBarbosa1996 7 лет назад

    this is great! do more pc-arduino coms!

  • @m.zamanshariati4147
    @m.zamanshariati4147 4 года назад

    it is very interesting video. What about programming arduino in C#, so that we don't need the arduino ide.

  • @freeelectron8261
    @freeelectron8261 5 лет назад

    Hi Nick - Please do a tut on the MVS C# app code. Thanks!

  • @prashantmadan2106
    @prashantmadan2106 7 лет назад

    Hey nick please make a project with arduino ,rtc,lcd and 4*4 matrix keypad. In which we add a time interval by matrix and in this interval a specific task will complete like fan on.

  • @leozendo3500
    @leozendo3500 5 лет назад

    password storage and hotkey autofill. It is useful for anonymous browsing(unless your computer has viruses that steal clear code passwords.

  • @thefox1703
    @thefox1703 6 лет назад

    Outstanding demo!

  • @efthymiostsoumetis
    @efthymiostsoumetis 10 месяцев назад

    Εξεταστικό βίντεο, συγχαρητήρια!

  • @TheBarretNL
    @TheBarretNL 4 года назад

    Strings take up lots of space, use byte code instead

  • @pharoahking4275
    @pharoahking4275 6 лет назад

    Could you make a video on controlling computer applications i.e. web browser via arduino?

  • @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 :)

  • @MPElectronique
    @MPElectronique 7 лет назад +1

    Hi. Can we do with the arduino chip standalone with the bootloader too ?
    Thank You.
    Marc.

  • @carlosllanosful
    @carlosllanosful 6 лет назад

    Very interesting, we can develoment big proyects whit Arduino

  • @skidloaders1
    @skidloaders1 7 лет назад

    Absolutely fantastic, thank you for this great video.Wifi ? :-)

  • @thomasbuchberger1003
    @thomasbuchberger1003 4 года назад

    Awesome and motivating.

  • @xenon_shrinky5645
    @xenon_shrinky5645 5 лет назад

    Great video! Is there a way to make this project wireless by using a esp8266?

  • @Enigma758
    @Enigma758 4 года назад

    A few years ago, I converted parts from modified movie projector into a computer "peripheral". It's driven by a stepper motor and takes frame by frame images with a USB microscope. The images can later be assembled into a movie. Here's an early version:
    ruclips.net/video/zmP_Dm3dQJk/видео.html

  • @AbdulQadirghayour
    @AbdulQadirghayour 7 лет назад +1

    I am having trouble to read from ardiuno, please if you can help me.

  • @ieyazzu9297
    @ieyazzu9297 5 месяцев назад

    thank you for this tutorial!

  • @stefmyt5062
    @stefmyt5062 3 года назад

    Πολύ ωραίο βιντεο, με βοηθησε πολύ.

  • @beabear5428
    @beabear5428 5 лет назад

    Very useful video. It will help me very very very much. Thanks :D

  • @imiebaka
    @imiebaka 5 лет назад

    Well explained. Thank you.

  • @satrah101
    @satrah101 7 лет назад

    Hello all, is there a Linux version to this software. another great video. thank you for making.

  • @igotmail9
    @igotmail9 7 лет назад

    Very good and useful information, thank you

  • @Jhinsydney
    @Jhinsydney 7 лет назад

    i would rather that you did a tutorial on how to do this on the Pi

  • @eid1401
    @eid1401 4 года назад

    I Liked what you did keep on thanks.

  • @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?