09-03-2021, 05:10 PM
Hey!
Awesome, I am glad you like them. It souds like you have put some of their features to good use.
Yes - The issue with what you are trying to do is the "wakeup" is a function decided in hardware, such that the "IGN" pin is the only one that can wake the Pi.
You could add a diode to power the "IGN" pin from the door circuit, but this would have a side effect:
The Pi would not be able to shut down if the door was open, as the door would be powering the "IGN" pin. This may not be a problem, but would be something to consider.
I think the easiest way to acheive that would be to hook up an IO expander to the I2C port, something like this would work really well:
https://uk.banggood.com/CJMCU-2317-MCP23...rehouse=CN
No need for a Zero, just some python code. You would then poll the MCP23017 over I2C, listening for button presses.
Let me know if the above makes sense!
Cheers,
Sam
Awesome, I am glad you like them. It souds like you have put some of their features to good use.
Yes - The issue with what you are trying to do is the "wakeup" is a function decided in hardware, such that the "IGN" pin is the only one that can wake the Pi.
You could add a diode to power the "IGN" pin from the door circuit, but this would have a side effect:
The Pi would not be able to shut down if the door was open, as the door would be powering the "IGN" pin. This may not be a problem, but would be something to consider.
I think the easiest way to acheive that would be to hook up an IO expander to the I2C port, something like this would work really well:
https://uk.banggood.com/CJMCU-2317-MCP23...rehouse=CN
No need for a Zero, just some python code. You would then poll the MCP23017 over I2C, listening for button presses.
Let me know if the above makes sense!
Cheers,
Sam