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.
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
"Remote Irrigation with LoRaWAN: LM27313 Challenges and PCB Design"
Hardware • 24 Jan 2024, 23:06 • wrendral 3 Feb 2024, 07:13 -
Best VOC sensor for detecting a wide range of VOC's?
Hardware • 26 Oct 2023, 23:59 • NeverDie 18 Nov 2023, 01:41 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41