04-03-2017, 22:25
(This post was last modified: 04-03-2017, 22:38 by spudstrawb.)
(04-03-2017, 16:48)f4aii Wrote: Hello,Hi f4aii
I have a well in the garden and I would like to take advantage of the weatherduino TX to transfer the water level. I use an ultrasonic sensor SRF05 which is very widespread.
Is it possible to integrate it as spudstrawb did on the thread: http://www.meteocercal.info/forum/Thread...light=case
I will not use a UV sensor, so I would like to have the well level at this location (as spudstrawb did) on the RX and WD. I do not have enough programming skills to change the code.
I will use a waterproof DS18B20 sensor to know the water T ° but this is already provided on the TX card so no worries.
Thanks
I can help you with this, but it's not straightforward. My system has a depth sensor in the water tank that outputs an ascii signal. The depth value is contained within an ascii string and the non-depth text has to be filtered out. The depth sensor is connected to a Win10 PC. I had tried to get it working with the depth sensor connected straight to the RPi 3 but it wasn't anywhere near reliable enough, so it's connected to a Win10 PC instead. This PC is a small low powered PC that I already had. It now does nothing else but work with the depth sensor. Consequently it is not connected to the web and therefore doesn't have to worry about reboots etc after windows update does its thing. Not being connected to the web means that it never gets updated. The Win10 PC takes the depth sensor ascii output and runs an AutoIt script over that output to calculate the depth. The AutoIt script output is a percentage value (ie 100% if the tanks are full), rather than an actual depth value. The percentage value is then fed to an Arduino Uno clone with a digital to analog converter. This provides a signal between 0 and 5V that is supplied to the TX board. There is a bit of tweaking of the WeatherDuino Pro2 arduino code as well.
So it's not particularly straightforward. Can you work within the constraints above? If so, I'm happy to provide further assistance to help you get things up and running.

