Time delay switch

Hi All I am hoping you can help me.
I need to delay the power going to a raspberry PI by about 5 -10 seconds when the mains power is turned on.
The situation is this, Raspberry PI connected to a screen in a retail display. Store power turned off each night and then turned back on in the morning. I need the raspberry PI to roll the content on the screen when both reactivated but through testing this will only happen if the power to the raspberry PI arrives later than the power to the screen…

Has anyone heard of a time delay switch? or can we program the delay into the PI?
any ideas would be appreciated
Cheers Bec

Hi All
No need to reply to this thread we have worked it out - you can program the delay into the PI

cheers

Hi Rebecca

If you are able, can you share the solution we can have it here for others who are trying to do the same.

Hey Clinton

We:

Added delay command in the boot config file.

I hope this makes sense to you
J

Cheers

Bec

Rebecca Moore

Senior Account Manager

image001.png

P:
03 9457 2641

F:
03 9457 4896

M:
0411 879 513

E: bec.moore@assetdisplay.com.au

1 Like

There are two entries you can add to /boot/config.txt to delay boot.

boot_delay=x
Wait for x seconds in start.elf before loading kernel.
Default 1.

boot_delay_ms=x
Wait for x milliseconds in start.elf before loading kernel.
Default 0.

Hey Clinton

Extra info re the time delay thing.

We were able to set the screen to turn itself on once power was tuned on.

The PI was then programed with a 20 sec delay to let the screen turn on before the PI did it’s thing.

Cheers

Bec

Rebecca Moore

Senior Account Manager

image001.png

P:
03 9457 2641

F:
03 9457 4896

M:
0411 879 513

E: bec.moore@assetdisplay.com.au

1 Like