Safe Power Shutdown Sequence support in zedbox mini

Hello,

I’ve checked ZEDBOX doesn’t have indicators of safe system shutdown.

Since ZEDBOX mini does have GPIO pins, I’d like to implement a safe power shutdown sequence as follows:

  1. A shutdown request is triggered externally via GPIO. (Ext MCU → Zedbox)

  2. ZedBox receives the shutdown request and transitions into a safe state for power-off (e.g., shutting down the kernel).

  3. Once the system reaches a power-off safe state (after the kernel has shut down), ZedBox notifies via another GPIO signal that it is safe to cut the main power. (Zedbox → Ext MCU)

We would like to confirm:

  • Does ZedBox support this kind of shutdown sequence?

  • If yes, how can it be configured, and is there any documentation or reference we can follow?

Thank you for your support.

1 Like

Hello Gyeongseop,
Thank you for your detailed explanation.
From a hardware perspective, the ZED Box Mini does have GPIO available, and in principle it should be technically possible to implement the kind of shutdown sequence you describe.
That said, this functionality has not been implemented on our side and is not currently supported out of the box. I will share your request with our technical team so it can be considered for the product roadmap.
Let me know if you have any additional questions.
Best regards,

Gabriel Enzo
Stereolabs Support

Thanks for your consideration. Since the system is based on Debian/Ubuntu,
I guess users can implement this feature on their own or perhaps the Jetson Orin platform provides an interface/configuration for such customization, similar to other SBCs like the Raspberry Pi?

Hi @pepsipower

It’s possible to perform this procedure by mixing Ubuntu behaviors and GPIO control.

We will provide a guide soon to explain how to use the GPIO port of the ZED Box.

HI Myzhar,

We’ve realized that we cannot find GPIO mapping information. We couldn’t find how to configure two GPIOs(11/12) on kernel. We are checking up on Ubuntu but we couldn’t figure mapping information to GPIO11/GPIo12.

Do you have any update on the guide you mentioned or GPIO mapping information so that we can control and read GPIO11/12?

Enabling the GPIO pins on the ZED Box Mini and the Mini Carrier Board requires a firmware upgrade for all the devices bought before October 2025.

The updated flash script and the full GPIO documentation with examples will be released in the next few days.

Thanks for the quick response.
Just to clarify, we can use GPIO based on the script and GPIO documentation within a few days, and the feature will be integrated into ZED SDK in October 2025. Is that correct?

The script for the upgrade of already delivered ZED Box Minis will be available in a few days.

The same setup will be used in production starting from this month, so only the ZED Box Mini received in October will be “GPIO-ready”.

This is not something provided by the ZED SDK.

1 Like

@pepsipower, the new section of the documentation regarding the usage of the GPIO port of the ZED Box Mini and Mini Carrier Board is now available:

1 Like

Hi @Myzhar

Firstly, I’m really appreciate for your great support.
I checked your guide document “the usage of the GPIO port of the ZED Box Mini and Mini Carrier Board”.
I’m done flash image and gpio output control test.
It is working well.
But input test is not working.
I’m using pull-up register with GPIO11.
When system was booted, GPIO11 input value is high.
and toggle it using switch button pressed, value was changed to low.
This part works fine.
But, again toggle it using switch button released, value cannot cahnged to high.
It seems like something in the system is pulling down.
Please could you check it?

Normally, the pull-up resistor allows you to change this behavior.
What value of resistor have you used?
If you used a 10K Ohm resistor, please try with a lower one.

@Myzhar
when I used 10K Ohm, GPIO pin voltage was about 0.3V
when I used 5K Ohm, GPIO pin voltage was about 0.5V

I think it is clue that somthing in system is pulling down

When I tested it, I used a 470 Ohm resistor, and it was working correctly.

Have you tried using a pull-down configuration? I normally prefer it

@Myzhar

I try to test with 470 Ohm register is your recommend, and It is working well.

I doesn’t try with pull-down, cause of working well with 470 Ohm.

The document(Using the GPIOs on your ZED Box Mini - Stereolabs) mentioned as “10kΩ is a good value for the resistor”, but it working with 470 Ohm is far from 10K Ohm.

I wonder why this contition occurs. Could you explain it?

I’m asking because I need to be convinced that I can use this.

The documentation reports 10kΩ because it’s a typical value for pull-up and pull-down resistors to minimize current drain.
Unfortunately, this is not working with the Jetson, so the documentation will be updated to match the testing conditions instead.

1 Like

@Myzhar
Okay, I got it. I’m really appreciate for your great support.

1 Like