O'Reilly logo

Arduino Projects For Dummies by Brock Craft

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required