Debug fault

Serial monitor empty? Match the baud rate and port

An empty monitor means the board is not sending, or the monitor is not listening at the same speed. Both are quick to confirm.

22 November 20266 min read
A simple Arduino LED and resistor circuit on a breadboard used to demonstrate systematic fault finding
Start with the smallest circuit that still shows the problem, then add parts back one at a time.

Build it for real

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

More build guides: hobidevre.com/blog

Match the baud rate exactly

Serial.begin(9600) in the sketch requires the monitor to be set to 9600 as well. A mismatch gives either nothing or a line of random symbols, because the receiver samples bits at the wrong moments.

If you changed the sketch to 115200, change the monitor dropdown too. This is the single most common reason for an apparently empty window.

Confirm the selected port

The monitor connects to whatever port is selected in the IDE. If you have two boards connected, you may be watching the wrong one. Unplug the target board and see which port vanishes.

A board that appears but sends nothing may be running a different sketch than you expect. Upload a tiny echo sketch to confirm the whole path works.

Did Serial.begin() actually run?

Printing before Serial.begin() does nothing. Put the initialisation at the top of setup(), before any print statement.

If the sketch hangs before reaching setup, for example while waiting for a sensor that never answers, no output will ever appear. Add a short start-up marker as the first line of setup so you can tell how far execution gets.

Newline versus no newline

Serial.print() sends characters without moving to the next line. Serial.println() adds a line break. If you use print in a loop, output may be there but hard to read.

Set the monitor line ending to Newline if your sketch waits for input with readString or parseInt. Without the expected terminator, the sketch waits forever and looks silent.

Reset, buffering and timing

Opening the monitor often resets the board. Print the first line after a short delay so it is not lost while the monitor reconnects.

Printing thousands of lines per second can overwhelm the connection. Slow down to one line per second while debugging; you can always remove the delay later.

Use a known-good echo sketch

Reduce the problem to a minimal sketch that prints a counter once a second. If that appears, the monitor and cable are fine and the fault is in your original code.

If even the minimal sketch is silent, try a different cable and a different USB port before suspecting the board.

Get the parts

If you want to build this project in real life, you can get the parts from hobidevre.com.

Frequently asked questions

Why do I see strange symbols instead of words?

The baud rate does not match Serial.begin(). Set the monitor to exactly the same value used in the sketch.

Why does output stop after a few lines?

The sketch is probably blocked waiting for a sensor or input with no timeout. Add a timeout so the loop can continue.

Can two programs read the same serial port?

No. Close other serial monitors or terminal tools; only one program can own the port at a time.

Related reading

Practise in the browser

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