Chapter 17

Ten Troubleshooting Tips

In This Chapter

arrow Figuring out what to do when you are having trouble

arrow Troubleshooting your hardware

arrow Troubleshooting your software

Sometimes things just don’t go according to plan. It happens. And even if you’ve followed the instructions in this book pretty carefully, your project may not be working quite right.

Figuring out what’s wrong with an Arduino project is a bit different. With electronics-only projects, you just have to focus on the hardware. With software-only projects, you just need to go over your code. But with Arduino projects, you could have a problem either in the hardware or the software. Therefore, you may have to check both, to see what’s going wrong.

Fortunately, there are a few simple things to try out when your project is just not working, is broken, or is working, but not quite according to plan. I almost always start out with my hardware and if that doesn’t sort it out, take a look at the code to see if there’s some kind of problem with it. Sometimes you can tell whether to look at the software or hardware first because of the kind of behavior you’re seeing (or not seeing) in your project.

Here’s what to do when you are having ...

Get Arduino Projects For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.