Author Topic: Water level monitoring in the well with the weather station. Which sensor?  (Read 1503 times)

0 Members and 1 Guest are viewing this topic.

Offline BuddyTheElf

  • Member
  • *
  • Posts: 3
Hello! I am wondering if it is possible to connect some sensor to the weather station to monitor the water level in my well? I have an ECOWITT HP2564 Wittboy with HP2550 TFT Display and I was wondering if there is any possibility for it to work with a sensor such as:
https://aliexpress.com/item/32791153600.html

Ideally, the measurement would be displayed on the TFT display and on cumulusmx or pwsdashboard.

Please advice on how to go about this. I will be grateful for any advice.
« Last Edit: December 18, 2022, 09:12:02 AM by BuddyTheElf »

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: Water level monitoring in the well with the weather station. Which sensor?
« Reply #1 on: December 18, 2022, 10:18:33 AM »
I already taught of something similar ( but did not try it yet ).
I think the easier way is to use a wn30 and a 'converter circuit' that converts the 0-5V input ( from wrt-136 liquid level gauge sensor ) to 'ntc' ( that connects to wn30 in place of the ntc sensor ).
You could convert a 0-5m sensor in a 0-50.0°C on the display ( you have a 1cm resolution but the decimal point is shifted 1 position )
Or you could could convert a 0-5m sensor in a 0-5.0°C on the display ( you have a 10cm resolution )
The 'converter circuit' could be a simple esp8266 board for example ( remote configuration/calibration/software update )
You need also a double power supply ( 3.3V for converter circuit and wn30 and 12V for wrt-136 )
« Last Edit: December 18, 2022, 10:20:32 AM by davidefa »

Offline BuddyTheElf

  • Member
  • *
  • Posts: 3
Re: Water level monitoring in the well with the weather station. Which sensor?
« Reply #2 on: December 18, 2022, 02:04:46 PM »
Thank you for your answer. The idea seems very good, and the implementation is not expensive. Could you please share how to connect the wrt136 sensor and the wn30 to converter circuit (some scheme?). And how to program converter circuit, I will be very grateful. Or, give some tips on where to look for such knowledge and information.

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: Water level monitoring in the well with the weather station. Which sensor?
« Reply #3 on: December 18, 2022, 05:51:53 PM »
A super simple circuit like the attached one should work:
- R1-R2-C1 convert 5V level ( from level sensor ) to 3.3V
- R3-C2 is the pwm to analog converter
- IC1 is a buffer

The software is quite simple:
- read analog input A0
- convert analog value to pwm value
- output pwm value on D5

As we don't know what kind of ntc is used in wn30 we have to take a series of measurement to derive a conversion table ( or to derive the K of the ntc ).
I considered a sensor with a 0-5V output, but if the cable is very long, or passes near interference generating lines, a sensor with 4-20ma output should be preferred ( in this case the input circuit should be slightly modified )



 [ You are not allowed to view attachments ]
« Last Edit: December 18, 2022, 05:59:47 PM by davidefa »

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: Water level monitoring in the well with the weather station. Which sensor?
« Reply #4 on: February 17, 2023, 12:29:25 PM »
Are you still interested in visualizing the water level in your well?
I'm currently testing a sensor that simulates the wh31 protocol, it can be connected to an external sensors like the one you proposed.
It does not connect to an existing wh30/wh31 but it is a stand alone circuit. In this way it is easier to transmit what we want ( without ntc emulation as proposed in previous posts ).
« Last Edit: February 17, 2023, 12:36:31 PM by davidefa »

Offline BuddyTheElf

  • Member
  • *
  • Posts: 3
Re: Water level monitoring in the well with the weather station. Which sensor?
« Reply #5 on: February 19, 2023, 10:48:19 AM »
Of course, I'm still interested! Thanks for remembering this post. Please write something more on how to connect it all together  [tup]

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: Water level monitoring in the well with the weather station. Which sensor?
« Reply #6 on: February 21, 2023, 12:53:23 PM »
I'm testing a WH31 compatible sensor ( I call it DF31 )
Main parts are:
- cpu board ( uses an stm32F103 )
- radio board ( ebyte e49 serie )
Compatible with different sensors sda/spi/analog ( for example the 0-5V liquid level sensor you posted ).
I plan to sell at a reasonable price of roughly 20-30euro, not including the box ( or I can show you how to build a simplified version yourself, if you prefer )
Currently I'm waiting for the definitive circuit.

P.S.
This is a 3d rendering of the board ( not 100% accurate )

 [ You are not allowed to view attachments ]
« Last Edit: February 21, 2023, 02:18:40 PM by davidefa »

 

anything