Project guide

Arduino Uno Rev3 UART debugging

Your board powers on, but the Serial Monitor shows nothing. Start by checking whether a known sketch can send data to your computer. This exercise uses the Uno Rev3’s onboard USB connection and Arduino’s built-in AnalogReadSerial example to give you a repeatable signal to look for.

Scope: This walkthrough was tested on a physical Arduino Uno Rev3. Embeddskills kit models vary. The sample readings below are illustrative; your readings depend on the potentiometer’s position.

Set up a known signal

You’ll need an Arduino Uno Rev3, a USB data cable, a computer with Arduino IDE, a 10 kΩ potentiometer, and jumper wires. With USB disconnected, wire the potentiometer as shown below. Leave digital pins D0 and D1 free so external hardware doesn’t interfere with the board’s serial connection.

Potentiometer connection Uno Rev3 connection
One outer terminal GND
Other outer terminal 5V
Middle terminal (wiper) A0
  1. Connect the Uno Rev3 to your computer with the USB data cable. Select Arduino Uno and its port in Arduino IDE. If more than one port is listed, unplug and reconnect the board to see which port disappears and returns.
  2. Open File → Examples → 01.Basics → AnalogReadSerial and upload it. The built-in sketch starts serial at 9600 baud, reads A0, and prints each reading with Serial.println().
  3. After the upload succeeds, open Serial Monitor and set it to 9600 baud. Turn the potentiometer slowly.

Expected output: One integer per line. The value should change as you turn the knob and should fall within 0–1023. Example only:

244
396
651

Seeing readable lines confirms that the uploaded sketch can send data to the monitor over the onboard serial path. Seeing those values change confirms that the analog input responds too.

Find the first thing that fails

What you see What to check next
No port appears, but the power LED is on Try a known USB data cable and a direct USB port. Power alone doesn’t prove the cable carries data.
A port appears, but the upload fails Confirm the board selection and reconnect to identify the right port. Close other serial applications using the port. Disconnect anything wired to D0/D1 and retry.
Upload succeeds, but the monitor is blank Confirm the monitor is attached to the same port used for upload. Close and reopen it, then press Reset on the Uno. The example prints repeatedly, so you shouldn’t need to catch a one-time startup message.
Characters appear but are unreadable Match the monitor’s baud rate to Serial.begin(9600).
Numbers appear but don’t change Serial is working. With USB disconnected, check that the potentiometer’s middle terminal goes to A0 and the outer terminals go to 5V and GND.

If this example works but your own firmware stays silent, keep the same board, cable, port, and monitor settings. Check whether your firmware reaches its first print and whether it starts serial at the monitor’s baud rate. Changing one thing at a time makes it easier to locate the fault.

For a larger project, see the UART / SPI / I2C Integration Bench, an illustrative specification covering serial-bus fault recovery and waveform-based testing.

References: Arduino Uno Rev3 · Arduino Analog Read Serial example