Monday, 22 December 2014

MyPiFi I/O Expander for Raspberry Pi assembly guide

Firstly open up the packet and sort out the parts.

First job is to solder the GPIO header on as due to it being extended you won't be able to do it later on.

Next the MCP23017 holder, make sure the semi circle indent is the right way round, ie closest to GPIO like the outline is drawn on the board.

Now we move onto the header pins 9 pins per side, I found bluetac a great way to hold the board when soldering it.

Then place the MCP23017 chip in, you will need to bend the legs slightly in to do it. I found holding it and the ends then pressing one side on its side against a flat surface lightly I was able to bend the legs inwards slightly so it would fit straight into the holder. A little bit of pressure is needed to push into the slot but be careful not to use to much as if a leg isn't in place it will break it.

Finally this is how the board should look.

The chip is controlled by the sda and scl pins on the pi.

Heres a video I made in assemblying the board (my second ever video with a new camera), its not the best quality but gives you an idea what to do. the linky is as follows:

A great write up in getting this running is on the raspberry Pi spy site telling you what to do to set up a mcp23017 device, the link is

Gordon has also written an excellent blog on controlling things though it too using wiringPi

Lastly Alex Eames from the HDMIPI kickstarter and regular Pi blogger has written this with demo scripts.

I haven't written any demo scripts yet as there is plenty about on the Internet, but feel free to send me a link to your projects and I'll add them below.

A great place to get started with demo codes and instructions is here

No comments:

Post a Comment

Please feel free to comment would love to hear your ideas.