Livello Serbatoio v0.13
This project realizes a simple device to monitor the water level in a tank.
|
Variables | |
const float64_t | SENSOR_CALIBRATION = 1.0 |
Sensor distance offset used for calibration in centimeters. | |
const float64_t | SENSOR_MIN_RANGE = 2.0 |
Sensor minimum readable distance in centimeters. | |
const float64_t | SENSOR_MAX_RANGE = 450.0 |
Sensor maximum readable distance in centimeters. | |
const float64_t | SENSOR_LSB = 58.0 |
Sensor LSB to achieve distance from ECHO pulse time in usec/cm. | |
const int32_t | SENSOR_ACTIVATION_TH = 15 |
Duration of TRIG signal to perform a measurement. | |
const uint32_t | SENSOR_RESPONSE_TIMEOUT_US = 500000UL |
Timeout in microseconds used to determine when the sensor reading is failed. | |
const uint32_t | SENSOR_NO_OBSTACLE_US = 38000UL |
ECHO pulse time in microseconds which indicates the absence of sensor readable obstacles. | |
Constants related to the ultrasonic sensors.
const int32_t SENSOR_ACTIVATION_TH = 15 |
Duration of TRIG signal to perform a measurement.
const float64_t SENSOR_CALIBRATION = 1.0 |
Sensor distance offset used for calibration in centimeters.
const float64_t SENSOR_LSB = 58.0 |
Sensor LSB to achieve distance from ECHO pulse time in usec/cm.
const float64_t SENSOR_MAX_RANGE = 450.0 |
Sensor maximum readable distance in centimeters.
const float64_t SENSOR_MIN_RANGE = 2.0 |
Sensor minimum readable distance in centimeters.
const uint32_t SENSOR_NO_OBSTACLE_US = 38000UL |
ECHO pulse time in microseconds which indicates the absence of sensor readable obstacles.
const uint32_t SENSOR_RESPONSE_TIMEOUT_US = 500000UL |
Timeout in microseconds used to determine when the sensor reading is failed.