Connecting sensors to your Arduino board

In this recipe, we are going to build the project that we will use for the rest of this chapter. We basically want to connect sensors to the Arduino MKR1000 board that will continuously measure data. As an example here, we are going to connect a photocell (that we already used in the first chapter of this book), as well as a DHT11 temperature and humidity sensor.

Getting ready

Let's first see what additional components we will need for this project:

You will also need to install the Adafruit DHT library that you can find inside the Arduino board manager. ...

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.