Resistance (Ohm)
he VAN PI OS supports the use of resistance sensors, which operate by providing different resistance values based on the water level. To set up a resistance sensor, follow these steps:
Connecting the Sensor:
Connect the sensor to one of the input channels (1-4) and the GND (ground) pin on the VAN PI OS.
Configuring the Sensor:
Access the system's web interface.
Navigate to the settings for the input channels. (Config->Sensors)
Set the desired channel pair to "Resistance" (you can only set channels pairwise: 1&2 or 3&4).
You can also change the Name for the sensors here.
Measuring Resistance:
Once the channel is configured for resistance, the system measures the resistance using a voltage divider method.
This allows for accurate resistance readings by measuring the voltage at the channel pin
You can also check if you can measure 3.3V between the channel pin and ground. That confirms the voltage divider is activated.
Calibrating the Sensor:
Full/Empty Calibration:
Fill the water tank to its maximum level and set this as the "Full" value in the web interface.
Empty the water tank completely and set this as the "Empty" value.
Direct Resistance Value Setup:
If you know the exact resistance values corresponding to the full and empty levels, you can directly enter these values for each channel in the web interface.
By following these steps, you can effectively integrate, configure, and calibrate resistance sensors with the VAN PI OS, ensuring precise water level monitoring for your application.
Last updated