Software Interface to Windows

I hope this is the proper forum for this. Has anyone ever written a software interface for communication between a Windows application, and and Arduino app, preferably over a serial port?

Microsoft did: What is Data Streamer? - Microsoft Support

What exactly were you looking to do? The mentioned MS Data Streamer works if you want to just dump data into Excel. Should you wish to for example control and Arduino via the serial port you can create apps to do that also by creating a windows form in Visual Basic or C++. So it's a matter of what your goal or objective is?

Ron

Yes, a few. I use Processing
What are you looking to do?

There is a Python tutorial in the Tutorials section Two ways communication between Python3 and Arduino - #4 by J-M-L

1 Like

under Windows you can build GUIs in many programming languages, e.g. C++, C#, VB.NET, Java, etc and Python as mentioned by @sumguy - all have support for communication using COM serial ports
there are Windows development environments with drag and drop facilities for building GUIs, e.g. Visual Studio (C++, C#, VB, etc), Apache Net Beans (Java), etc

My apologies to all. I guess I wasn't very clear in my post. Here is what I want to do:

  1. I have created a class with several methods to be used in my Arduino sketch.
  2. There may be any number of instances of the class in this sketch.
  3. I want to write an app on a windows platform (.NET), that can make a call to any method of any instantiation on the Arduino.
  4. the computer and Arduino board will be connected via a serial port.
    I hope this helps.

I have no idea what you're hoping for your app to do, but found this with a quick Google search. Hopefully you find it useful.
https://dev.to/cosmic_predator/interfacing-arduino-with-cnet-3jge

The Arduino program has to read and interpret all data coming from the PC over the serial port, then make the calls, so you would include that functionality in your sketch.

Just as a starter try a visit to this web site. The author has endless pages of serial communication with an Arduino, ESP8266 and all sorts of things. He uses VB and C++ for his Windows Forms. The Visual Studio 2022 version can be found here.

Ron

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.