Hello i was wondering how long in delay should i put to turn off and on a computer, As well reset? Because i know for a reset it's a lot faster then Powering down a computer and Powering it back up.
Joseph
Hello i was wondering how long in delay should i put to turn off and on a computer, As well reset? Because i know for a reset it's a lot faster then Powering down a computer and Powering it back up.
Joseph
The time can vary between several seconds and minutes. If it's a specific computer, find out the times yourself.
Otherwise it's a good idea to wait for some sign of life from the computer, like established USB connection.
Once you detect the computer has actually turned off, wait 5-10 secs before reapplying power.
That.’s Just decent treatment of the power supply.
Turning off is completely up to you.
You can crash out at any time, but whether the operations are complete or safe is your decision.
If there is something critical running, perhaps add some method of signalling that the computer is ‘idle’ and available for power down.
I find that Arduinos can be turned off and on as fast as you can operate the switch.
srnet:
I find that Arduinos can be turned off and on as fast as you can operate the switch.
Depends on the board (well, specifically the noo5l9ader it uses) - some will run bootloader after power cycle so your code wont actually start for a second or few (depends on the specific bootloader). Also, if you power cycle an arduino really fast, you can probably glitch it, or not reset.it at all (due to the caps on the supply)
But I dont think that's what OP cared about
Remember the centerfold data sheet in Playboy magazine? It listed "biggest turn ons" and "turn offs".
They were usually time independent.
Hello thank you for the information in my case for the Reset i found as fast as i can is better. So i set it for 10ms which is more then enough And that works with no problem. Now for the power down I found that 2000ms is enough to send a command for a Shutdown also is enough to turn on power. Because powering up is doesn't take that much so i left it the same. All seems to be working with no problem.
Now this is untrue for other systems some might need a longer Hold for powering up. But as far for resetting as fast as can be is more then enough. Thank you all for helping me on this problem in programming. With a little more work i think i can get it better.