CommonGarden / Grow-Hub

An extensible gateway controller for Hydroponics, Aquaponics, Terrariums, Grow-Tents, Bioreactors, and more!
BSD 2-Clause "Simplified" License
7 stars 1 forks source link

MPHydro driver #8

Open catbarph opened 6 years ago

catbarph commented 6 years ago

RPi3: [pH (i2c-T3)] //[EC (i2c-T3)] //[Pt100] //[3chrelay (pump1, pump2, doser)] USB: [USB cam] Nano: BME280 (i2c pins A4,A5) //TSL2561 (i2c pins A4,A5) //SHT10 (pins 10,11) //2x flowsens (pins 2,3) //float sensor (pin 8)

Output format (with sampled readings): Water level: LOW //NOTE: either says "LOW" or "GOOD/HIGH" Pump 1: 0 L/h Pump 2: 0 L/h Ambient Light (TSL2561): 40.00 lux Air Temperature (BME280): 22.55 C Air Pressure (BME280): 997.09 hPa Altitude (BME280): 135.64 m Relative Humidity (BME280): 38.36 % Bed Temperature (SHT10): 23.1999969482 C / 73.8319931030 *F Bed Humidity (SHT10): 45.27 %

catbarph commented 6 years ago

Updated output format:

Water Level (float): LOW Flow Rate Pump 1: 0 L/h Flow Rate Pump 2: 0 L/h Water Level Sensor (eTape) Signal: 480 Water Level Sensor (eTape) Reference: 488 Ambient Light (TSL2561): 20.00 lux Air Temperature (BME280): 20.77 C Air Pressure (BME280): 1004.31 hPa Altitude (BME280): 74.70 m Relative Humidity (BME280): 47.67 % Bed Temperature (SHT10): 20.1800003051 C Bed Humidity (SHT10): 53.49 %

NOTE: "Water Level (float)" outputs either "LOW" or "GOOD/HIGH" NOTE: for eTape level reading, subtract the eTape sensor 'Signal' value from the 'Reference' value (e.g. 488-480=8)