Hi everyone,
I’m working on a relatively simple system, but I’m encountering an instability issue in some of my prototypes. I would appreciate any insights you might have!
**System Overview**
- Power is supplied by a 24V 20Ah battery with a max discharge current of 9.8A.
- The 24V line powers an industrial modem and LED drivers.
- A DC-DC converter steps down 24V to 5V, providing up to 3.5A.
- The 5V line powers:
- A Seeeduino XIAO (MCU)
- A Raspberry Pi 4B+
- The XIAO and Raspberry Pi communicate via UART.
- The XIAO controls three MOSFETs via digital pins, which act as switches for the power lines of the LEDs, Raspberry Pi, and modem. (Previously, I used 5VDC 10A relays, but I switched to MOSFETs for reliability.)
**The Issue**
I have built several versions of this system, first on a breadboard, then on prototyping boards, and now on a custom PCB. One of the systems has been running for over three months without issues. However, at least half of my prototypes show instability:
- Specifically, when the MOSFET switching the Raspberry Pi power turns on, I observe a voltage drop across the XIAO, causing it to reset.
- This results in a loop, since the XIAO loses control and restarts repeatedly.
**Thoughts**
I suspect a fundamental design issue, but I’m struggling to pinpoint it since different instances of the same system behave inconsistently.
I’ve attached the circuit schematic—any ideas on what could be causing this?
Thanks in advance for any help!

I’m working on a relatively simple system, but I’m encountering an instability issue in some of my prototypes. I would appreciate any insights you might have!
**System Overview**
- Power is supplied by a 24V 20Ah battery with a max discharge current of 9.8A.
- The 24V line powers an industrial modem and LED drivers.
- A DC-DC converter steps down 24V to 5V, providing up to 3.5A.
- The 5V line powers:
- A Seeeduino XIAO (MCU)
- A Raspberry Pi 4B+
- The XIAO and Raspberry Pi communicate via UART.
- The XIAO controls three MOSFETs via digital pins, which act as switches for the power lines of the LEDs, Raspberry Pi, and modem. (Previously, I used 5VDC 10A relays, but I switched to MOSFETs for reliability.)
**The Issue**
I have built several versions of this system, first on a breadboard, then on prototyping boards, and now on a custom PCB. One of the systems has been running for over three months without issues. However, at least half of my prototypes show instability:
- Specifically, when the MOSFET switching the Raspberry Pi power turns on, I observe a voltage drop across the XIAO, causing it to reset.
- This results in a loop, since the XIAO loses control and restarts repeatedly.
**Thoughts**
I suspect a fundamental design issue, but I’m struggling to pinpoint it since different instances of the same system behave inconsistently.
I’ve attached the circuit schematic—any ideas on what could be causing this?
Thanks in advance for any help!




