PiDS - the different π-Pressure-Sensor
Welcome to the PiDS - a smart pressure sensor based on the Raspberry Pi and REBOL.
You can purchase an officially licensed bundle of the "PiDS-It!" management software at a price of €29.99 EUR only here. The software bundle already includes all necessary modules (web server, pressure sensor, archive & plot) of the management software, which are required for a level gauge or a water level indicator for tanks and cisterns based on the Raspberry Pi.
The software runs on all Raspberry Pi models. The modular concept of the "PiDS-It!" management software is ideally suited for the new multi-core architecture of the Raspberry Pi 2 and uses the additional computing power optimally.
The hardware that is shown on the following photos are only for illustration and example as a PiDS can look like and how it is assembled. Please purchase the required hardware from the respective manufacturers or through their distribution channels. TGD-Consulting offers only IT services and software solutions.
You want to make your own PiDS based on our "PiDS-It!" management software? Then purchase a license and read on to find out ...As a quick start you'll get here directly an answer to the most frequently asked questions:
More answers to questions can be found in the FAQ.
The term PiDS stands for π-Druck (Pressure)-Sensor and represents the extension of an ordinary Raspberry Pi to a via web interface controllable differential pressure sensor. PiDS is highly versatile and uses the well-known and field-tested software modules of PIUS. But due to the different measuring method an additional customized software module is used to record the measured values of the pressure sensor. PiDS can be used as PIUS either to measure the groundwater level
All important functions of PiDS are controlled and monitored even from afar by using a browser from any PC, tablet or smartphone. Find out live the ease of use and advantages of the π-Pressure-Sensor and convince yourself right here and now on the Internet from the "PiDS-It!" management software, its simple operation and the extensive configuration options. Here you see a
The system price of PiDS including all required components is juast over 100,- EUR. That figure already includes the cost for the license of the "PiDS-It!" management software. The version of the PiDS shown on this page consists of the following components:
The external appearance of our prototype of the PiDS is characterized by the black pressure sensor and the air-filled hose. Due to the size of the MPX5100DP pressure sensor the installation in an ordinary Raspberry Pi plastic housing is a bit cumbersome. However, each component of the PiDS can still be single-handedly assembled by any ambitious users with a little skill. All parts can be ordered directly from the Internet. The sources of supply are partly linked in the above lists. We are using a Raspberry Pi Model 2 for our prototype of the PiDS, which is extended by a MCP3008 A / D converter and the MPX5100DP pressure sensor. This enables you to create your own self made low-cost smart digital level gauge device.
Weatherproof and suitable outdoor housings for the Raspberry Pi are known to be quite expensive, therefore, it is recommended to connect the pressure sensor via an arbitrary 3-wire cable to the Raspberry Pi and to one of the input channel of the A/D converter if required. Thus even longer distances between pressure sensor and A/D converter or Raspberry Pi can be bridged. If the cable quality is right, this works for lengths up to 20m without any problems.
Caution: If you get unexpected system hangers during operation, this indicates a too weak power supply for the Raspberry Pi. Then replace the PSU with a stronger and more reliable one.
When mounting the components into the case short circuiting must be avoided. While installing the A/D-Converter and the pressure sensor pay careful attention, that no unwanted connections to live lines arise. This may damage your Raspberry Pi. In particular during the installation of the Raspberry Pi and especially with semiconductor devices is to ensure that appropriate protective measures against static discharges are taken.
Measuring the height of a water column by a pressure sensor is in principle quite simple and is based on the hydrostatic pressure. Through an air-filled hose (or filled with a different compressible gas mixture) whose length is more than twice the height of the maximum to be detected water column, the hydrostatic pressure of the water column is passed to the MPX5100DP differential pressure sensor for detection. For this purpose both ends of the hose must be located above the water surface. One end of the hose is firmly connected with the right hose connector of the sensor, the other end is hermetically sealed. Then the center of the hose is sunk with the help of a weight to the bottom of the cistern or tank. The air in the hose gets noticeable compressed due to the hydrostatic pressure within the water column and so detected by the pressure sensor. First, however, a short calibration of the measurement system has yet to be carried out to simulate the pressure of an empty cistern / tank. For this purpose only the atmospheric pressure may act on the previously sealed hose and the PIDS-It! management software is to start once. Please refer to the FAQ for further and exact details on calibration.
In addition, a low diffusion hose should be used which over time is not getting more and more porous so that neither air can escape nor liquid can penetrate. Otherwise the accuracy and long term stability of measurement decreases and the measurement system may need to be recalibrated. By the way an influence of air pressure does not matter for the chosen measurement method, because only the differential pressure is detected by the sensor and converted to an analog voltage. A smart REBOL3 script, the pressure sensor module, controls and evaluates the signals digitized by the A/D converter.
The advantages of level measurement by pressure are obvious. Measurements are relatively simple and reliable and have a good accuracy at low fault tolerance. Even fluctuating temperatures and atmospheric pressure changes are compensated by the sensor. The MPX5100DP pressure sensor is inexpensive and available for less than ? 20, - Euro. It features a measuring range of up to 10m depth of water with a maximum accuracy of 10 cm / kPa. The pressure sensor requires a supply voltage of 5 V and has an operational current consumption of less than 10 mA. Therefore, it can be powered directly from the pin header P1 of the Raspberry Pi with electricity.
The central core of the PiDS is the "PiDS-It!" management software, which in addition to a Web server module also includes the pressure sensor module as well as the Archive & Plot module. With the help of the latter PiDS-It! is archiving all measured data and prepares them for graphing as a plot. The plots are automatically drawn every night shortly before midnight and provided as resources for one page of the web server. The clearly arranged daily, weekly, monthly and annual charts (see above) can be increased by clicking. The pressure sensor module requires a spidev Python module. It is available on Github under Open Source. The other constituents of the management software are closed source and require the purchase of a license.
The operation of PiDS-It! done easily via a standard web browser. The web server module handles the entire communication and control. An integrated search function enables easy and fast search for historical readings. It also provides an additional status function ("... a nice gimmick ..."), which among other things records the temperature of the SOC of the Raspberry Pi for the last 10 hours and represents it as a temperature profile. Just click at the corresponding π at the bottom of the page and find out how warm it is about inside the PiDS.
Note: By factory default the configuration interface (PiDS-Settings) is only reachable within the same network segment as the PiDS. If necessary, this can be adjusted according to your own security requirements. If no address for the Admin IP nor an IP range is specified, the π-Pressure-Sensor is configurably from any IP address! Optionally, you can set the access control by an individual combination of user and password.
There are countless types of cisterns and tanks in many different designs from different manufacturers, an exact calculation of the current volume proves to be difficult. The "PiDS-It!" management software calculates the volume linearly to the configured maximum capacity and can therefore be used without any further adjustment for cisterns and tanks in rectangular or cubic shape as well as for vertical cylindrical tanks. Other designs can be easily integrated via bearing charts. The volume is adjusted individually based on a bearing chart (mapping table per CSV file) to the local nature of the cistern. The software bundle already includes bearing charts of cisterns from the following manufacturers:
Use the following link to purchase a license of "PiDS-It!" and to acquire the software itself. The license for the software bundle already includes the limited, nonexclusive right to use the respective modules. An additional license fee for each module is not necessary anymore. Nevertheless when needed you can also purchase volume licensing of our software in addition to individual licenses for the respective modules ( Pressure Sensor / Archive & Plot / Web server ). Detailed information on prices or volume discounts for volume licensing are available upon request.
Prerequisite: A recent Raspbian image on SD card with gnuplot and spidev Python module installed. The Serial Peripheral Interface (SPI) of the Raspberry Pi must be enabled in the kernel.
Installation & Start: It's an amazingly simple setup. The software is delivered as a tarball, which only has to be unpacked (tar xvf PiDSIt.tar) and PiDS-It! is ready for use on the Raspberry Pi. By manually calling the shell script ./PiDSIt.sh start all PiDS-It! modules on the Raspberry Pi are started. Of course, this script can also be used as an init script to start PiDS-It! automatically within the booting process of the system. But you can even run individually the PiDS-It! modules as an alternative to the shell script. By entering ./bin/r3 PiDSIt.r & in the shell the Archive & Plot-module as well as the pressure sensor module are started. The launch of the web server module is provided by this command ./bin/r3 Webserver.r & . However, we recommend at least the integration of the web server module as respawn process in the /etc/inittab . This offers the advantage that the web server module restarts each time it has been killed.
Usage: As already mentioned above, the continued use and configuration of the PiDS-It! management software is amazingly simple. It is primarily done by using the browser on pc, tablets or smartphones. Simply enter the IP address of the Raspberry Pi in conjunction with the port of the web server module as an URL in the browser ( eg: http://192.168.0.100:8080 ) and go for it. Everything else is self-explanatory or reveals itself by itself.
We hope you are just as convinced of the benefits of PiDS and from the smart design of the software as we do. If you have any questions, requests or suggestions for improving PiDS or the "PiDS-It!" management software, we are looking forward to your inquiry.
You are interested in a level indicator on the basis of a low cost ultrasonic measurement method, then click here
You want to know more about our projects and other software? Then visit also these sites: