This thread will list, in no particular order, common hardware related problems that can cause your project to not work or work intermittently. It's not claimed as complete because there are many things which can cause failure or less-than-perfect operation.
=====================================================
I added a poll to be able to assess whether this thread is of any real use. Please select one option.
- Yes, I found an answer here
- No, I still have the problem
- I didn't have a problem, just looking
==========================================================
Other issues I think could be addressed/added:
- Vcc between Arduino and peripheral device don’t match
- 5-volt logic to/from 3.3-volt logic signals without level shifting
- powering Arduino through USB/Vin
- External Arduino power supply voltage too high (overheating)
- One or more inputs or outputs connected to UNO pins 0 and 1. These are generally reserved for serial link to computer for uploading sketches.
If you've got something fleshed out for one of the above add it to the thread if so inclined.
Suggestions, comments, critiques, additions welcome.
============================================================
edit: I thought it would be good to have an index of sorts, so people don't have to scroll looking for their problem
post #1. I've wired up my breadboard exactly as it should be and checked it multiple times and it still doesn't work right.
post #2. I've wired everything up as instructed but the sketch won't respond to my pushbutton.
post #3. The sketch uploads without error and runs but when the motor / relay / solenoid / LED string turns on the program resets or goes crazy.
post #4. My project works but sometimes I get spurious / garbage inputs from the ( insert digital IC chip name here ).
post #5. I've added a separate adequate power supply for my motor / solenoid / relay but I still get erratic behavior in the Arduino.
post #6. Everything works but sometimes the code doesn't respond to the pushbutton or responds when it's not supposed to.
post #8. Everything is wired correctly and the sketch uploads without error but the motors only run a short time then it all slows down or stops - or processor resets.
/===========================================
Here goes:
I've wired up my breadboard exactly as it should be and checked it multiple times and it still doesn't work right.
Look at your breadboard closely and see two colored lines for positive and negative voltage on either side.
If your breadboard has broken lines like those in the image you might need to connect them with wires as shown at the bottom of the image. What happens in this case is part of the circuit has no power and therefore can't respond to commands and can't send sensible signals to the controller.
The same idea applies if part of the project uses external components or modules - there must be at least a ground connection between the two devices.
See this thread by Perry Bebbington.
Another wiring related problem can be the common commercially available breadboard jumper wires. These things can fail. If your problem is intermittent or consistent unwanted behavior check your jumpers with an ohmmeter. Clip the meter leads to either end of the jumper. If you have continuity, good. Continue the test by bending the jumper wire along its length and flexing the connection to the pin which inserts into the breadboard. Pull gently on the connections to make sure they're fastened securely internally.