Arduino Serial Monitor Not Showing Output — A blank serial monitor is rarely a broken board. It is usually a setting, a port or a missing call that hides output you actually generated.

Troubleshooting

Arduino Serial Monitor Not Showing Output

Arduino Serial Monitor Not Showing Output — A blank serial monitor is rarely a broken board. It is usually a setting, a port or a missing call that hides output you actually generated.

A blank serial monitor is rarely a broken board. It is usually a setting, a port or a missing call that hides output you actually generated.

22 November 20268 min read
An Arduino board connected by USB to a computer with a breadboard circuit beside it
A USB cable, a selected port and a matching baud rate are the three things a serial sketch needs.

Bu projeyi gerçekten kurmak istersen parçaları hobidevre.com'dan temin edebilirsin →

Build it for real

To build this project for real, get the parts from hobidevre.com → hobidevre.com →

More build guides: hobidevre.com/blog

Confirm the sketch really prints

Before changing settings, prove that the program reaches a print statement at all. Add one line in setup that writes a short, fixed word to the serial port, and nothing else. Upload that small sketch and open the monitor. If a word appears, the board, cable and port are fine and the problem is in the part of your program that comes later.

Many sketches depend on a condition before they print. A sensor that never reaches the expected state, a loop that is blocked by a delay, or an if statement that is never true all produce an empty monitor. Starting with an unconditional print separates a communication problem from a logic problem in under a minute.

Match the baud rate on both sides

Serial communication needs both ends to agree on speed. The number passed to Serial.begin, such as 9600 or 115200, must equal the rate selected in the monitor dropdown. A mismatch does not always give garbled characters; at some rates it produces nothing readable at all, which looks exactly like a dead monitor.

Check the number in the sketch and the number in the monitor, then close and reopen the monitor after changing either one. Some projects print at a high rate while the monitor was left at the default. Writing the chosen rate in a comment at the top of the sketch prevents this mistake when you return to the project later.

Choose the correct port

A computer can expose several serial ports at once. The port used for uploading is the one the monitor must watch. If you select a different port, the monitor listens to a device that is not sending anything, and the window stays empty even though your sketch is printing correctly.

Unplug the board and see which port disappears from the list, then plug it back in and select the port that returns. On systems where the port name changes between sessions, this check is the fastest way to be sure. Close other applications that may be holding the port open, because only one program can own a serial connection at a time.

Check Serial.begin and the monitor window

Printing works only after the serial port has been initialised. If Serial.begin is missing, or if the print happens before it, nothing reaches the monitor. The call belongs in setup, before any print statement. Printing before initialisation is a common edit error when a line is moved from one function to another.

Also make sure the monitor window is actually open while the sketch runs. Closing the monitor detaches the connection, and reopening it can reset the board on some setups. A sketch that prints once in setup and then stops will show nothing if you open the monitor after that single line has already been sent.

Allow for the reset after upload

Uploading a sketch resets the microcontroller. During that reset the bootloader runs for a short moment and the application code is not yet executing. If the monitor is opened or the print happens in that gap, the output is lost and the screen looks empty.

Wait a moment after uploading, then press the reset button once and watch the monitor again. If the text appears on the second attempt, the wiring and the code are correct and you were simply looking during the startup window. A short delay at the start of setup is sometimes added so that a human has time to open the monitor before the first message is sent.

Print a marker to isolate the fault

A fixed marker is a diagnostic tool, not a feature. Print one at the very start of setup, one just before the code section you suspect, and one at the end of the loop. The last marker you see tells you exactly how far execution reached, without guessing and without adding a debugger.

If the first marker never appears, look at the port, the rate and the Serial.begin call. If it appears but a later one does not, the program is stuck between them, often in a blocking read or a long delay. Remove the markers once the cause is found so that the final sketch stays clean and easy to read.

A short diagnostic sketch

The sketch below does one thing: it prints a marker at startup and a counter in the loop. There are no sensors and no conditions. If this prints, the communication path is healthy and you can add your own code back one block at a time until the output disappears.

Keep this sketch in a separate file or folder so you can return to it whenever a project goes silent. Comparing a working baseline with a failing version is far more reliable than changing several settings at once and hoping one of them helps.

Remember that the counter repeats quickly. If the monitor scrolls too fast to read, increase the delay between lines rather than changing the baud rate; scrolling speed is a display issue, not a communication failure.

void setup() {
  Serial.begin(9600);
  Serial.println("monitor hazir");
}

void loop() {
  static int sayaç = 0;
  Serial.print("sayi: ");
  Serial.println(sayaç++);
  delay(500);
}

Quick checklist

Work through the list in order: is power connected, is the correct port selected, do both baud rates match, is Serial.begin present, and does an unconditional marker print? Five checks cover almost every empty-monitor case.

If all five pass, look at the USB cable and at other software using the port. A charge-only cable powers the board but carries no data, and a second serial monitor can silently hold the connection open. Testing with a different cable or after closing other tools confirms both possibilities without changing code.

Only after the physical path is proven should you suspect the board itself. A missing output on every sketch, with every cable and on every port, is the point where a hardware fault becomes a reasonable conclusion.

  • Board powered and cable carries data
  • Port matches the upload port
  • Baud rate equal on both sides
  • Serial.begin called before printing
  • A fixed marker prints in setup

Get the parts

USB cables, boards and jumper wires for these tests are available from hobidevre.com if you want to repeat the experiments on your own bench.

Frequently asked questions

Why is the monitor empty even though the RX light blinks?

Blinking shows data is moving. An empty window usually means the wrong port is selected or the baud rate does not match the sketch.

Do I need Serial.begin if I only print in loop?

Yes. Every print needs an initialised port. Put Serial.begin in setup before any print statement.

Can another program block the serial monitor?

Yes. A serial port is owned by one application at a time. Close other monitors and terminal tools, then reopen the window.

Related reading

Practise in the browser

Open the same layout in the simulator and follow the steps. Sign in to save your work.