FAQ hub / Troubleshooting
Troubleshooting frequently asked questions
A fixed order for finding faults: power, wiring, code, then the component itself.
- 12real questions
- 4source guides
- 6related pages
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.
Why are my button readings random?
The input is floating. Add a pull-down (or use the internal pull-up with active-low logic).
When should I replace a part?
After power, wiring and code are confirmed good and the part fails in a minimal test circuit.
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.
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.
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.
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.
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.
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.
What does "expected ; before }" mean?
A statement above that line is missing its semicolon. Check the previous line, not the one in the message.
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.
Why does even a blank sketch fail?
That points to the toolchain, not your code. Reinstall the board package and check the selected board.
How to use these answers
Three short steps.
- Find your symptom
Open the question that matches what you see on your board or in your sketch. - Read the short answer
Each answer gives the most likely cause first, then the check that confirms it. - 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.
-
Guide
Arduino troubleshooting: fix common circuit faults
Troubleshoot Arduino projects: verify power, wiring, pins and code one at a time, use serial output and the built-in LED. With fault checks.
-
Guide
Arduino port not detected? Fix the cable and driver
When no port appears, the cause is usually a charge-only cable, a missing driver or a stuck process. Work through these checks in order.
-
Guide
Breadboard short circuit? Find it safely
A hot regulator or a dead board means a short. Power off, learn the row layout and use continuity mode to locate it.
-
Guide
Code won't compile? Read the first error
A wall of compiler errors is usually one small mistake repeated. Read the first message, fix it, then compile again.
-
Guide
WiFi not connecting? Check band, credentials and mode
An ESP board that never joins WiFi is often on the wrong band or has a subtle credential typo. Use serial output to see the real reason.
-
Guide
Serial monitor empty? Match the baud rate and port
No text in the serial monitor? Check baud rate, port selection and whether Serial.begin actually ran before you print.
Keep your progress in one place
Create a free account to save what you are working on and see your results.