

I used this one from Amazon.Ĭonnect the DHT22 to the Raspberry Pi using the instructions provided here. Adafruit suggests adding a resistor to the circuit when you buy the DHT22 from Adafruit, it's in there.

You can use one of the other models, but you'll need to also purchase a Wi-Fi module or run the device on a wired connection. Raspberry Pi 3 - I selected this model because it has built in Wi-Fi capabilities.This project is very easy to assemble, all you need is the following parts, and they all connect together: To help you get started, Adafruit created a nice overview of the sensor and a Python library the DHT22 plus a blog article that shows how to wire the DHT22 to the Raspberry Pi. For this project, I used a DHT22 sensor from Adafruit. This is a project for the Raspberry Pi that measures temperature and humidity then uploads the data to a Weather Underground weather station. Just in case you're interested, there's a Tessel 2 version of this project as well here. As part of the process of publishing the article, Make's editors asked me what readers should do if they wanted to use a simple temperature sensor instead of the Sense HAT, that question drove the creation of this project. You can find the code for this project here. I recently published an article in Make Magazine for a Raspberry Pi Weather Station application using the Astro Pi Sense HAT board and Weather Underground.

A user reported that the API endpoint changed, but I can't find any data to confirm that, so you'll have to figure that out yourself. Note: Weather Underground announced they were shutting down the weather API in End of Service for the Weather Underground API but seem to continue to support personal weather stations.
