12Temperature and Humidity Data Logger

In this project, you’re going to build a data logger that automatically stores data on temperature and humidity. You’ll learn how to read and log data from your environment, which is useful in numerous applications.

image

PARTS REQUIRED

Raspberry Pi

Breadboard

DHT22 temperature and humidity sensor (DHT11 and AM2302 also work)

4.7 kΩ resistor

Jumper wires

SOFTWARE REQUIRED

Adafruit_Python_DHT library

You’ll use the DHT22 temperature and humidity sensor to collect data, which will then be saved in a .txt file that you can then use to build charts, graphs, and other visualizations. This project gives you the basics ...

Get 20 Easy Raspberry Pi Projects 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.