ESP32 - Waterflow sensor causes panic
Posted: 22 May 2019, 21:26
Hello ESPEasy-Community,
i don´t know if my Problem with the ESP32 is Part of the Issue #2475 and i hope you can Help me.
I have a garden project where I switch 6 solenoid valves and one pump via relays. Everything is controlled and operated via the ioBroker. In addition, I have 4 water flow sensors that cause me problems.
In the past, I still had an ESP8266 with a PCF8564 used as an expander for the relays and this works quite well. Even with the current ESP32, the controller works really well.
Now I wanted to switch on the water flow sensors to monitor the amounts of water. But as soon as I open the valves and start the pump, the controller crashes and I get the following message after a few seconds:
The List of Devices is this:
I think the signals are clean enough to do an evaluation. The flow sensors are connected to a separate power supply (5V) and are connected to the ESP via a step-down device (to 3.3V). In addition, capacitors (100nF) and pull-up resistors (10k) have been considered. I bought a very cheap oscilloscope (20 €) to look at the signals from the sensors.
Unfortunately, I run out of ideas and would be glad for any support.
Thank you in advance
i don´t know if my Problem with the ESP32 is Part of the Issue #2475 and i hope you can Help me.
I have a garden project where I switch 6 solenoid valves and one pump via relays. Everything is controlled and operated via the ioBroker. In addition, I have 4 water flow sensors that cause me problems.
In the past, I still had an ESP8266 with a PCF8564 used as an expander for the relays and this works quite well. Even with the current ESP32, the controller works really well.
Now I wanted to switch on the water flow sensors to monitor the amounts of water. But as soon as I open the valves and start the pump, the controller crashes and I get the following message after a few seconds:
My settings are on all devices for the flow sensors are:9887 : IMPT : [GV_States2#Ventil5] : 0.00
9887 : EVENT: GV_States2#Ventil5=0.00
10056 : ACT : GPIO,17,1
10058 : SW : GPIO 17 Set to 1
10631 : EVENT: H6#ml=0.00
10759 : EVENT: H6#Total=0.00
10871 : EVENT: H6#Time=0.00
20629 : EVENT: H6#ml=27.00
20753 : EVENT: H6#Total=36.00
20869 : EVENT: H6#Time=114.00
Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401f0470: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IlleGuru Meditation Error: Core 1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loop$ @4)
Guru Meditation Error: Core 1 panic'ed (Guru Meditation Error: Core 1 panic'ed (Guru Meditation Error: Core 1 panic'ed (Double exception)
1r▒▒▒▒?d▒▒?▒▒?Debug exception reason: ▒▒▒?ndled debug $ @4▒▒?Debug exception reason: Debug exception reason: ▒▒▒?%% 1r▒▒▒▒?d▒▒?▒▒?Debug exception reason: ets Jun 8 2016 00:22:57
The List of Devices is this:
I think the signals are clean enough to do an evaluation. The flow sensors are connected to a separate power supply (5V) and are connected to the ESP via a step-down device (to 3.3V). In addition, capacitors (100nF) and pull-up resistors (10k) have been considered. I bought a very cheap oscilloscope (20 €) to look at the signals from the sensors.
Unfortunately, I run out of ideas and would be glad for any support.
Thank you in advance