Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 1483|Reply: 1

Power ON Orange pi Zero when it is in halt state

[Copy link]

1

Threads

2

Posts

15

Credits

Novice

Rank: 1

Credits
15
Post time 2017-11-15 01:44:20 | Show all posts |Read mode
Hello guys!
I have an Orange pi Zero v1.4. I am trying to avoid any possibility to have a SD card corruption due to a hard power cut (unplug power cord or when the place where the Orange pi is run out of power).


So, I want the orange pi turn off automatically (halt) when there is no power and turn on automatically when the power is back.

In order to to this, I intend to use a battery USB power bank to supply energy to Orange pi. This battery power bank is going to supply energy to Orange pi and will be simutaneously recharged (it will be connect to the wall outlet).

I am going to use a circuit (named here as C) that is connected to the wall outlet power supply and to the Orange pi Zero in some GPIO. If the wall outlet stop supplying energy, such GPIO will stop receiving 3.3v from C, and I am going to run a script to shutdown the orange pi correctly. So far, no problem.

My problem is how to TURN ON the orange pi ZERO when the wall outlet starts to supply energy again (note that even with no power in the outlet plug, the battery power bank never stopped supplying energy to the orange pi Zero, even when the orange pi was halt.

I want to use the same circuit (C) to send 3.3v to some GPIO and the start up the orange pi Zero that was in halt state. Is it possible? (but I did not find how to do this).

Anyone have an idea about how to solve this?

Thanks.


1

Threads

2

Posts

15

Credits

Novice

Rank: 1

Credits
15
 Author| Post time 2017-11-16 20:02:26 | Show all posts
Nobody has a hint for solving this problem? O even know a way to solve this problem in a different way?
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-9 18:58 GMT+8 , Processed in 0.025690 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list