This is a solid idea and along the lines I've been thinking, I already 
have implemented the wall-wort AC-failure detector :)

Maybe its not a problem for you, but what happens if the power remains out 
long enough for the battery to run dead?  (we generally seem to have at 
least one 12-18 hour outage a year, often more if you are in flood prone or 
heavily wooded areas).   The "smarter than average" UPS purports to handle 
this situation by delaying its restart until the battery has re-charged 
enough to complete a reboot and shutdown cycle of the protected load. 
 Often the AC has many short outages for several hours after the 
restoration.

You might be able to implement something like this in an Arduino -- those 
Adafruit "Trinkets" are cheap and could be up to the task.

At this point I just hope for the best and accept the need for a "manual" 
restart after a major outage, but I'd like better if cost effective.


On Monday, May 16, 2016 at 4:06:48 PM UTC-5, Jim S wrote:
>
> I already have a big battery in the UPS so I don't need another one.  What 
> I need is control.  I have an Arduino connected to the BBB for I/O that 
> could help with this.  If the Arduino could interrupt the power to the BBB 
> (or trigger the boot process some other way) that would handle power up.  
> It could also handle delay for power down.  Something like this:
>
> BBB and Arduino powered from UPS.
> Another wall wart power supply from AC line to Arduino to sense state of 
> AC line
>
> Upon loss of AC line the arduino would delay an amount of time and send a 
> signal to the BBB to trigger shutdown.  Time delay would prevent shutdown 
> for short line drops.  After time to shut down it would drop power to the 
> BBB.
> Upon regaining AC line it would close switch to apply power to BBB.  A 
> small delay would probably be a good idea to eliminate possibility of very 
> short off times.
>
> The switch could be a relay or solid state switch.  And the Arduino could 
> be any microprocessor.  
>
> On Monday, May 16, 2016 at 11:44:59 AM UTC-5, Harvey White wrote:
>>
>> On Mon, 16 May 2016 09:14:13 -0700 (PDT), you wrote: 
>>
>> >That is pretty limited.  Sounds like just punting the software and going 
>> >with a mostly hardware solution would be just as easy but then I am a 
>> >hardware guy.  I think a UPS with auto shutdown AND restart capability 
>> >would be something a lot of people would want but I could be wrong. 
>>
>>
>> How about an inexpensive microprocessor (of whatever variety), an 
>> on-board backup battery, and enough smarts to shut down a BBB 
>> intelligently?  Perhaps a pin on the BBB might be dedicated to a 
>> shutdown option.  It's a combination of both hardware and software. 
>> How much you pay for it, how much you decide to build into it depends 
>> on your own desires. 
>>
>> Harvey 
>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0c578f54-8a5d-452a-aceb-521c36377bbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to