Here is my schematic, with a few explanations below, because the schematic application probably had some limitations:
-P1 is ~100V
-P2 is 24V
-The sensor is not a PIR sensor, but an inductive sensor
-rasbperry is missing![Smile :)]()
The circuit is soldered onto a board, with JST connectors
![Image]()
As for your question – yes, the ports do recover – sometimes a single Raspberry Pi reboot is enough, sometimes not. You're probably right that in one case more time was needed. But one port seems to be permanently damaged.
I also need to add some additional symptoms that might be related to this situation. Sometimes my Raspberry Pi does something like a reset – I get a black screen for a few seconds, then a message about the monitor being connected, and sometimes a programs shut down along with that. Occasionally it also logs out the user. Unfortunately, I haven't checked if the issue also occurs without the Arduino connected. I've never seen powering problem message.
Let me also explain how the code works. The Arduino counts the pulses from the sensor and roughly every second or two sends information via serial to the Raspberry Pi about when the camera should take a picture. At the same time, it triggers the LED flash. The setup works correctly – sometimes for an hour or more. But quite often I have issues with the Arduino disconnecting from the Raspberry Pi over and over again. Eventually, the port breaks down
-P1 is ~100V
-P2 is 24V
-The sensor is not a PIR sensor, but an inductive sensor
-rasbperry is missing
The circuit is soldered onto a board, with JST connectors

As for your question – yes, the ports do recover – sometimes a single Raspberry Pi reboot is enough, sometimes not. You're probably right that in one case more time was needed. But one port seems to be permanently damaged.
I also need to add some additional symptoms that might be related to this situation. Sometimes my Raspberry Pi does something like a reset – I get a black screen for a few seconds, then a message about the monitor being connected, and sometimes a programs shut down along with that. Occasionally it also logs out the user. Unfortunately, I haven't checked if the issue also occurs without the Arduino connected. I've never seen powering problem message.
Let me also explain how the code works. The Arduino counts the pulses from the sensor and roughly every second or two sends information via serial to the Raspberry Pi about when the camera should take a picture. At the same time, it triggers the LED flash. The setup works correctly – sometimes for an hour or more. But quite often I have issues with the Arduino disconnecting from the Raspberry Pi over and over again. Eventually, the port breaks down
Statistics: Posted by bubik — Sun May 11, 2025 8:15 pm