BlueWave Studio forum
Safe shut down powersupply - Printable Version

+- BlueWave Studio forum (https://bluewavestudio.io/community)
+-- Forum: Hardware for head-unit (https://bluewavestudio.io/community/forum-87.html)
+--- Forum: Power Supply and Safe Shutdown (https://bluewavestudio.io/community/forum-91.html)
+--- Thread: Safe shut down powersupply (/thread-1391.html)

Pages: 1 2 3 4 5 6 7 8 9 10


Safe shut down powersupply - Wynand - 01-23-2020

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.



RE: Safe shut down powersupply - wou5er - 01-24-2020

Interesting!! especially the drawing.. makes it all clear! hope it works.. i'll wait till i you know if it works as it should.


RE: Safe shut down powersupply - Wynand - 01-26-2020

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


RE: Safe shut down powersupply - TheSupraLife - 01-27-2020

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


RE: Safe shut down powersupply - Wynand - 01-27-2020

(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/showthread.php?tid=1128


RE: Safe shut down powersupply - skrimo - 01-27-2020

What type diodes do you use?


RE: Safe shut down powersupply - Wynand - 01-28-2020

(01-27-2020, 10:15 PM)skrimo Wrote: What type diodes do you use?
The diodes is rated 12V 3 amp


RE: Safe shut down powersupply - skrimo - 01-28-2020

(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


RE: Safe shut down powersupply - Wynand - 01-28-2020

[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


RE: Safe shut down powersupply - frankpintosr - 01-29-2020

(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