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

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 289

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

  • @sum41greekfun
    @sum41greekfun 3 роки тому +1

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

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

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

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

  • @saeedmardani3900
    @saeedmardani3900 6 років тому +14

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

  • @abdulazeez.98
    @abdulazeez.98 7 років тому +1

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

  • @EsraFisolfi
    @EsraFisolfi 4 місяці тому

    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

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

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

  • @fred20659
    @fred20659 7 років тому +2

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

  • @liveunderwater
    @liveunderwater 7 років тому +5

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

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

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

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

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

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

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

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

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

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

  • @jb1tco.348
    @jb1tco.348 5 років тому

    The Portuguese legend is excellent.
    Very Thank!

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

  • @kenosako9380
    @kenosako9380 6 років тому

    Terrific explanation on how to build c# application interfaced on an 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.

  • @anca30000
    @anca30000 7 років тому +1

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

  • @donr2670
    @donr2670 3 роки тому

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

  • @efthymiostsoumetis
    @efthymiostsoumetis Рік тому

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

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

  • @AhCup
    @AhCup 7 років тому

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

  • @Ilidan1985
    @Ilidan1985 6 років тому

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

  • @blybaly
    @blybaly 7 років тому

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

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

  • @yordanyordanov7725
    @yordanyordanov7725 6 років тому

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

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

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

  • @stefmyt5062
    @stefmyt5062 3 роки тому

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

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

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

  • @alexisp2114
    @alexisp2114 5 років тому

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

  • @yoyoh7834
    @yoyoh7834 7 років тому

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

  • @АлексейГулин-з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?

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

  • @guypannetier7424
    @guypannetier7424 8 місяців тому

    Simplement Excellent!

  • @sergioestrada3397
    @sergioestrada3397 10 місяців тому

    Excelent video, perfect work!, thank you👍

  • @Cybergrip1
    @Cybergrip1 6 років тому

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

  • @avejst
    @avejst 7 років тому

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

  • @k2icc
    @k2icc 6 років тому

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

  • @diddyholz3290
    @diddyholz3290 6 років тому +2

    I love your accent! :D

  • @beabear5428
    @beabear5428 5 років тому

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

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

  • @jesustomas6105
    @jesustomas6105 5 років тому

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

  • @nirtzezana627
    @nirtzezana627 4 роки тому

    You are a god among men!

  • @thefox1703
    @thefox1703 6 років тому

    Outstanding demo!

  • @informacionesprovachile9966
    @informacionesprovachile9966 5 років тому +1

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

  • @abdulkadirgozuoglu8946
    @abdulkadirgozuoglu8946 7 років тому

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

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

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

  • @ganders555
    @ganders555 6 років тому

    Amazing video. Keep the videos coming.

  • @YigalBZ
    @YigalBZ 3 роки тому

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

  • @einfachnurzetor
    @einfachnurzetor 4 роки тому +3

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

  • @shanedriscoll2809
    @shanedriscoll2809 5 років тому

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

  • @thomasbuchberger1003
    @thomasbuchberger1003 4 роки тому

    Awesome and motivating.

  • @billycode6771
    @billycode6771 3 роки тому

    straight to point , thank you

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

  • @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:
    ua-cam.com/video/zmP_Dm3dQJk/v-deo.html

  • @materiallize4799
    @materiallize4799 4 роки тому

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

  • @heck0272
    @heck0272 3 роки тому

    Excellent tutorial

  • @JoaoBarbosa1996
    @JoaoBarbosa1996 7 років тому

    this is great! do more pc-arduino coms!

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

  • @AhmedMohammed-kz6ej
    @AhmedMohammed-kz6ej 3 роки тому

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

  • @eid1401
    @eid1401 4 роки тому

    I Liked what you did keep on thanks.

  • @philipjensen6442
    @philipjensen6442 7 років тому

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

  • @igotmail9
    @igotmail9 7 років тому

    Very good and useful information, thank you

  • @MPElectronique
    @MPElectronique 7 років тому +1

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

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

  • @namderbachelor
    @namderbachelor 7 років тому

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

  • @SafeworkArgentina
    @SafeworkArgentina 5 років тому

    i have a question. its posible to import the data directly from pc with software like visual studio?

  • @ieyazzu9297
    @ieyazzu9297 7 місяців тому

    thank you for this tutorial!

  • @sahinyusifli9756
    @sahinyusifli9756 5 років тому

    Thanks for it from Azerbaijan

  • @Youtubeshortslibrary
    @Youtubeshortslibrary 6 років тому

    Cool... Tks masta

  • @imiebaka
    @imiebaka 6 років тому

    Well explained. 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?

  • @EasyElectronics2412
    @EasyElectronics2412 4 роки тому

    Detailed tutorial needed urgently!!!

  • @raanabaniamerian428
    @raanabaniamerian428 3 роки тому

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

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

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

  • @orlandomolina6218
    @orlandomolina6218 7 років тому

    ohhhh this is a excellent video.

  • @bozotheclown935
    @bozotheclown935 2 роки тому

    Can we use a later version of Visual Studio to do all this - especially the visual interface?
    Thanks,

  • @skidloaders1
    @skidloaders1 7 років тому

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

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

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

  • @YouTubeBoy
    @YouTubeBoy 5 років тому

    if (inputString.substring(5, 7).equals("ON")) can u tell me why u getting 5,7 ?

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

  • @michiel4697
    @michiel4697 2 роки тому

    this was very usfull thx

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

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