Data Streamer doesn't work. No values

Hardware:

  • Arduino UNO R4 Miniboard

Software:

  • Arduino IDE 2.3.6
  • Microsoft Excel with Data Streamer add-in (Microsoft 365)

Problem Description:

I'm trying to stream sensor data (digital status from pin 3 and analog value from A0) from my Arduino UNO R4 Miniboard to Excel using the Data Streamer add-in. The Arduino sends data correctly (visible in the Serial Monitor), but no data appears in Excel, except for "TBL_CURTIME" in the time column. I need help to resolve this issue.

What I've Tried:

  • Confirmed port (COM6) and baud rate (9600) match in Arduino IDE and Excel.
  • Closed the Serial Monitor before starting the stream in Excel.
  • Adjusted the code: Changed headers to "TIME,CH1,CH2", removed "DATA," prefix, increased delay to 2000 ms.
  • Pressed the reset button and reconnected the USB cable.
  • Checked the "Serial Data Console" in Data Streamer – no raw data received.
  • Tested with PuTTY (COM6, 9600 baud) – data is received correctly.

Current Code:

cpp

void setup() {
  Serial.begin(9600);
  while (!Serial) { }
  pinMode(3, INPUT_PULLUP);
  Serial.println("TIME,CH1,CH2");
  delay(2000);
}

void loop() {
  unsigned long currentTime = millis();
  int digitalState = digitalRead(3);
  int analogValue = analogRead(A0);
  
  Serial.print(currentTime);
  Serial.print(",");
  Serial.print(digitalState);
  Serial.print(",");
  Serial.println(analogValue);
  
  delay(2000);
}

Questions:

  1. Is there a known compatibility issue with the UNO R4 and Excel Data Streamer?
  2. Do I need to adjust the code or Excel settings further?
  3. Are there alternative methods to get data from the UNO R4 into Excel?

Additional Information:

  • I’ve reinstalled the Data Streamer add-in in Excel, but the issue persists.
  • The Arduino works fine with other serial tools (e.g., PuTTY), so the hardware seems okay.
  • I’m using Windows Windows 11 with the latest updates.

Help Request:

I’d really appreciate any advice or suggestions from the community! If you need more details (e.g., screenshots or logs), please let me know. Thank you in advance for your support!

Best regards, Luis

Code, please? In code tags. How to get the best out of this forum

Ah sure sorry:

void setup() {
  Serial.begin(9600);
  while (!Serial) { }
  pinMode(3, INPUT_PULLUP);
  Serial.println("TIME,CH1,CH2");
  delay(2000);
}

void loop() {
  unsigned long currentTime = millis();
  int digitalState = digitalRead(3);
  int analogValue = analogRead(A0);
  
  Serial.print(currentTime);
  Serial.print(",");
  Serial.print(digitalState);
  Serial.print(",");
  Serial.println(analogValue);
  
  delay(2000);
}

This is just a test code from AI. I thought then the issue couldn't be the code...

Report to AI is a suggestion.

I already did that. AI couldn't help thats why im asking here rightnow.
But I think it can't be the code, beacuse in de Serial Monitor it is working

Expand Your post by reading and using . How to get the best out of this forum

Okay, thank you very very much for your coorperation and your very helpful advices.

What can it be then?

Wiring, schematics or what?

Wrong components?

No, i think it must be something with the connection between the Arduino and the Excel. This communication doesn't work

I wanted your code, because I wanted to see how the data was formulated. Looks okay.
So if you use Serial Monitor, you see the data correctly, but Excel isn't displaying it as you expect? Sounds like a misconfiguration at the Excel end, but I don't use that tool so I can't help. Certainly, I don't see a problem with your code.

At least good news for the code :sweat_smile:
Thank you very much. Yess, there are no values in the Excel. I tried a lot with the settings in Excel, also with AI. It doesn't matter what i try, it doesn't work.

Put the code aside and try an example code Arduino <> Excel.

My code is already an example code. That's the point. It also doesn't work...
Sorry, I'm really new in this world

Show me the line of code that makes the data go to Excell?

Everyone start as a beginner. Go for a more simple version. I have no such but there are projects done communicating with Excel found by the “Search Forum” tab, up to the right in this window.

Step down and go for learning coding, communication etc. By now You know it’s not easy what You aim for.

I tried this one:

void setup() {
  Serial.begin(9600); // Startet die Verbindung
}

void loop() {
  Serial.println("1,"); // Sendet '1,' und eine neue Zeile
  delay(1000);        // Wartet eine Sekunde
}

It still doesnt work

Show us a screen grab of where you connected the Arduino to the Excell Data Streamer Tab.

So I thought it is the normal Serial.println("TEST") command. Is it not like that?

Let's start simple. Show me a screen grab of the Data Streamer Tab in Excell.


Sorry for german