water metering - Wersja do druku +- Forum Tiny Control Solution (https://forum.tinycontrol.pl) +-- Dział: LanKontroler - sprzęt i wersje wsadów, problemy, zastosowanie (https://forum.tinycontrol.pl/forumdisplay.php?fid=3) +--- Dział: LanKontroler - wersje oprogramowania (https://forum.tinycontrol.pl/forumdisplay.php?fid=4) +--- Wątek: water metering (/showthread.php?tid=691) |
water metering - peter222 - 02-29-2016 Hi, I have a water meter with a built in reed relay. It's current should not exceed 10mA. My questions are: To which digital input should I connect it? Any or better INPD4? Can I use temperature measurements at the same time on other digital inputs (DS18B20) ? Should I add any additional circuits to limit the current on the input below 10mA or it is done by LC? Thanks, peter Re: water metering - peter222 - 03-03-2016 Hi, i have tried ind4 for the pulse counting. as the input by default in state high I gave a short to pin 4-5. I managed to get the input d4 "LOW", but what ever I was doing the pulses are not counted anywhere. is there any special settings? that is mine: lc_counter.JPG (Rozmiar: 26.91 KB / Pobrań: 3,620) I have started and stopped the counting many times, manually gave many pulses, but nothing. Anyone ever was able to use this feature? Please give me a hint. Thanks, Peter Re: water metering - adzik - 03-04-2016 1.Click 'Start' button :-) 2.change l/h value ratio to integer >0 Re: water metering - peter222 - 03-05-2016 Thanks Adzik, your answer is much appreciated! It works now. Now I am thinking of sending an alert e-mail, when the water is running. I can put an event on the impd4 to do that when it becames low, but it will send e-mails endless after each state change and I have to avoid that. As I can't see any possibilities to limit the number of e-mails, I was thinking to do it indirectly: impd4="low" triggers PWM PWM out is connected to analogue input inp2 I put an e-mail event on input inp2 Once the tap is open, reed relay force to low impd4 and it keeps the PWM constantly in event, so the e-mail is sent only once, at the beginning. What do you think? Is there any easier solution? peter |