<div dir="ltr">Brian,<div><br></div><div>The only reason you may not want to use a port expander chip is if there are enough GPIO pins on the RPi to do what you need and in general serial communication whether it's I2Cor SPI will be slower than a parallel setup which you would get directly off the GPIO pins. I don't think speed is an issue with you though. The newer RPis have more pins on them and may lessen the need for port expander chips. Anyway, I feel you are doing fine the way you are.</div><div><br></div><div>~Carl</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 9:45 AM, Robert Gasiorowski via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes there is, MCP23S17 and MCP23S08, both SPI.<div><div><br></div><div>Rob.</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 9:22 AM, Grawburg via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">as many of you already know I'm a big fan of using an I/O port expander (MCP23017 or MCP23008) when I'm working with anything that uses voltage other than 3.3 VDC. I want to make sure the Pi is fully isolated from the devices.  I realize that the Python coding is a bit more involved when using an I2C device and that it doesn't currently run on Python 3. I just think the trade-off with protecting the Pi is worth it.  Now, here's my question: Is there a situation when I should not use an I2C chip, keeping in mind the projects I'm dealing with are, by most standards, relatively basic?<br>
<br>
At tonight's meeting I'll have part of my pipeline valve and pump project that is using a single MCP23017 because I need more than 8 I/O pins. If there is an interesting alternative to the I2C I'd like to know about it.<br>
<br>
<br>
Thanks,<br>
Brian Grawburg<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>-------------------------------------------------------------------------------</div>
</div>