<div dir="ltr"><div>Message resent for thread archives with smaller picture size.<br><br></div>Julian<br><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Julian Brooks</b> <span dir="ltr">&lt;<a href="mailto:jbeezez@gmail.com">jbeezez@gmail.com</a>&gt;</span><br>
Date: 11 April 2013 19:24<br>Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd<br>To: Martin Peach &lt;<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>&gt;<br>Cc: PD List &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
<br><br><div dir="ltr"><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Hey Martin / list,</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Finally got all the stuff and ...</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">It’s not working!  </span><span style="font-size:12pt;font-family:Wingdings"></span><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">We spent the day soldering cables and connecting stuff up as per the Omron ‘App Note 01’ spec sheet.</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Started off super-conservative using the  I2C level converter (case 3 page 4) <a href="http://www.adafruit.com/products/757#Blog/Flickr" target="_blank">http://www.adafruit.com/products/757#Blog/Flickr</a></span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">We tried resistors on both sides (being super paranoid!) and then we took  the low (Pi) side ones off.</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">We then moved on to case 2 page 3 of this same document… </span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p><p> <span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">At each stage we checked with “I2Cdetect –Y 1” and nothing was visible.</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">The grid shows no attached devices every time we run it.</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">We re-booted at every stage following the various online tutorials/methods of setting up I2C GPIO on the Pi (checked &amp; double checked).</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><br></span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p><p>
 <span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">As you can see we’re using a pi protoplate:</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><a href="https://www.adafruit.com/products/801" target="_blank">https://www.adafruit.com/products/801</a></span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p><p> </p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">In the photo I’ve attached the cables are coded as follows:</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p><p> </p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Orange           GND</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Yellow            5v</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Blue                SCL</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Green             SDA</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p>
<p> </p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">The white is also 5v for the pull up resistors.</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">The resistor values are 4.7k btw.</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p><p> </p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">We have tested the cable that terminates at the sensor and all that is OK.</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I put a multimeter on the GND and SDA solder points on the sensor itself and got 3.7v…</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I put a multimeter on the GND and SCL solder points on the sensor itself and got 0.0v…</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p><p> </p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Don’t know if this means anything or could be useful to know!</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Stuck and frustrated now but hey, 3 weeks ago I knew absolutely bugger all about any of this and now I do (sort of).</span></p>
<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I&#39;m thinking we could do with the most basic i2c sensor we can find as we have nothing to compare.</span></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Tonight I&#39;m going to d/l a fresh raspbian and start from scratch to check that end.</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Feel like if we can&#39;t get past the &#39;i2c-tools&#39; tests we&#39;re screwed - never mind getting it in and out of Pd.</span></p>

<p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Any thoughts/pointers/options from anyone will be really appreciated?</span></p><p><br></p><p>Cheers,</p><p>
<br></p><p>Julian<br></p><p><span style="font-size:12pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><br></div>
</div></div></div><br></div></div></div>