Skip to content

This repo contains all code necessary to run a raspberry-pi enabled weather station designed to support GUR's Saltire-II launch.

License

Notifications You must be signed in to change notification settings

andrewsg3/gurgi_ws1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GUR | Ground Infrastructure | Weather Station Mk.1

GUR  backdrop

This repo contains all code necessary to run the GURGI Weather Station Mk. 1.
The weather station is designed to measure a variety of environmental variables and present them via a LAN webapp.
To access the webapp, users connect to a wireless access point (WAP) via mobile or laptop, navigate to a browser, and type https://localhost.

Usage

  1. Install github on your computer: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
  2. Clone the repo: open the command line (press windows key and type "cmd"), then navigate to the folder you want to keep the code in. You can do this using "cd" to change directory and "mkdir" to make a new folder. Once you're there, type "git clone https://github.com/andrewsg3/gurgi_ws1"
  3. Install Anaconda: https://www.anaconda.com/
  4. Open Anaconda, and create an environment. This way we can install packages - bits of addon code - to a version of Anaconda/Python just for this project, without installing them ontop of our base version of Anaconda/Python. To do this, open Anaconda prompt and type: "conda create --name gurgi"
  5. Activate the environment you created. In Anaconda prompt, type "conda activate gurgi". You'll do this everytime you open Anaconda prompt and want to use the code.
  6. In Anaconda prompt navigate to the github repo you clonded. Type "pip install -r requirements.txt". This will install the required packages, which are kept in the requirements.txt file.
  7. If you are met with the error "'pip' is not recognized as an internal or external command, operable program or batch file.", it means pip wasn't installed with Anaconda. Type "conda -c install anaconda pip" to fix this, then try the previous step again.
  8. Once that's finished, you have everything you need to run the weather station. To trial the webapp, navigate to "gurgi_ws1/software/web/app" and type "python app.py". Now open your browser and type "https://localhost".

Prerequisites:

Hardware
  • Raspberry Pi
  • BME280 Sensor
  • 80422 Weather Sensor Assembly
  • MCP3008 ADC

About

This repo contains all code necessary to run a raspberry-pi enabled weather station designed to support GUR's Saltire-II launch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published