<div dir="ltr">Doug,<div><br></div><div>As usual, you're right. I'm not sure what the end-state of my control project will be, but I'm sure I will paint myself into a corner if I don't plan on more channels than I THINK I will need. Looks like I just need to get busy and start the learning process. Let the questions begin:</div><div><br></div><div>The How-to "Simple GPIO for the BBB Using USB" mentions only the BBB. Are there any differences in setup/programming for RPi2?</div><div><br></div><div>The case shown in the photo of your project appears to be just the right size. What is the source?</div><div><br></div><div>In addition to the Adafruit FT232H board and the JBtek 8 Channel DC 5V Relay Module what are the additional components in the lower left-hand corner of your How-to photo? I see a capacitor, but that's all I can identify.</div><div><br></div><div>Thanks!</div><div><br></div><div>John </div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 18, 2015 at 3:25 PM, Doug Crompton <span dir="ltr"><<a href="mailto:doug@crompton.com" target="_blank">doug@crompton.com</a>></span> wrote:<br><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">John,<br><br> Well anything I can do to help let me know. A serious control project would certainly need more than that provided by the sound USB FOB. The wiringpi gpio command is really easy to use. Look at the 'gpio readall' output and you will see all the Pi bits and their current states. The howto shows simple examples of how to set bits to input or output and read the input or change the output state. There is also easy interrupt driven bit reading.<br><br>There are many companies that make I/O boards for the Pi. Here is one that I have bought from and they are very well made boards -<br><br><a href="https://www.abelectronics.co.uk/products/17/raspberry-pi-plus/" target="_blank">https://www.abelectronics.co.uk/products/17/raspberry-pi-plus/</a><br><br>Also if you look at the USB to GPIO howto you will see relay boards in the photos. These relay boards are very inexpensive and can be driven directly from the Pi GPIO - 3.3V lines. They have opto isolators on the input. With a GPIO expander and four 8 channel relay boards you could control up to 32 external lines.<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><hr>From: <a href="mailto:wb5nfc@gmail.com" target="_blank">wb5nfc@gmail.com</a><br>Date: Fri, 18 Dec 2015 13:59:44 -0500<br>To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>Subject: Re: [arm-allstar] How To for using GPIO on the DMK URI?<br><br><div dir="ltr">Hello Doug. Thanks for the additional information. I looked at the how-to information on the web page but frankly, it scared me off.... I don't understand enough about what I'm reading to even know where to begin. It's not a lack of information, but rather a lack of understanding on my part. I'll go back and re-read everything again and see if it sinks in a little better on the second or third read through. <div><br></div><div>There are two of us who are embarking on a control project - the other ham is just getting started. He's awaiting delivery of his first DMK URI. He has a far-better engineering background than I, but he's not at all familiar with Linux. Once we get his node on the air, then we will both be asking a lot of questions, I'm sure. Many thanks to you and everyone on the list for your patience and willingness to help others. </div><div><br></div><div>John</div></div><div><br><div>On Fri, Dec 18, 2015 at 12:34 PM, Doug Crompton <span dir="ltr"><<a href="mailto:doug@crompton.com" target="_blank">doug@crompton.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><font color="#000000" face="Tahoma,sans-serif">John,<br><br> While the sound USB FOB extra GPIO bits are there and can certainly be used don't be afraid of the Pi GPIO. The howto is on the web page as well as a project that uses USB to create GPIO. Both definitely work and if you need more bits that would be the way to go. The Pi I/O using WiringPi is built-in to the <a href="http://hamvoip.org" target="_blank">hamvoip.org</a> Pi image. Any of these methods can be used via scripts and Allstar. I use the USB GPIO project shown in how-to's on the web page at my Allstar demos, setting and resetting bits controlling relays via DTMF.<br><br>Just remember that direct Pi GPIO is 3.3 volts! <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><hr>From: <a href="mailto:wb5nfc@gmail.com" target="_blank">wb5nfc@gmail.com</a><br>Date: Fri, 18 Dec 2015 10:26:14 -0500<br>To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>Subject: [arm-allstar] How To for using GPIO on the DMK URI?<br><br><div dir="ltr">I'm just beginning to look at using some of the GPIO functions available in the Rpi2 / DMK URI. Looks like there are LOTS of different ways to accomplish the same task. To get started, I'd like to keep things as simple as possible. Really don't want to use the Pi's GPIO pins or an outboard USB device. Can someone point me in the right direction for information on controlling the URI's GPIO pins 1, 2 & 4? <div><br></div><div><br>Thanks!</div><div><br></div><div>John </div></div>
<br>_______________________________________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<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>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" target="_blank">http://hamvoip.org</a></div> </div></div>
<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" rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" rel="noreferrer" target="_blank">http://hamvoip.org</a><br></blockquote></div><br></div>
<br>_______________________________________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<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>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" target="_blank">http://hamvoip.org</a></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" rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" rel="noreferrer" target="_blank">http://hamvoip.org</a><br></blockquote></div><br></div>