Sending weather data via Twitter using Rasbperry Pi and DHT22

UPDATE: adding a light sensor to the device.

The idea behind this project is connect some sensors to the Raspberry Pi and put the information available on demand via Twitter requests and put sensor history data online on the web

To do that, I used a DHT22 temperature and humidity sensor connected to the Rasberry Pi.

Sending weather data via Twitter using Rasbperry Pi and DHT22

You can get all the detailed steps from Adafruit website

When you have setup all the hardware, you must get into software stuff, to do that you must download the Adafruit DHT Python library (instructions here)

To publish the weather data on the web you must follow my old DHT11 post and this one, but you must change the original DHT11 C program to the new DHT11/22 python script:

 

For more detail: Sending weather data via Twitter using Rasbperry Pi and DHT22


About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Follow Us:
LinkedinTwitter
Scroll to Top