Search found 3 matches

by F.J.S.
14 Sep 2021, 00:42
Forum: ESP Easy: Software
Topic: [P013](sr04 ultrasonic sensor) plugin hang on HI in state mode when NO_ECHO
Replies: 4
Views: 5376

Re: [P013](sr04 ultrasonic sensor) plugin hang on HI in state mode when NO_ECHO

Finally compiled :D !!! (with platformIO) RAM: [===== ] 52.8% (used 43224 bytes from 81920 bytes) Flash: [======== ] 81.5% (used 850852 bytes from 1044464 bytes) Environment Status Duration ----------------------- -------- ------------ normal_ESP8266_4M1M_VCC SUCCESS 00:01:02.324 I tested the change...
by F.J.S.
13 Sep 2021, 21:25
Forum: ESP Easy: Software
Topic: [P013](sr04 ultrasonic sensor) plugin hang on HI in state mode when NO_ECHO
Replies: 4
Views: 5376

Re: [P013](sr04 ultrasonic sensor) plugin hang on HI in state mode when NO_ECHO

Hello again. I think this would be a cleaner change in the code to avoid the "frozen-hi-state" issue. (line 255 of mega/src/_P013_HCSR04.ino 13-sep-2021) new proposed code. case PLUGIN_TEN_PER_SECOND: // If we select state mode, do more frequent checks and send only state changes { int16_t...
by F.J.S.
10 Sep 2021, 23:41
Forum: ESP Easy: Software
Topic: [P013](sr04 ultrasonic sensor) plugin hang on HI in state mode when NO_ECHO
Replies: 4
Views: 5376

[P013](sr04 ultrasonic sensor) plugin hang on HI in state mode when NO_ECHO

Hi everyone. The complement [P013] (ultrasonic sensor sr04) hangs in the state = "HI" working on "state mode" when the sensor ping timeout (NO_ECHO). I think this behavior is not correct since the state remains in "hi" when there is no longer any object in front of the ...