[FOR SALE] Pololu mini switch to gracefully shutdown GBZ (None left)
Posted: Fri May 06, 2016 6:33 pm
EDIT: All these switches are gone. But just google around, you can find them for cheap.
Hey guys,
I went a bit click happy and accidentally purchased two additional versions of these switches. I would have cancelled the order, but based on my last experience at ThePiHut for outright cancelling both my RPI0 orders, I just kept it as is. Now I have 1 additional switch that I don't need. Even though I paid a bit more, I would sell them for 5€ each including shipping, just so I could recoup some of the costs back.
If anyone wants to take a crack at solving how to gracefully shutdown the PI, then this is what you'd use. Using the power switch mapped to this switch to turn it on (A & GND). You then would need an interrupt driven GPIO input to listen to the state of the power switch. When it's opened (shut off), then software will trigger the shutdown process and use a GPIO pin mapped to CTRL to turn it off (which happens after the shutdown process) using GPIO Poweroff.
This solution is not proven yet but I bought these switches because they were inexpensive and I wanted to give it a try.
More info here (and where I bought them):
http://www.exp-tech.de/mini-pushbutton- ... tection-lv
PM me if interested or email me at abandonedemails@gmail.com but making certain that "sudomod" is somewhere in the subject or else I won't receive it. Thanks!
Hey guys,
I went a bit click happy and accidentally purchased two additional versions of these switches. I would have cancelled the order, but based on my last experience at ThePiHut for outright cancelling both my RPI0 orders, I just kept it as is. Now I have 1 additional switch that I don't need. Even though I paid a bit more, I would sell them for 5€ each including shipping, just so I could recoup some of the costs back.
If anyone wants to take a crack at solving how to gracefully shutdown the PI, then this is what you'd use. Using the power switch mapped to this switch to turn it on (A & GND). You then would need an interrupt driven GPIO input to listen to the state of the power switch. When it's opened (shut off), then software will trigger the shutdown process and use a GPIO pin mapped to CTRL to turn it off (which happens after the shutdown process) using GPIO Poweroff.
This solution is not proven yet but I bought these switches because they were inexpensive and I wanted to give it a try.
More info here (and where I bought them):
http://www.exp-tech.de/mini-pushbutton- ... tection-lv
PM me if interested or email me at abandonedemails@gmail.com but making certain that "sudomod" is somewhere in the subject or else I won't receive it. Thanks!