Replacing a DS2423 with a mysensors sensor, Possible?
-
As simple as it sounds. It there a easy way to replace a 1 Wire DS2423 (counter) with a Mysensors sensor?
I have an old 1-wire flow control sensor that has been connected to a DS2423 counter. I would rather use this flow control sensor with a Mysensors sensor instead, since I can't get hold of a new DS2423 (out of production since 2012)
The flow control sensor has three connections Vcc, GND and DATA. It is now attached the same way as a DS18B20 sensor with a resistor (4,7KOhm) between DATA and Vcc and then the DATA cable connects to a INPUT on the DS2423. Would it be possible to connect the DATA cable to a arduino port instead and let the arduino do the counting?
Anyone converted a 1 wire counter sensor before?
-
hello.
you need to look at pulsemeter arduino sketch. Like this one for instance but you will certainly need to change it a bit.
https://github.com/mysensors/MySensors/blob/development/examples/WaterMeterPulseSensor/WaterMeterPulseSensor.ino
-
Thank you , Ill try that. I missed that one
I think my giving about 100 pulses / litre.