Troubleshooting basic M2M issues

In this part of the chapter, we are going to see what can go wrong when building M2M projects using Arduino.

Pushing the button doesn't do anything

The first thing that can happen is that the button is not correctly wired to the Arduino board. Make sure that you followed the wiring instructions. You can also check the lights on the Arduino board when you press the button: a light should turn on whenever the board is sending data, so this is what you should see when pressing the button.

The pump/sprinkler doesn't get activated

One simple reason for this problem is that the humidity doesn't get low enough for the board to send an alert. What I recommend doing is checking the humidity level with the test sketch of the ...

Get Internet of Things with Arduino Cookbook 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.