Skip to content

FAQ hub / Troubleshooting

Troubleshooting frequently asked questions

A fixed order for finding faults: power, wiring, code, then the component itself.

Frequently asked questions

12 answers, each linked to the guide it comes from.

Why does my circuit work only when I touch it?

A loose jumper or a poor breadboard contact. Wiggle each wire one at a time to find it.

Source: Arduino troubleshooting: fix common circuit faults

Why are my button readings random?

The input is floating. Add a pull-down (or use the internal pull-up with active-low logic).

Source: Arduino troubleshooting: fix common circuit faults

When should I replace a part?

After power, wiring and code are confirmed good and the part fails in a minimal test circuit.

Source: Arduino troubleshooting: fix common circuit faults

Why is my port greyed out in the IDE?

Another process is using it, or the driver did not load. Close serial monitors and other tools, then reinstall the board package.

Source: Arduino port not detected? Fix the cable and driver

Do I need to install a driver on Linux or macOS?

Modern systems usually load the driver automatically. If the port never appears, check cable and permissions first, then the board package.

Source: Arduino port not detected? Fix the cable and driver

Why did the port disappear after an upload?

A sketch that reconfigures the USB interface or a bootloader that stays active can do this. Wait a few seconds or press reset to restore the connection.

Source: Arduino port not detected? Fix the cable and driver

How do I know if a short damaged my board?

Power the bare board with no circuit attached. If the power LED works and a blank sketch uploads, the board is probably fine.

Source: Breadboard short circuit? Find it safely

Why did my regulator get hot?

Its output was likely joined to ground. Power off immediately and check for a direct connection across the rails.

Source: Breadboard short circuit? Find it safely

Are the five holes in a row connected?

Yes, horizontally. The two vertical power rails normally are not connected to each other, and many are split in the middle.

Source: Breadboard short circuit? Find it safely

What does "expected ; before }" mean?

A statement above that line is missing its semicolon. Check the previous line, not the one in the message.

Source: Code won't compile? Read the first error

Why did it compile yesterday?

Something changed: a library version, the selected board, or a small edit. Compare the board setting and reinstalled packages first.

Source: Code won't compile? Read the first error

Why does even a blank sketch fail?

That points to the toolchain, not your code. Reinstall the board package and check the selected board.

Source: Code won't compile? Read the first error

How to use these answers

Three short steps.

  1. Find your symptom
    Open the question that matches what you see on your board or in your sketch.
  2. Read the short answer
    Each answer gives the most likely cause first, then the check that confirms it.
  3. Open the full guide
    Follow the source link under the answer for the complete circuit and code.

Related guides

Five real pages to continue from here.

Keep your progress in one place

Create a free account to save what you are working on and see your results.