How to make an Arduino Serial Monitor Using C# .NET

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2022
  • This is a program to make a serial monitor using C# .NET framework for communicating with Arduino Microcontrollers.
    Here's a link to the GitHub for the code.
    github.com/rupava/Arduino-and...

ความคิดเห็น • 20

  • @ctorregrosaaj
    @ctorregrosaaj 19 วันที่ผ่านมา

    Hello. I tested the solution on a mega 2560 R3 board and it works fine. Then I try with a Seeduino XIAO board (SAMD21), but it doesn't work. Using the Arduino IDE serial monitor both boards work fine. Any advice?. Thanks.

    • @ctorregrosaaj
      @ctorregrosaaj 19 วันที่ผ่านมา +1

      Solved. The Seeeduino XIAO board uses DTR handshake control. Adding the line "serialPort1.DtrEnable = true;" works correctly.

  • @joseluisberruecoroig4258
    @joseluisberruecoroig4258 11 หลายเดือนก่อน

    Thank you for this great and helpful tutorial

  • @pietmatsobanemotokolo9925
    @pietmatsobanemotokolo9925 11 หลายเดือนก่อน

    Great content. Much appreciated. Thanks

  • @simonvaculin2014
    @simonvaculin2014 ปีที่แล้ว +1

    nice tutorial bro keep going

  • @indreampark
    @indreampark 8 หลายเดือนก่อน +1

    Thanks

  • @edoardog1899
    @edoardog1899 ปีที่แล้ว

    Thank you sir. A question : where do you have access to console for debugging ????

  • @GhayoorAAwan
    @GhayoorAAwan 11 หลายเดือนก่อน

    Is there any way we can send these serial monitor values to MSSQL server.

    • @rupavagetsitdone
      @rupavagetsitdone  11 หลายเดือนก่อน

      Yess we can. Just use the msql connector for .net and then you can push data to the SQL server by running SQL commands.

  • @johnakridge7605
    @johnakridge7605 6 หลายเดือนก่อน

    I'm getting "access to 'COM3' is denied"

    • @rupavagetsitdone
      @rupavagetsitdone  6 หลายเดือนก่อน

      Check if your com ports are correct. If you are using a laptop, it also lists the Bluetooth COM.

  • @lotharmayring6063
    @lotharmayring6063 26 วันที่ผ่านมา

    where please is the program C code

    • @rupavagetsitdone
      @rupavagetsitdone  26 วันที่ผ่านมา

      It is just a very basic Arduino Serial communication code. Not in the scope of the video

    • @lotharmayring6063
      @lotharmayring6063 25 วันที่ผ่านมา

      @@rupavagetsitdone n i mean the ...Ap.sln and the c-code for the windows GUI. It is annoyin to copy all form video

  • @lotharmayring6063
    @lotharmayring6063 24 วันที่ผ่านมา

    why so compicated, instead of using radio buttons aou program exceptions. I could not program this complcated and vbad documented lines and so lost much time. i will use pyton and Tk/Tcl instead. Also this board is not designd to be instructed with WinGUI. It has an ArduinoIDE and the bord can run standalone not needing Windows

    • @rupavagetsitdone
      @rupavagetsitdone  24 วันที่ผ่านมา

      Sorry it wasn't helpful to you. The point of this video was to use C# and .NET to interpret serial communication with a hardware that supports serial communication such as Arduino. I sure would prefer python or electron.js for the modern programming experience. But if your project is limited to the platform, this is a video to help with it.

    • @lotharmayring6063
      @lotharmayring6063 22 วันที่ผ่านมา

      @@rupavagetsitdone on my experience .Net is not verry stabel and the support is not shure.....so why should someone use it, and also i dont know if India stands on USAs side

    • @rupavagetsitdone
      @rupavagetsitdone  11 วันที่ผ่านมา

      ​@@lotharmayring6063 If you already have a legacy application with thousands of lines of code, it's very impractical to switch to a better or a newer framework just for a slightly more stable experience. The pros have to heavily outweigh the cons for any kind of platform change.

    • @lotharmayring6063
      @lotharmayring6063 11 วันที่ผ่านมา

      @@rupavagetsitdone so this code seems to be not very portabel and once bound to microsoft you will never escape

    • @rupavagetsitdone
      @rupavagetsitdone  10 วันที่ผ่านมา

      C# .NET though majorly maintained by Microsoft is cross platform and open source. Like the React library is maintained by Facebook/Meta. You are not bound to Microsoft but switching frameworks on any big project is easier said than done.