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.
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;
Add to File->Preferences->Additional Boards Manager URLs: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
Atmega32u4 - Adafruit Feather 32u4
- Anemometer - 6P4C (RJ11 phone) connector
- black - GND
- red - 3V
- green - PCINT5 (A9)
- yellow - unused
- I2C sensors - VCC, GND, SDA (2), SCL(3)
- Voltage divider - A1
Libraries that need to be downloaded using Library Manager (Tools -> Manage Libraries)
- CRC - https://www.arduino.cc/reference/en/libraries/crc/
- LoRa - https://www.arduino.cc/reference/en/libraries/lora/
- EWMA - https://www.arduino.cc/reference/en/libraries/ewma/
- BMP180
- Grove - IMU 9DOF - https://github.com/Seeed-Studio/Seeed_ICM20600_AK0991
- PCINT library - https://github.com/paulo-raca/YetAnotherArduinoPcIntLibrary
- Low-Power - https://github.com/rocketscream/Low-Power
pi@raspberrypi:~ $ sudo raspi-config
-> Interfacing Options -> SPI -> yes -> Finish
sudo python3 -m pip install crc adafruit-circuitpython-rfm9x
-
Install weewx (see the user guide: http://weewx.com/docs/setup.htm)
-
Zip the WeeWx-driver directory as GscLoRa.zip
-
Install the driver
wee_extension --install GscLoRa.zip
-
Configure the driver
wee_config --reconfigure
https://github.com/matthewwall/weewx-windy
sudo apt install lighttpd
Add alias.url += ( "/weewx" => "/home/weewx/public_html" )
to file /etc/lighttpd/lighttpd.conf
Adafruit for great products and tutorials
WeeXx pi weather station, sensors and scripts, WeeWX-BCRobotics