[arm-allstar] No electricity

Neil Mooney neilmooney at live.co.uk
Fri Oct 19 05:13:50 EDT 2018


I think the safest and easiest way to detect AC power fail is to use an AC relay with its coil energised by your sites AC power and its contacts used to connect the RPi's own 3.3v supply to one of its GPIO pins.

Regards,

Neil
________________________________
From: ARM-allstar <arm-allstar-bounces at hamvoip.org> on behalf of "Doug Crompton via ARM-allstar" <arm-allstar at hamvoip.org>
Sent: 19 October 2018 03:33
To: ARM Allstar
Cc: Doug Crompton
Subject: Re: [arm-allstar] No electricity

Well I have no idea what that guy said, we generally speak English on this
site!  Anyhow if you strictly wanted to use Allstar to detect this you
would need to build a small circuit to bring AC into a GPIO bit on the Pi.
This would involve rectifying filtering and greatly reducing the voltage to
the 3.3V limit for GPIO on the Pi. This would be relatively easy and I
could supply a simple circuit if you are interested.

Another easier option would be to use a clean 3V DC source powered solely
by AC power connected to a GPIO bit. Remember you cannot connect more than
3V to the Pi GPIO!

Then you would monitor that GPIO bit with a script that would do something
if the power failed. It could change the courtesy tone, or create a tail
message or repeated message on the node to tell you that you were in power
failure mode.

If you are capable of doing this I could give you more details. There is no
"just check this" method for doing this using the Pi as the Pi does not
know by itself if power has been lost.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Thu, Oct 18, 2018 at 9:46 PM "Gervais Fillion via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Luc,
> as tu de l'aprs dans son coin ?.
> tu installes un Tracker comme un Byonic 4 et il monitore l'etat des
> batteries,la temperature ambiente,les porte qui ouvre du site et tu peut
> meme recevoir un courriel.
>
> gervais
> ve2ckn
>
> ________________________________
> De : ARM-allstar <arm-allstar-bounces at hamvoip.org> de la part de "Luc
> Drolet VE2LUQ via ARM-allstar" <arm-allstar at hamvoip.org>
> Envoyé : 18 octobre 2018 21:18
> À : Luc Drolet VE2LUQ via ARM-allstar
> Cc : Luc Drolet VE2LUQ
> Objet : [arm-allstar] No electricity
>
> Hello everyone,
>
> I am looking for a solution to know when I am no longer in electricity on
> an amateur radio site that is difficult to access.
>
> this site works with 3 x 12 volt batteries, but it would be very useful to
> know when there is a power failure,
> can we receive text messages?
> can we change the "ROGER BEEP" queue when there is no more electricity on
> this site?
> or any other method would appreciate
> Do you have any solutions?
>
> 73’s
> Luc
> VE2LUQ
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
_______________________________________________

ARM-allstar mailing list
ARM-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2/3 web page - http://hamvoip.org


More information about the ARM-allstar mailing list