Current version of the OpenAuto Pro is 12
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Safe shut down powersupply
#1
Hi here is my power shutdown and power up, that i am busy experimenting with. It is based on the the shut down using one relay and a timer, as on the forum. i will be running that script once installed to see if it will work.  It will supply power from the ignition of the vehicle to the timer and the trigger of the timer. once activated the timer relay will energize supplying 12 V to the 12v to 5V converter, which in return will power the RPI. The relay will also be energize, once the ignition is switched of the power to the trigger will be cut but as the timers relay is energized it will still supply power to the time until the count down stops and the relay is de-energized. I have added to diodes for current feed back so that the trigger isnt trigger again when the ignition is switched of.

Hope full it will work, still have to finish building it and then testing it before final installation.

Any feedback would be appreciate.


Attached Files Thumbnail(s)
   
Reply
#2
Interesting!! especially the drawing.. makes it all clear! hope it works.. i'll wait till i you know if it works as it should.
Reply
#3
Hi. so this weekend I started to build the gracefull shutdown powersupply as mentioned on the forum using 1 Relay and a digital timer. do to the costs of the timer her in South Africa i opted for a digital 12 volt timer relay, and used some diodes to keep the timer energizend and to be shut down completly until power form the ignition is applied to it.

So I built the circuit with the relay as in my drawing and tested it this afternoon with the script that is used on the forum. I have not yet connected the 12 Volt to 5 Volt converter, but tested the shutdown of the PI with the setup. i adjusted the time delay in the script to 10 seconds and the timer delay to about 30 seconds. As in the video, when the ignition is switch on the PI starts up, as soon as the ignition is switched of the relay short the GPIO 17 to Ground, after 10 seconds the screen goes blank and after a few more seconds the green light of the PI stops flashing indicating that it is switched off.

Now I have to mount everything re-install it in the car and the start with the software to mirror on the phone.

https://www.youtube.com/watch?v=JzX_lkjcRZw
Reply
#4
Hi Wynand,

I was looking for a 'Safe shutdown' solution a long time.
Your solution seems to be the easiest to come by so I might be using your solution.

Is it posible to get the script u using for reading the values from GPIO 17 ?

Thanks in advance,

Cas
Reply
#5
(01-27-2020, 11:02 AM)TheSupraLife Wrote: Hi Wynand,

I was looking for a 'Safe shutdown' solution a long time.
Your solution seems to be the easiest to come by so I might be using your solution.

Is it posible to get the script u using for reading the values from GPIO 17 ?

Thanks in advance,

Cas

Hi am using the script as written by 765GHF  on the forum see his post its his script I am using https://bluewavestudio.io/community/show...p?tid=1128
Reply
#6
What type diodes do you use?
Raspberry Pi 4b-4gb / Official 7" touchscreen / OAP 5.0 / Honor 8x (AndroidAuto 5.) / USB sound card / USB microphone
Reply
#7
(01-27-2020, 10:15 PM)skrimo Wrote: What type diodes do you use?
The diodes is rated 12V 3 amp
Reply
#8
(01-28-2020, 07:39 AM)Wynand Wrote:
(01-27-2020, 10:15 PM)skrimo Wrote: What type diodes do you use?
The diodes is rated 12V 3 amp

Could you give me link to the exact diode you're using? Can't seem to find the right ones
Reply
#9
[attachment=436 Wrote:     skrimo pid='8132' dateline='1580225487']
(01-28-2020, 07:39 AM)Wynand Wrote:
(01-27-2020, 10:15 PM)skrimo Wrote: What type diodes do you use?
The diodes is rated 12V 3 amp

Could you give me link to the exact diode you're using? Can't seem to find the right ones
 The diodes i used I bought  is a 1N5408 ark
Reply
#10
(01-28-2020, 06:32 PM)Wynand Wrote:
(01-28-2020, 03:31 PM)skrimo Wrote:
(01-28-2020, 07:39 AM)Wynand Wrote:
(01-27-2020, 10:15 PM)skrimo Wrote: What type diodes do you use?
The diodes is rated 12V 3 amp

Could you give me link to the exact diode you're using? Can't seem to find the right ones
 The diodes i used I bought  is a 1N5408 ark

@Wyland this looks great!  I am going to try it out myself.  Can you please verify the parts list I have?  I am having difficulty finding the right diodes.

12v Digital Delay Timer https://www.ebay.com/p/2135105073

1N5408 Diode 
https://www.amazon.com/BOJACK-Assortment-Rectifier-Recovery-Switching/dp/B07Q5FZR7X/ref=sr_1_1?keywords=1N5408+12v+3a&qid=1580323980&sr=8-1
This diode is listed as rectifier diode rated at 1000V and 3A
Thanks, Frank
Carputer Detail   Parts List
2004 Chevrolet Tahoe Z71 w/ Bose & Onstar
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)