<p dir="ltr">GPIO works great with the BBB using the external gpio fobs. I have scripts that work that turn on and off outputs to control my Doug Hall voter. I also have some code that monitors the inputs which are tied to the voted indicators to tell me the percentage of time each receiver has been voted. I also have a mode that plays the site name of the most voted receiver after each transmission which can either suplement the courtesy tone or replace it. </p>
<p dir="ltr">I used the sample code that Doug included in the how to on the website as a starting point.</p>
<p dir="ltr">It's not perfect but it gave me a great project to teach this old man a bit of Python coding. </p>
<p dir="ltr">If anyone would like to play with my code, I can provide it. Email me and I'll send you a link to a drop box download. </p>
<p dir="ltr">Sam K8SN</p>
<div class="gmail_quote">On Jun 8, 2015 8:37 PM, "Doug Crompton" <<a href="mailto:doug@crompton.com">doug@crompton.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><font color="#000000" face="Tahoma,sans-serif">Neil,<br><br> I would say if you really want GPIO now then get a RPi2. The current version fully implements the GPIO except for use with the FOBS. The next version will also support that.<br></font><br><b><font style="font-size:16pt" size="4">73 Doug</font><font style="font-size:16pt" size="4"><br></font><font style="font-size:16pt" size="4">WA3DSP</font><font style="font-size:16pt" size="4"><br></font><font style="font-size:16pt" size="4"><a href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt" size="4"><br></font><br><br><div>> From: <a href="mailto:k8it@cac.net" target="_blank">k8it@cac.net</a><br>> To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>> Date: Mon, 8 Jun 2015 19:33:12 -0400<br>> Subject: Re: [arm-allstar] using BBB GPIO running asterisk v1.2.1<br>> <br>> I would really be excited if some of the gpio could be turned on or off by a <br>> commend that I could use in macro scripts...<br>> <br>> <br>> Thanks<br>> 73 Neil Sablatzky K8IT<br>> Allstar Node 41838 KITLINK<br>> Allstar Node 42087 KITLINK HUB<br>> IRLP Node exp0068<br>> Echolink K8IT-L<br>> <br>> <br>> --------------------------------------------------<br>> From: "David McGough" <<a href="mailto:kb4fxc@inttek.net" target="_blank">kb4fxc@inttek.net</a>><br>> Sent: Monday, June 08, 2015 7:00 PM<br>> To: "ARM Allstar" <<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>><br>> Subject: Re: [arm-allstar] using BBB GPIO running asterisk v1.2.1<br>> <br>> ><br>> > Hi Neil,<br>> ><br>> > GPIO doesn't work at all in the BBB 1.2.1 release, due to Linux Kernel<br>> > limitations. That's one thing we're trying to fix for the 1.3, which is<br>> > waiting on me at this point....<br>> ><br>> ><br>> > 73, David KB4FXC<br>> ><br>> ><br>> > On Mon, 8 Jun 2015, Neil k8it wrote:<br>> ><br>> >> I am searching for a way to utilize the unassigned GPIO on a BBB<br>> > running Asterisk V1.2.1. I did find the howto on using the usb interface<br>> > card, but why do that as the BBB has plenty of gpio and we can buy break<br>> > out boards for the headers. However I do not have the desire to recompile<br>> > the code, so does anybody have any macro scripts to share that can toggle<br>> > the BBB GPIO in asterisk?<br>> >> Also which header breakout device did you use?<br>> >><br>> >><br>> >> Thanks<br>> >> 73 Neil Sablatzky K8IT<br>> >> Allstar Node 41838 KITLINK<br>> >> Allstar Node 42087 KITLINK HUB<br>> >> IRLP Node exp0068<br>> >> Echolink K8IT-L<br>> >><br>> >><br>> >><br>> >><br>> ><br>> > _______________________________________________<br>> ><br>> > arm-allstar mailing list<br>> > <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>> > <a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>> ><br>> > Visit the BBB web page - <br>> > <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br>> ><br>> ><br>> > -----<br>> > No virus found in this message.<br>> > Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>> > Version: 2015.0.5961 / Virus Database: 4355/9975 - Release Date: 06/08/15<br>> > <br>> _______________________________________________<br>> <br>> arm-allstar mailing list<br>> <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>> <a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>> <br>> Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br>> <br></div> </div></div>
<br>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div>