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

We recommend EasyEDA for electronic circuit design.
From Schematic Drawing to PCB Production, Just Need One Tool
Cheap PCB Prototype: 10 pcs 2 layers only $10, quick delivery, 100% E-test







Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
SPEAKR
SPEAKR

Nature has a way of speaking to us in a way that soothes and revitalizes. Sounds of the wind in...

Close
Scroll to top