Automated sprinkler controller

For the last recipe of the chapter, we are going to see how to make a cool project to automate your garden: an automated sprinkler controller that also works via the cloud. We'll have two Arduino boards communicating with each other: a first board to measure the soil moisture, and a second one to control a pump to water the plants or anything else in your garden.

Getting ready

The project will be composed of two parts again. The first part will simply be an Arduino MKR1000 board, along with a moisture sensor based on the SHT10 sensor. The second part of the project will be a simple Arduino board as well, connected to a relay. The relay can then be used to control a little pump or sprinkler that you already have.

This ...

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.