I2C communication fails after powerloss unless capacitors have been fully discharged
If the power bank is disconnected and then reconnected within 20-30 seconds, the ESP cannot communicate with the Detector controller. It appears like the I2C communication is somehow disturbed.
I will have to further investigate the root cause, but the two most likely scenarios are:
- The PCA LED controller is only fully reset if the supply voltage has dropped below 0.2V. Maybe it therefore somehow affects the communication
- One of the AVR modules enters an undefined state and does not recover (will have to double check the Brown-out detection settings)