
Andy Roid
I have been successful with the Help of Alan (@thetechgruru) in having my robot automatically start by applying power to the EZB and starting my computer. This allows the robot to fully activate.
I have built a script that upon verbal command I can get the program and the EZB to shut down.
My next goal is to have this verbal command disconnect the EZB and shut off the computer. I know there is a command to disconnect the EZB which I can add to the verbal shut down script. I can also add a relay which applies and removes the EZB power prior to startup and after shut down.
My question is: Is it possible to shut off the computer from the EZB ?
Shut down before other commands and you guessed it: The other commands after it won't execute.
Amazon Smart Strip
The cool thing is that now Madame boots up by herself when we turn on the computer on. Once I get the shutdown to work it will be great.
Dj. I'm easy. I even laugh at myself...
It almost works.
I tried the script using the /p and it gets to the shutdown window but says it is need ARC to be closed. It goes no further.
I tried the /f and it brings me to another screen on which I need to activate a button to complete the shut down.
Any thoughts?
I have tried not completing the shut down. With the force screen open I remove the power. I know this is not good to do. Upon restarting I get an error screen which asks how to restart. ( Safe Mode etc.) If I wait the 25 seconds or so, it will do a "Start Windows Normally". I know it works, but I also know it is not right.
My end goal is having a Latte Panda inside my robot. I will only have a Power / Safety switch which supplies power to the whole system. This will start the robot and remove power after shutdown. (The start part works fine.)
Any other ideas?
shutdown.exe -s -t 00 -f
This sets the shutdown to take place immediately when the shortcut is clicked. However edit the '00' part of the code to reflect the number of seconds delay that will take place before shutdown in implemented.
This delay should give ARC time to close.
If you still have issues like the computer not shutting down all the way go back to Alan's command but add the delay to the end. Not sure how to format that but try looking at this (or maybe someone can help with the santex):
Timed delay shutdown of win 7
Hibernate is actually a good solution. Unlike Sleep, hibernate requires no power, and will return the computer to the exact state it was in before hibernating (as far as what applications were running). You will definitely need the connect script in a time loop like we discussed earlier though because ARC will already be running, so it won't know to execute the script on startup.
Alan
Code:
Maybe if the /f switch was left out and just the -s and -t 00 switches?
Andy wants to cut power to the computer with a outside switch when he leaves the building. If the computer is in Hibernate mode and loses power what would this do the next time he starts the computer?
So, if I understand right, I can use the method DJ mentioned to shutdown in hibernate, Then do I still need the same startup script Alan gave ?
Alan
When this works, I can use the embedded computer as planned. Thanks
Works great !
Antonn will finally getting his own Brain !
THANK YOU TO ALL THAT HELPED
This was a good thread. I learned something also! Thanks.
Alan