Hello, I have seen the post : https://www.udoo.org/forum/threads/wake-and-sleep-via-arduino-101.9237/ I am using linux, do I just need to do this in the arduino sketch to wake up or sleep the udoo ? : for(int i=0; i<5; i++) { digitalWrite(reset_pin, LOW); delay(pulse_time); /* Reset pin goes LOW for 8ms */ digitalWrite(reset_pin, HIGH); delay(pulse_time); /* Reset pin goes HIGH for 8ms */ } and set the reset_pin to 9 ? Is there a way to know in the arduino sketch if the udoo is asleep or awake before using this command ? thanks
Yes, and set the proper UEFI/Bios options. For more information see here: https://www.udoo.org/docs-x86/Ardui...aswell_Power_Management_From_Arduino_101.html
Thanks for the answer, that's very useful. If a programm is running (like a web page) on the Udoo and the arduino forces to sleep then wake it up. Will the Udoo be still running the programm ?
That depends how you programmed the program The Braswell part of the Udoo is like a normal PC so it behaves like a normal PC when it is put to sleep and woken up. Edit: on Linux you can do this with pm-utils: https://askubuntu.com/questions/226...ce=google_rich_qa&utm_campaign=google_rich_qa
Thanks ! what about knowing if the udoo is asleep or awake ? Is it possible to know that in the arduino sketch ?
I do not know. Perhaps there is some Braswell pin that changes. You could also check if the serial device between Arduino and Braswell is up. But then you have to check the serial device on the Braswell side too.
To add: you could check the frontpanel led: https://www.udoo.org/forum/threads/led-front-panel.14180/