Skip to content

logic-switch/gsc-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gsc-weather

Glenmore Sailing Club Weather Monitor

Providing general weather for sailors, high wind cutoff for GSC co-op boats and live wind conditions for race committee.

Overview

graph LR;
    Anemometer-->Arduino;
    AK09918-->Arduino;
    BMP180-->Arduino;
    ICM20600-->Arduino;
    Arduino-->RFM95W_LoRa_barge;
    RFM95W_LoRa_barge-->RFM95W_LoRa_basestation;
    RFM95W_LoRa_basestation-->Raspberry_pi;
    Raspberry_pi-->WeeWx;
Loading

Arduino

Add to File->Preferences->Additional Boards Manager URLs: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

Wiring

Atmega32u4 - Adafruit Feather 32u4

  • Anemometer - 6P4C (RJ11 phone) connector
    1. black - GND
    2. red - 3V
    3. green - PCINT5 (A9)
    4. yellow - unused
  • I2C sensors - VCC, GND, SDA (2), SCL(3)
  • Voltage divider - A1

Libraries

Libraries that need to be downloaded using Library Manager (Tools -> Manage Libraries)

Raspberry Pi

Wiring

SPI Setup

pi@raspberrypi:~ $ sudo raspi-config
        -> Interfacing Options -> SPI -> yes -> Finish

Python

Install Python Libraries

sudo python3 -m pip install crc adafruit-circuitpython-rfm9x

WeeWx

  1. Install weewx (see the user guide: http://weewx.com/docs/setup.htm)

  2. Zip the WeeWx-driver directory as GscLoRa.zip

  3. Install the driver

    wee_extension --install GscLoRa.zip

  4. Configure the driver

    wee_config --reconfigure

Windy driver

https://github.com/matthewwall/weewx-windy

Lighttpd

sudo apt install lighttpd

Add alias.url += ( "/weewx" => "/home/weewx/public_html" ) to file /etc/lighttpd/lighttpd.conf

Credit

Adafruit for great products and tutorials

WeeXx pi weather station, sensors and scripts, WeeWX-BCRobotics

About

Glenmore Sailing Club Weather Monitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published