I am trying to build a raspberry pi dashcam. I plan to have the RPi connected to battery and turned on and off with 12v ignition input. The RPi can be turned on and off by shorting 2 pins on the board momentarily.
I started researching relays, which can be made momentary with resistors and capacitors. But with this method I can only turn the RPi on and not off.
I then was considering an electronic circuit using a 555 timer in a monostable config with a XOR module to control a relay, but most XOR modules I can find are rated for 5v max. I want to build the unit into a plastic shroud around my mirror and space is limited. Should I build the XOR gate using surface mount resistors? Or Is there another way?
I started researching relays, which can be made momentary with resistors and capacitors. But with this method I can only turn the RPi on and not off.
I then was considering an electronic circuit using a 555 timer in a monostable config with a XOR module to control a relay, but most XOR modules I can find are rated for 5v max. I want to build the unit into a plastic shroud around my mirror and space is limited. Should I build the XOR gate using surface mount resistors? Or Is there another way?