Hello all,
I am using an Arduino Uno to read the values from a temperature probe.
I want to transmit the temperature values over the serial interface to a .NET based application, where I process the information and merge the values to a database.
However something along the serial configuration on the .NET side seems to be wrong...
The Arduino IDE has an inbuilt serial monitor - If I check the outgoing temperature values with this monitor, everything is correct - the values appear as expected, encapsulated in brackets.
data format: [14.45][14.50][14.75][14.83].....and so on....
In order to help debugging, I show here the concatenated serial string, which was received on the .NET application.
You can see that there are a lot of places where the data was not received as it shall be.
Of cause this messes up the algorithm, which interprets the incoming serial data...
So to conclude... Using the IDE serial monitor, correct data is displayed. Using the .NET application causes errors...
So there must most probably be a misconfiguration of the serial object of the .NET application (parity, stop bits or things the like).
The problem is, I am not a specialist in configuring the serial object…
Maybe there is a specialist here, who could have a look on the configuration of the serial object from the .NET application..
Here is the configuration of the serial object:
and
Help is highly appreciated...
Thx,
Andreas