Serial Monitor Confusion

I have 2 UNOs. If I write a sketch, then upload it, one serial monitor says, " Hello World!. The other has several boxes then, Hello World! Why are they different?

How can you expect help if you supply so little information ? :thinking:

Maybe the baud rate is wrong on one of them. "Boxes" means the data it's getting isn't an ASCII character. The wrong baud rate is one way to get the bits/bytes "corrupted".

Is the code identical?

Or maybe one is defective or maybe the bootloader is corrupted... Does the Blink Example, or anything else, work on the "bad one"?

If you can upload a sketch (and blink works) you know it can read but maybe it can't write.

The code is identical and I had checked baud rate before I ran it. The blink works. Checked baud rate again, it's good.

Hi @MesaCrash1. Which version of Arduino IDE are you using (e.g., "2.0.1")? The version is shown on the window title bar and also in the Help > About dialog.

2.0.4

Serial Monitor can display characters that were buffered before the sketch started, perhaps transmitted at a different speed.

There is a known bug in Arduino IDE that can cause the symptoms you describe @MesaCrash1:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.

It has the Atmega 328P

I was starting a conversation. Perhaps you have forgotten the protocol:
Welcome to Arduino Forum — thanks for contributing!

  • Be kind to your fellow community members.
  • Does your reply improve the conversation?
  • Constructive criticism is welcome, but criticize ideas, not people.

For more, see our community guidelines. This panel will only appear for your first 5 posts.