Difference between revisions of "RPiWaterMeter"
Line 1: | Line 1: | ||
''' | ''' | ||
This is the way I measure water-usage with my Raspberry Pi''' | This is the way I measure water-usage with my Raspberry Pi''' | ||
+ | In my case I use Domoticz, but it also works with Home-Assist and other products. | ||
It works with a magnetic sensor, which can be used because of the half-metal rotor of watermeters in my country (Netherlands) | It works with a magnetic sensor, which can be used because of the half-metal rotor of watermeters in my country (Netherlands) | ||
− | For magnetic sensor I use the LJ12A3-4-Z/B with a piece of aluminium it's easy to mount on the meter: | + | For magnetic sensor I use the LJ12A3-4-Z/B from the well known company in China, with a piece of aluminium it's easy to mount on the meter: |
<div class="res-img"> | <div class="res-img"> | ||
[[File:RPi_watermeter_sensor.jpeg|thumb]] | [[File:RPi_watermeter_sensor.jpeg|thumb]] | ||
Line 10: | Line 11: | ||
Shematics: | Shematics: | ||
<div class="res-img"> | <div class="res-img"> | ||
− | [[File:RPi_watermeter_schematics.jpeg]] | + | [[File:RPi_watermeter_schematics.jpeg|thumb]] |
+ | </div> | ||
+ | Because the sensor needs 9-36 Volt, while a Raspberry Pi only can deliver 5 Volt, I use an adjustable chopper (also from China), adjusted as 12 Volt. | ||
+ | I use a Raspberry Pi Cluster, so I can do a failover, pin 2,6 and 38 (if you use GPIO20) are also wired to a second Pi, for the Power a diode is needed, for each Pi, while it's a bad idea to connect the power to multiple Pi's. | ||
+ | |||
+ | First tested it with an experiment board: | ||
+ | <div class="res-img"> | ||
+ | [[File:RPi_watermeter_experiment.jpeg|thumb]] | ||
</div> | </div> |
Revision as of 17:51, 23 December 2020
This is the way I measure water-usage with my Raspberry Pi In my case I use Domoticz, but it also works with Home-Assist and other products.
It works with a magnetic sensor, which can be used because of the half-metal rotor of watermeters in my country (Netherlands) For magnetic sensor I use the LJ12A3-4-Z/B from the well known company in China, with a piece of aluminium it's easy to mount on the meter:
Shematics:
Because the sensor needs 9-36 Volt, while a Raspberry Pi only can deliver 5 Volt, I use an adjustable chopper (also from China), adjusted as 12 Volt. I use a Raspberry Pi Cluster, so I can do a failover, pin 2,6 and 38 (if you use GPIO20) are also wired to a second Pi, for the Power a diode is needed, for each Pi, while it's a bad idea to connect the power to multiple Pi's.
First tested it with an experiment board: