What If It Doesn’t Work?

All the advice from What If It Doesn’t Work?, also applies to the projects in this chapter. In addition, you have to be very careful when plugging the MCP3008 into the breadboard. Make sure you don’t bend any of its pins accidentally. You also need to double-check every single connection from the MCP3008 to the Pi.

Take a close look at the pins of the PIR sensor and the TMP36, too. Not all PIR sensors have the same order of pins, and you can easily mix up the pins of the TMP36.

Get Raspberry Pi, 2nd Edition 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.