ON - OFF Switch

I am planning on putting my Rock Pi X in a 3D Printed Enclosure and I need access to the onboard on-off switch. Because the switch is so small, a hole in the box has to be much larger than the switch itself, or there can be a small hole, but I would need to push the button with a thin rod of some kind.

So, I was wondering if there was some way I could connect a pushbutton switch like this https://www.adafruit.com/product/1683 to the RockPiX to emulate the function of the onboard switch? Is there a connection I could make to the GPIO header?

Thanks very much,

You can connect it to the external power button connector.

Check the picture here, at the top: https://wiki.radxa.com/mw/images/5/5a/Rockpi_x_ports_v14.jpg

The connector is JST 1.25mm pitch 2P.

1 Like

That’s great! Thanks very much,