Power Outage Monitoring Advice

Hi Particle Community,

I’m looking to use Particle to measure 12V AC power that inputs into a battery to notify me when the power goes out. The battery plugs in to a normal wall socket. I need the Boron/Argon to connect to ethernet so I’m going to add a featherwing adapter. What would be a simple way to wire the Boron to detect a power outage?

Thanks!

1 Like

Do you mean 120 VAC from an ordinary wall socket to a battery charger? And how are you powering the Boron/Argon? USB power adapter with backup LiPo battery?

The easiest proxy is to use a Boron because it has a PMIC on it, and monitor the PMIC power good flag. It returns true when external power is present, which will be true when there is 120V main power powering the USB power adapter. The Boron will continue to run because of the battery when there is no main power. No additional hardware is required at all to use this technique.

4 Likes