[arm-allstar] RPI3 Halt Button

Doug Crompton wa3dsp at gmail.com
Mon Nov 13 20:03:03 EST 2017


Chris,

 That is a distinct possibility. How long is your wire. It should be short
like shown in the example and mounted at the case. If it were longer you
might need to bypass it with a .1 or .01 uf cap. Also check pin 11. It
should be high - approx. 3V when open. You can also run  'gpio readall' at
the Linux prompt. This shows the state of all pin. It should be listed as
in and a 1 or hih when the switch is not closed.

Doug

On Mon, Nov 13, 2017 at 7:01 PM, Chris Souleles <csouleles at prodigy.net>
wrote:

> Yep checked both switches I used and they are normally open and they close
> when pressed. When open they are a complete open, no resistance. I even
> disconnected the switch and left the wire on pin 11 and still the same
> result.  Remove the wire and it works as it did before using PUTTY for
> shutdown.  Almost seems like there is some interference being picked up on
> the wire.
>
> I'm pretty good on the hardware side of things but this has me baffled.  I
> checked voltage to the RPI3 and it is 5.01 volts.
>
> I'm just finishing up another node so I will try it on that one and see if
> I get any different result.
>
> Thenks, Chris - W6CS - 73
>
>
> ------------------------------
> *From:* Doug Crompton <wa3dsp at gmail.com>
> *To:* Chris Souleles <csouleles at prodigy.net>
> *Cc:* ARM Allstar <arm-allstar at hamvoip.org>
> *Sent:* Monday, November 13, 2017 3:47 PM
> *Subject:* Re: [arm-allstar] RPI3 Halt Button
>
> Chris,
>
>   Are you sure that switch is not normally closed? Connecting an open
> switch to those pins would not do anything abnormal. Check it with an ohm
> meter. It does work.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/ hamradio <http://www.crompton.com/hamradio>*
>
>
>
> On Mon, Nov 13, 2017 at 6:36 PM, Chris Souleles <csouleles at prodigy.net>
> wrote:
>
> I'm getting erratic behavior from the halt button I installed on my RPI3.
> I installed a momentary button between GPIO pins 9 and 11 and I enabled
> shutdown monitor per the instructions from Doug.
>
> Occasionally it works but most often it causes a problem on start up where
> the RPI won't start (it gets about half way through announcing the IP
> address and then stops and I have to cycle power to try and get it to do
> anything).  I'm using the push on connectors on the GPIO, I've tried two
> different switches and sets of wires to the GPIO and backed out and
> installed the enable shutdown monitor a couple times with the same result
>
> I've removed the wire from pin 11 and now it is back to normal operation
> but I need to go into PUTTY to perform shutdown.
>
> Anyone else experience this difficulty and any advice?
>
> Thanks,  Chris - W6CS - 73.
>
>
> ------------------------------
> *From:* Doug Crompton via arm-allstar <arm-allstar at hamvoip.org>
> *To:* ARM Allstar <arm-allstar at hamvoip.org>
> *Cc:* Doug Crompton <wa3dsp at gmail.com>
> *Sent:* Sunday, November 12, 2017 10:11 AM
> *Subject:* Re: [arm-allstar] RPI3 Halt Button
>
> Chris,
>
>   I assume you are referring to the howto at the hamvoip.org web page. It
> shows where to connect the switch on the Pi 2/3. The script for doing this
> is included in the hamvoip release and is turned on by the flag in the
> /usr/local/etc/allstar.env file. Here is how to do that.
>
> - Enter the bash shell from the menu selection 9
>
> Edit the file. Type -
>
> nano /usr/local/etc/allstar.env
>
> Scroll down to SHUTDOWN_MONITOR
>
> Change "disabled" to "enabled"
>
> Use Control x  to save the file - answer Y and then return.
>
> reboot the system.
>
> The bit should now work to halt the system. Remember you have to hold the
> bit closed for greater than 5 seconds then release for it to work.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/ hamradio <http://www.crompton.com/hamradio><http://www.crompton.com/
> hamradio <http://www.crompton.com/hamradio>>*
>
>
> On Sun, Nov 12, 2017 at 11:42 AM, "Chris Souleles via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Excuse if this is a duplicate - I may have previously posted it to the
> > wrong list.
> > I'm new to Allstar and I don't know linux.  I want to add a halt button
> to
> > my RPI3 node.  I see directions on how to add the button which is
> straight
> > forward and then it says to go to /usr/local/etc/allstar.env and set
> > SHUTDOWN_MONITOR="enabled.  My question is how do I
> > find /usr/local/etc/allstar.env to make that mod.
> > Thanks, Chris - W6CS,  73
> > ______________________________ _________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi- bin/mailman/listinfo/arm- allstar
> <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
> <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