This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tank level monitoring
#18
I have done some more work on the tank level monitoring using the inductive sensors. I now have a working demo on my project page,
Tank level monitoring.

So far the python script is stand alone as this is the first step to just make it work and send messages to SignalK. It need to integrated into Openplotter.  It uses an extension module to get more digital IO pins (rather limited in the RPi). As you can have up to 128 IO pins the config need to be quite versatile as the tank level monitoring is just one example.  One could extend the tab which already deal with IO pins to accomodate for the  PCF8572 and PCF8574A chips/modules.


However, as the video in my page show the prof of concept work and the prototype in my office works fine.  


There are several ways to integrate this tank level monitoring or a general IO pin interface into the Openplotter. 
- One is to extend the GPIO (add I2C IO boards) section to make it possible to call a python script with a range of pins as parameters and use the status of these pins as input to the script. 

- A second alternative is to make a tool in the "tools" menu and make a "tank level" entry or a more general entry to deal with digital IO pins. 

- Yet another alternative is to start from the I2C menu and include the digital IO pins boards as I2C devices and call functions that handle the different IO boards (they each have a unique address) one by one. One board might be level monitoring, while another might be different types of alarms.

The last alternative might offer the most flexibility as you can have a rather large number of boards, each with very different sensors.



Ole
Reply


Messages In This Thread
Tank level monitoring - by olewsaa - 2017-06-25, 05:56 PM
RE: Tank level monitoring - by abarrow - 2017-06-25, 10:33 PM
RE: Tank level monitoring - by olewsaa - 2017-06-26, 01:04 PM
RE: Tank level monitoring - by abarrow - 2017-06-28, 09:46 PM
RE: Tank level monitoring - by Sailoog - 2017-06-28, 07:02 PM
RE: Tank level monitoring - by olewsaa - 2017-06-28, 07:18 PM
RE: Tank level monitoring - by Sailoog - 2017-06-29, 06:18 PM
RE: Tank level monitoring - by abarrow - 2017-07-05, 03:17 PM
RE: Tank level monitoring - by SCarns - 2021-07-21, 05:56 PM
RE: Tank level monitoring - by frpmanu - 2017-07-26, 08:22 AM
RE: Tank level monitoring - by jim321 - 2017-07-26, 12:00 PM
RE: Tank level monitoring - by abarrow - 2017-07-26, 04:06 PM
RE: Tank level monitoring - by jim321 - 2017-07-26, 04:16 PM
RE: Tank level monitoring - by olewsaa - 2017-07-31, 08:02 PM
RE: Tank level monitoring - by abarrow - 2017-07-31, 07:05 AM
RE: Tank level monitoring - by jim321 - 2017-07-31, 11:26 PM
RE: Tank level monitoring - by Sailoog - 2017-08-06, 06:55 PM
RE: Tank level monitoring - by olewsaa - 2017-08-06, 08:14 PM
RE: Tank level monitoring - by olewsaa - 2017-08-13, 08:38 AM
RE: Tank level monitoring - by Sailoog - 2017-08-27, 12:01 PM
RE: Tank level monitoring - by olewsaa - 2017-08-27, 07:46 PM
RE: Tank level monitoring - by Saqqara - 2017-10-14, 06:17 AM
RE: Tank level monitoring - by olewsaa - 2017-10-15, 05:07 PM
RE: Tank level monitoring - by affinite - 2017-10-16, 10:04 AM
RE: Tank level monitoring - by abarrow - 2017-10-17, 06:02 PM
RE: Tank level monitoring - by Pkarl45 - 2018-11-07, 02:49 PM
RE: Tank level monitoring - by olewsaa - 2017-10-16, 04:05 PM
RE: Tank level monitoring - by abarrow - 2017-11-01, 06:24 PM
RE: Tank level monitoring - by JD1 - 2017-11-02, 03:34 AM
RE: Tank level monitoring - by SkipperEarly - 2017-11-02, 01:10 PM
RE: Tank level monitoring - by abarrow - 2017-11-02, 02:39 PM
RE: Tank level monitoring - by abarrow - 2018-11-07, 07:10 PM
RE: Tank level monitoring - by Pkarl45 - 2018-11-08, 12:36 PM
RE: Tank level monitoring - by olewsaa - 2018-11-07, 10:05 PM
RE: Tank level monitoring - by Charles Riley - 2020-10-24, 08:13 PM
RE: Tank level monitoring - by John_Anderson - 2020-10-27, 02:36 AM
RE: Tank level monitoring - by abarrow - 2021-07-21, 06:10 PM
RE: Tank level monitoring - by SCarns - 2022-07-22, 04:33 PM
RE: Tank level monitoring - by sgowardipe - 2022-07-21, 06:30 PM
RE: Tank level monitoring - by RichFind - 2022-09-24, 11:24 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)