<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Piface Digital with RPI2 &amp;amp; drive 16 lights</title><link>/products/raspberry-pi/b/blog/posts/piface-digital-with-rpi2-drive-16-lights</link><description>Hello all,I&amp;#39;m working with an artist to build an animated sculpture with (originally 1 but now) 16 lights driven by RPI 2b because of a king of random algorithm.At first sight, as there was only 1 light, ans 2 input switch, I&amp;#39;ve bought a Piface Digit</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Piface Digital with RPI2 &amp;amp; drive 16 lights</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/piface-digital-with-rpi2-drive-16-lights</link><pubDate>Wed, 02 Nov 2016 20:42:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a201fe00-78f1-4acb-8950-5b1be649d59f</guid><dc:creator>Robert Peter Oakes</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If you&amp;#39;re up for a bit of soldering then you can use a chip (Same as used in the PD2), the MCP23S17 that will give you 16 digital outputs (Or Inputs, it will work either way). This is a SPI device and can simply be instructed to drive its outputs as you need. there are plenty of code examples on how to drive the chip&lt;/p&gt;&lt;p&gt;RPI proto boards are pretty inexpensive and you will only need a few components.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The PI Rack may still work for you as the 40pin PFD2 should still plug into it, you would need to change the address of each board (In the instructions for the board)&lt;/p&gt;&lt;p&gt;No I have not yet seen a PiRack 40pin.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You dont say what the lights are so I cant say how to drive the load. Please provide this info and I can help some more.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Peter&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2146&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>