Gbox 4.20
Grow box automation and monitoring - <a href='https://sites.google.com/site/growboxguy/'>https://sites.google.com/site/growboxguy/</a>
 
Loading...
Searching...
No Matches
Settings::AeroponicsSettings Struct Reference

< Aeroponics_Tank default settings More...

#include <Settings.h>

Public Member Functions

 AeroponicsSettings (uint8_t SpraySolenoidPin=0, bool SpraySolenoidNegativeLogic=false, uint16_t SpraySolenoidClosingDelay=0, uint16_t TankDrainingTimeout=0, bool SprayEnabled=true, float Duration=0.0, uint16_t DayInterval=0, uint16_t NightInterval=0, float MinPressure=0.0, float MaxPressure=0.0)
 

Data Fields

uint8_t SpraySolenoidPin
 Relay controlling DC power to the solenoid.
 
bool SpraySolenoidNegativeLogic
 true - Relay turns on to LOW signal, false - Relay turns on to HIGH signal
 
uint16_t SpraySolenoidClosingDelay
 (ms) Time required for the solenoid to close. To avoid draining the tank the bypass valve is not allowed to open until the Spray solenoid is not closed
 
uint16_t TankDrainingTimeout
 (sec) How long does it take to fully drain the pressure tank by opening the spray and bypass solenoid at the same time
 
bool SprayEnabled
 Enable/disable spraying cycle.
 
float Duration
 Spray time in seconds (Actual duration is ~0.5sec longer due to thread + solenoid delay)
 
uint16_t DayInterval
 Spray every X minutes - When the lights are ON.
 
uint16_t NightInterval
 Spray every X minutes - When the lights are OFF.
 
float MinPressure
 Turn on pump below this pressure.
 
float MaxPressure
 Turn off pump above this pressure.
 
int DayInterval
 Spray every X minutes - When the lights are ON.
 
int NightInterval
 Spray every X minutes - When the lights are OFF.
 

Detailed Description

< Aeroponics_Tank default settings

Definition at line 56 of file Settings.h.

Constructor & Destructor Documentation

◆ AeroponicsSettings()

Settings::AeroponicsSettings::AeroponicsSettings ( uint8_t  SpraySolenoidPin = 0,
bool  SpraySolenoidNegativeLogic = false,
uint16_t  SpraySolenoidClosingDelay = 0,
uint16_t  TankDrainingTimeout = 0,
bool  SprayEnabled = true,
float  Duration = 0.0,
uint16_t  DayInterval = 0,
uint16_t  NightInterval = 0,
float  MinPressure = 0.0,
float  MaxPressure = 0.0 
)
inline

Definition at line 58 of file Settings.h.

Field Documentation

◆ DayInterval [1/2]

int Settings::AeroponicsSettings::DayInterval

Spray every X minutes - When the lights are ON.

Definition at line 59 of file Settings.h.

◆ DayInterval [2/2]

uint16_t Settings::AeroponicsSettings::DayInterval

Spray every X minutes - When the lights are ON.

Definition at line 65 of file Settings.h.

◆ Duration

float Settings::AeroponicsSettings::Duration

Spray time in seconds (Actual duration is ~0.5sec longer due to thread + solenoid delay)

Spray time in seconds.

Definition at line 64 of file Settings.h.

◆ MaxPressure

float Settings::AeroponicsSettings::MaxPressure

Turn off pump above this pressure.

Definition at line 68 of file Settings.h.

◆ MinPressure

float Settings::AeroponicsSettings::MinPressure

Turn on pump below this pressure.

Definition at line 67 of file Settings.h.

◆ NightInterval [1/2]

int Settings::AeroponicsSettings::NightInterval

Spray every X minutes - When the lights are OFF.

Definition at line 60 of file Settings.h.

◆ NightInterval [2/2]

uint16_t Settings::AeroponicsSettings::NightInterval

Spray every X minutes - When the lights are OFF.

Definition at line 66 of file Settings.h.

◆ SprayEnabled

bool Settings::AeroponicsSettings::SprayEnabled

Enable/disable spraying cycle.

Definition at line 63 of file Settings.h.

◆ SpraySolenoidClosingDelay

uint16_t Settings::AeroponicsSettings::SpraySolenoidClosingDelay

(ms) Time required for the solenoid to close. To avoid draining the tank the bypass valve is not allowed to open until the Spray solenoid is not closed

Definition at line 61 of file Settings.h.

◆ SpraySolenoidNegativeLogic

bool Settings::AeroponicsSettings::SpraySolenoidNegativeLogic

true - Relay turns on to LOW signal, false - Relay turns on to HIGH signal

Definition at line 60 of file Settings.h.

◆ SpraySolenoidPin

uint8_t Settings::AeroponicsSettings::SpraySolenoidPin

Relay controlling DC power to the solenoid.

Definition at line 59 of file Settings.h.

◆ TankDrainingTimeout

uint16_t Settings::AeroponicsSettings::TankDrainingTimeout

(sec) How long does it take to fully drain the pressure tank by opening the spray and bypass solenoid at the same time

Definition at line 62 of file Settings.h.


The documentation for this struct was generated from the following files: