My arduino R3 is printing only 0 doesnt matter if i flash any code

I tried flashing code in arduino R3 uno using arduino ide and it doesnt matter if i am flashing anything its printing 0 . So for example if i serial.begin(9600) in setup and i serial.println("hello world") it still prints 0 0 0 0 0 0 0 0 0 0

i am new to embedded world , any insights would be helpful :-
I am using macbook air m3 for flashing
I am using arduino ide version 2.3.3
I am using arduino R3
I tried every boud rate and flashed it accordingly .

Is my board dead or what ?

Sharing my code :

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println("hello"); 
  delay(1000); // Wait for 1 second
}

Pleas post your code; just in case, please use code tags as described in How to get the best out of this forum.

Which version of the IDE are you using?

1 Like

I don't think so. Post your code in tabs, just in case there's something wrong with the code, even though from post #1 it looks like it's correct

1 Like

Maybe you missed that

1 Like

i tried multiple codes , none worked for me ! Its printing 0 0 0 0 0 0 0 only

2.3.3
is the arduino ide version

Yep I did

Sorry @viek-ayy

1 Like

i am flashing any code it gives me 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0

I vaguely recall a similar problem a while back. I will try to find it (no promises).

Topic moved to the dedicated IDE 2.x section of the forum.

1 Like

thanks

any inputs>

In post #9 it was mentioned that it might be a problem specific to the IDE.
You could check if it's an IDE serial terminal problem by connecting a different, stand alone, terminal emulator to the Arduino's com port and see whether or not you still see 0's. That experiment would determine whether it's a problem with the IDE terminal emulator or not.

I tried connecting other arduino board with same port of my laptop it works super fine but this board is printing 0 only while other board is printing anything which i flash

Here is a topic that I found with the same symptoms: Serial print only prints zeros. No solution, possible cause is abuse (not saying that you abused it).

Any history of the board? If it was new and you did not mistakes while connecting stuff, return it and get a refund.

Ah so it sounds like a hardware problem specific to that board that's printing 0's. If you have an oscilloscope, or logic analyser, you could check the serial tx signal coming out of the ATMega328p to see if it's broken at that point.

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