These are chat archives for esp8266/Arduino

17th
May 2017
Bert Melis
@bertmelis
May 17 2017 08:08
image.png
I'm seeing very regular interrupt calls on GPIO0 as displayed on this picture. (application is a hall IC switch to detect rotations of ma analog gas meter. the IC is connected to GPIO0 of a Wemos D1 mini.)
The ISR only sets a flag which is handled and cleared in the main loop. Should I suspect hardware or software issues?
Me No Dev
@me-no-dev
May 17 2017 09:34
what issues
what is the time base of the graph?
Bert Melis
@bertmelis
May 17 2017 11:35
the time base is in hours. So there is a false ISR-call every 3h (+/-).
Don't get me wrong, there could be a hardware issue, or interference from a timed source. But as the false trigger is very consistent, I haven't ruled out software issues yet.
Me No Dev
@me-no-dev
May 17 2017 11:44
more exact time could give more clues :) is the board connected to your computer?
Me No Dev
@me-no-dev
May 17 2017 11:51
i see nothing wrong in the sketch
Bert Melis
@bertmelis
May 17 2017 14:07
the board is standalone, not connected to a computer. I'll try to export the timestamps out of the InfluxDB to get the precise interval.
But I suddenly remember that the water company installed a "smart meter" that is sending data wirelessly. Maybe this could interfere with my hall IC that reads the gas meter. Could be a hardware issue!
riataman
@riataman
May 17 2017 15:13
@bertmelis you have proper pull ups in GPIO0?
Bert Melis
@bertmelis
May 17 2017 17:54
only internet pullup. Hall ic is A3213 from Allegro.
Bert Melis
@bertmelis
May 17 2017 18:14
*internal pullup