Livello Serbatoio v0.13
This project realizes a simple device to monitor the water level in a tank.
|
Variables | |
const uint16_t | TANK_NUMBER = 2U |
The number of tanks. | |
const float64_t | TANK_RADIUS_CM = 65.0 / 2.0 |
The radius of the tank(s) in cm. | |
const float64_t | TANK_HEIGHT_CM = 150.0 |
The height of the tank(s) in cm. | |
const float64_t | SENSOR_DISTANCE_CM = 19.0 |
The distance between sensor and the highest water level in cm. | |
const float64_t | WATER_MAX_HEIGHT_CM = TANK_HEIGHT_CM - SENSOR_DISTANCE_CM |
The maximum water height in cm. | |
const float64_t | LOW_LEVEL_THRESHOLD = 40.0 |
The percentage threshold used to indicate the low level of water. | |
const float64_t | EMPTY_LEVEL_THRESHOLD = 20.0 |
The percentage threshold used to indicate the tank(s) emptiness. | |
const float64_t EMPTY_LEVEL_THRESHOLD = 20.0 |
The percentage threshold used to indicate the tank(s) emptiness.
const float64_t LOW_LEVEL_THRESHOLD = 40.0 |
The percentage threshold used to indicate the low level of water.
const float64_t SENSOR_DISTANCE_CM = 19.0 |
The distance between sensor and the highest water level in cm.
const float64_t TANK_HEIGHT_CM = 150.0 |
The height of the tank(s) in cm.
const uint16_t TANK_NUMBER = 2U |
The number of tanks.
const float64_t TANK_RADIUS_CM = 65.0 / 2.0 |
The radius of the tank(s) in cm.
const float64_t WATER_MAX_HEIGHT_CM = TANK_HEIGHT_CM - SENSOR_DISTANCE_CM |
The maximum water height in cm.