1

I read a lot about this but I can't find a satisfying solution.

I want the Pi to automatically power on when I start the engine and to cleanly power off when I turn it off.

what I thought was to power the Pi from the vehicle battery using a 12v to 5v charger and to connect it to the cigarette lighter socket through a 12V DC DPDT relay, which shorts a pin configured for dtoverlay=gpio-shutdown when I turn the ignition off and shorts the RUN pin to resuscitate the Pi when I turn the it on. see image below: enter image description here the problem is that the Pi doesn't boot when I short the RUN pin but only when I reopen the circuit between the 2 pins.

solutions?

5
  • 1
    google picopsu ... m.youtube.com/watch?v=z2aQNlo9dbU
    – jsotola
    Jan 18, 2020 at 23:59
  • 1
    I've been using this without a single problem for over a year: mausberry-circuits.myshopify.com/collections/…
    – SoreHands
    Jan 19, 2020 at 0:49
  • I'm looking for something cheaper, I shouldn't be far away from the answer
    – Miky
    Jan 19, 2020 at 2:08
  • maybe a NC relay between RUN and GND pins so that when the circuit is closed it opens immediately after could work?
    – Miky
    Jan 27, 2020 at 0:05
  • @SoreHands does it cut the power to GPIO/USB too when the Pi is powered off?
    – Miky
    Jan 30, 2020 at 0:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.