GithubHelp home page GithubHelp logo

felixgalindo / raspberry_pi_weather_station Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeremymorgan/raspberry_pi_weather_station

0.0 2.0 0.0 2.26 MB

Raspberry Pi Mini Weather Station

Home Page: http://jeremymorgan.github.io/Raspberry_Pi_Weather_Station/#/

License: GNU General Public License v2.0

Python 99.42% Shell 0.58%

raspberry_pi_weather_station's Introduction

Raspberry Pi Mini Weather Station

##Raspberry Pi Weather Station

Measures:

  • Temperature
  • Humidity
  • Atmospheric Pressure
  • Lux

Check out the dashboard!

##Parts you'll need:

  • AM2302 Temperature / Humidity Sensor
  • BMP180 Temperature / Barometric Pressure Sensor
  • DS18B20 Waterproof Temperature Sensor
  • TSL2561 Digital Lumosity Sensor

##Installation Instructions:

These instructions have been tested with the latest version of Raspian, however they should run in most distributions of Linux fairly easily.

Wire up the sensors as shown here:

###Setup the AM302

Here we set up the AM2302 Humidity Sensor.

Clone the Adafruit Python DHT Library

git clone https://github.com/adafruit/Adafruit_Python_DHT.git

Build some tools

sudo apt-get update

sudo apt-get install build-essential python-dev python-openssl

sudo python setup.py install

###Setup the DSB18B20

You will need to add One Wire Support:

sudo nano /boot/config.txt

Add the following line:

dtoverlay=w1-gpio

Reboot the Pi:

sudo reboot

Add smbus and i2c tools:

sudo apt-get install python-smbus
sudo apt-get install i2c-tools

You may get "already installed" Messages from this

sudo nano /etc/modules

Add the following:

i2c-bcm2708 
i2c-dev

Modify boot config:

sudo nano /boot/config.txt

Add the following lines:

dtparam=i2c1=on
dtparam=i2c_arm=on

Reboot the Pi:

sudo reboot

###Setup the TSL2561

cd ~/sources

wget https://raw.githubusercontent.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/master/Adafruit_I2C/Adafruit_I2C.py
wget https://raw.githubusercontent.com/seanbechhofer/raspberrypi/master/python/TSL2561.py

(Thanks to Sean!)

###Setup the BMP 180

git clone https://github.com/adafruit/Adafruit_Python_BMP.git
cd Adafruit_Python_BMP
sudo python setup.py install

###Test the sensors

git clone https://github.com/JeremyMorgan/Raspberry_Pi_Weather_Station.git reader
cd reader
sudo python readings.py dryrun

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.