[arm-allstar] How To for using GPIO on the DMK URI?

Doug Crompton doug at crompton.com
Sat Dec 19 11:47:00 EST 2015


John,

 That project would work equally well on the BBB and Pi. The Pi has the advantage that it has 4 USB ports and would not need a hub. I changed the title in the link but not on the page. We were using the BBB for almost a year before the RPi2 came out.

The case I used was one I had in the junk box from many years ago. I think there are similar style boxes out there but there is obviously no requirement that you use that style box.
The terminal strip at the bottom left in the photo just has a couple of bypass capacitors on the 5V line from the power connector on the back panel to the relay board. The USB interface is powered from the USB line coming from the computer board.

Keep in mind that the relay board shown and in the link is just one of many styles. You can get two to eight relays from many different manufacturers. They are very inexpensive. They should also work directly from the Pi2 GPIO which would make things a little easier especially from a programming standpoint. In that case you would just refer to the GPIO howto and use the "gpio" command as shown there.

73 Doug
WA3DSP
http://www.crompton.com/hamradio


From: wb5nfc at gmail.com
Date: Sat, 19 Dec 2015 11:17:36 -0500
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] How To for using GPIO on the DMK URI?

Doug,
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:
The How-to "Simple GPIO for the BBB Using USB" mentions only the BBB. Are there any differences in setup/programming for RPi2?
The case shown in the photo of your project appears to be just the right size. What is the source?
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.
Thanks!
John  

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20151219/ddf074b2/attachment.html>


More information about the arm-allstar mailing list