Page 1 of 1

MySensors Pulse Project

Posted: Sunday 04 April 2021 21:55
by hnogueira
Hi:

After almost (or more!!) than a year trying to make my Pulse project to work finally I made it.
Some tips bellow to help if somebody wants to envolve on the same.

This a water meter installed outside my house, in a place with high humidity.

My first issue was the power source. because there's no power near the meter, my first choice were batteries. Bad choice! The power usage is too high, so the batteries were dead in a couple of days.
Solution: use sleep mode. Another bad choice: Domoticz didn't like that and values were not accurate.

Second problem was the humidity on the arduino board. It was not easy to eliminate all humidity and connection problems were constant.
Solution: move arduino inside home, leave sensor near meter and have a long cable from arduino to the sensor.
Batteries were also removed and sleep mode was disabled.

With all apparently working there was still some inconsistent readings. I found that reflection was not enough so a "tunel" was added to the read led in order to "focus" the reflection signal.
On this last attempted a "cover" was also implemented with a bottle cap in order to secure the sensor and made it easily removed and easily fixed.

Attached some photos.
IMG_6406.jpg
IMG_6406.jpg (241.04 KiB) Viewed 2643 times
IMG_6407.jpg
IMG_6407.jpg (256.3 KiB) Viewed 2643 times

Re: MySensors Pulse Project

Posted: Wednesday 26 May 2021 9:25
by JohanSchaap
Dear Lee,

First of all, my compliments for this project.

I also want to monitor my water meter through an Arduino (nano with Ethernet shield) with Domoticz (Raspberry Pi 3b).
So my configuration is very similar to yours.

Unfortunately I can not program, an IP address in a script can still be adjusted ;-)

Therefore my question is whether you have a step by step manual available for me or possibly your arduino scetch and Domoticz script.

Below my (desired) configuration. I have already connected the proximity switch to the Arduino, this works well.
What I would like is that Domoticz knows the initial meter reading and keeps track of the consumption from that position after receiving a pulse.

Hopefully you can and will help me.

Thanks in advance.
Johan Schaap (the Netherlands)

Re: MySensors Pulse Project

Posted: Wednesday 26 May 2021 15:37
by hnogueira
Hello Johan:

I used de standar MySensor project, just did some fine tuning on the multipliers. I'l also usind radio connetion betewen the two arduino, not ethernet. Why do you need ethernet?

Hnogueira

Re: MySensors Pulse Project

Posted: Wednesday 26 May 2021 22:33
by waltervl
Johan, were is your domoticz server in this scheme?
I would expect: Proximity switch --> Arduino+Eth shield --> Domoticz server (RPi?)

When using the eth shield you can send the data direct to Domoticz like in viewtopic.php?t=12934

You could also use something like https://forum.mysensors.org/topic/7122/ ... sor-values

Re: MySensors Pulse Project

Posted: Thursday 27 May 2021 6:01
by JohanSchaap
hnogueira wrote: Wednesday 26 May 2021 15:37 Hello Johan:

I used de standar MySensor project, just did some fine tuning on the multipliers. I'l also usind radio connetion betewen the two arduino, not ethernet. Why do you need ethernet?

Hnogueira
Thanks for your response.
The reason for my ethernet connection instead of Wifi is that I find it more stable. I also have ethernet available at all locations.

Re: MySensors Pulse Project

Posted: Thursday 27 May 2021 6:04
by JohanSchaap
waltervl wrote: Wednesday 26 May 2021 22:33 Johan, were is your domoticz server in this scheme?
I would expect: Proximity switch --> Arduino+Eth shield --> Domoticz server (RPi?)

When using the eth shield you can send the data direct to Domoticz like in viewtopic.php?t=12934

You could also use something like https://forum.mysensors.org/topic/7122/ ... sor-values
Thanks for your response.
You are right, a drawing error ;-) The right block must of course be Domoticz!

I will look at the pages you specify.