<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/sodnpoo.xsl"?>
<xml>
<post>
  <title>stripboard arduino shield 1</title>
  <date>
  6 Feb 2011
  </date>
  <p>
  So my <a href="http://sodnpoo.com/posts.xml/stripboard_arduino_clone.xml">stripboard arduino clone</a> can do something useful I've built some shields for it. This one is a dual function board handling i2c (both 3.3 &amp; 5 volt) and access to a microSD card via the SPI bus.
  </p>
  <image src="/posts.assets/i2c_sd_1.jpg"/>
  <p>
  The i2c bus is physically accessed by the pins at the bottom of the picture above. On the left is the 5 volt pins (the 4x4 block) and on the right is the 3.3 volt ones (I've run out of pin headers so only one column is populated). Each column on both sides provides v+, SDA, SCL and ground.
  </p>
  <image src="/posts.assets/i2c_sd_2.jpg"/>
  <p>
  The red sub-board is a <a href="http://www.sparkfun.com/products/8745">sparkfun logic level converter</a> that handles the conversion for the 3.3 volt part of the i2c bus. Unlike i2c, the lines on the SPI bus are unidirectional so I could use voltage dividers to perform the level conversion instead of the larger footprint sparkfun board.
  </p>
  <p>
  I've used an old SD to microSD adapter as a card socket which was easy to work with as the contact spacing is the same as standard pin headers (see the top of the first picture).
  </p>
  <image src="/posts.assets/i2c_sd_3.jpg"/>
  <p>
  The underside of the board is a bit less neat than I would like although I'm quite pleased with how the vertical solder tracks for the SD card came out.
  </p>
  <p>
  Right now I'm using the 5v i2c bus to read from an SRF08 ranger mounted on the bottom of my prototype UAV, and the SD card to dump the values of the sensors and internal state of relevant program parameters for post test analysis. I'm going to use the 3.3v i2c bus to read from the <a href="http://sodnpoo.com/posts.xml/arduino_with_bma180_and_itg3200.xml">bma180 and itg3200</a> once I've mounted both of them on to the UAV chassis.
  </p>
  <p>
  Arduino code <a href="https://github.com/sodnpoo/arduino">here</a>.
  </p>  
  <p>
  04/Sep/11 - Updated with eagle schematic below - yellow horizontal lines are the copper tracks on the underside of the stripboard, red lines are jumper wires on the top.
  </p>
  <image src="/posts.assets/i2c_sd_eagle.jpg"/>
  <p>
  </p>  
</post>
</xml>


