2023-12-07, 02:45 PM
(2021-11-22, 12:18 PM)|SCarns Wrote: |I ended up using a Moda sensor from Tank-Edge https://tankedge.com/accessories.html. It was easier thank trying to make one and use touch sensor to try |to figure it all out. This sensor takes 12volt in and outputs a signal that I measure through a voltage divider. The divider probably isn’t necessary, as I think |the sense wire is less than 5 volts, but I figured better safe than sorry.
|
|I used the ADC code as the base. Due to voltage fluctuations I added MovingAverage after linear to level out the readings.
I am looking to do the same thing you seem to have done here but am admittedly a sensESP newbie. I've done a few arduino monitoring projects in the past and I have managed to get sensESP working doing digital and analog input (the examples).
My question is this. How does the tankedge sensor work for you? I want to tape one to my fresh water tank and then measure the water level in my boat tank using this. What type of range did you get from the device? I'm assuming since you feed it 12V and step it down with a divider (something I think I have the equipment to do), you're measuring the voltage it passes. What type of voltage range did you find and how did it vary based on tank level?
Before I go and buy a sensor I'd like to make sure this will do what I'd like it to do. Eventually I'd like to feed this reading to SignalK so I can find my tank level from any browser...
Also - have you considered/done this with a WASTE tank? Is the resistance similar and does sludge that sticks to the tank sides affect the readings through the plastic tank?
In the end I'm sick of climbing in my bilge to see if I have fresh water to make it through another day -- and waste levels low enough I'm not in danger of a mess... I've got esp32 wrooms, I've connected them to signalK. My questions are more about this specific sensor and it's integration and what range of voltage you got in your example. (Plus, has it worked for two years now that you've got this installed?)

