Skip to content
Code of my Raspberry Pi Weather Station. It uses 18D20 temperature sensor, DHT11 humidity sensor and BMP085 air pressure sensor. It gets live weather date from openweathermap.org and uses a REST PHP Interface to store this data into a web hosted MySQL Database.
Branch: master
Clone or download
Latest commit fe41afb Jun 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Readme update Jun 1, 2019
api.php
database.sql add all needed scrips Jun 1, 2019
measure.py add all needed scrips Jun 1, 2019

README.md

Raspberry Pi Weather Station

This Source Code is used to get sensor data from

  • DS18B20 temperature sensor
  • DHT11 humitity sensor
  • BMP085 air pressure sensor from connected sensors on your Raspberry Pi.

The measure.py script also gets live data from openweathermap.org and send it as JSON to a web hosted database.

api.php is used as REST interface endpoint to get this data and store it into a MySQL database.

database.sql contains CREATE statement for single table to store sensor data.

All details about hardware and software for this project can be found on my blog: https://developer-blog.net/raspberry-pi-diy-wetterstation/

You can’t perform that action at this time.