With one counter with pulse mode and one with edge mode, everything works fine and keeps counting, except that I noticed some ghostcounts. Switching back to two pulse mode counters, caused again a crash on on of those counters.
Really strange. Might be to much stress for the 8266
Search found 8 matches
- 12 Oct 2021, 21:26
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
- 01 Oct 2021, 11:04
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
Re: Pulse Counter stops working until reboot
I've spent yesterday the whole night to play around and tried to force this issue. Therefore i've used just short jumper cables and after counting some pulses on counter1, then counter2, again on counter1 --> issue on counter 1 I've switched the GPIOs on the counter, still having issues with the cou...
- 30 Sep 2021, 13:06
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
Re: Pulse Counter stops working until reboot
Thank you very much, your help is much appreciated.
Is there any idea how to debug in more detail than LogPulseStatistic,i? might be too see if there is some timeout or whatever?
Is there any idea how to debug in more detail than LogPulseStatistic,i? might be too see if there is some timeout or whatever?
- 30 Sep 2021, 09:31
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
Re: Pulse Counter stops working until reboot
Would a resistor parallel to the reed prevents a "charge" of the wire? Must be of course higher than the pullup to have a high signal while reed is open. I still struggling with my mind, why one channel could affect the behaviour of another one. I would understand if the signal level is no...
- 30 Sep 2021, 09:02
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
Re: Pulse Counter stops working until reboot
Now I added a 4,7k resistor between 3V3 and the Input. Now i can measure 3,3V as expected. But this night after 6 hours the counter 1 has stopped, while counter 2 is still running (counter 2 is the input with the new pullup resistor) On both inputs i can see a regular signal switching between 0 and ...
- 28 Sep 2021, 18:38
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
Re: Pulse Counter stops working until reboot
I will try using a 4,7k pullup resistor. But I can't really understand why and how this could affect the counter issues. At the moment mostly this channel is still working while the input from the tcrt5000 stops working.
- 28 Sep 2021, 15:54
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
Re: Pulse Counter stops working until reboot
At the moment I just use the internal pullup resistance. The Reed sensor is connected between GND and the GPIO14 with a 6m long shielded telefon cable (JY(ST)Y 2x2x0,6 mm²). The cable runs approximately 1m parallel to many power lines, because the ESP8266 is located in the main electrical distributi...
- 28 Sep 2021, 15:23
- Forum: ESP Easy: Software
- Topic: Pulse Counter stops working until reboot
- Replies: 13
- Views: 6313
Pulse Counter stops working until reboot
Hi, I had a ESP8266 running for 2 months with the pulse counter without any issues to measure the energy usage via TCRT5000 on a ferraris meter. (GPIO13, pulse low, 100ms debounce, MQTT each 60sek, total and time) Now I've extented the ESP with a reed contakt to measure gas usage on GPIO14 (input_pu...