odroid wrote:Even if the red LED is still on, the U3 consumes less than 1~2mA in the power-off state.
So the relay circuit could be removed if you don't care about the red LED light.
What I need to do is keep the Odroid on when changing the position of the switch. I'm using the relay so cut off the power only when the Odroid has powered off itself. To know when this has happened, I'm using a signal sent to an LED from a sound card that is connected to the Odroid. When I run "poweroff" and the Odroid shuts down, this LED turns off. I'm sending this signal to a Teensy, and when it goes low, the Teensy will open the relay and the power will be cut off.
All this is in theory though, haven't managed to achieve it yet.