<div dir="ltr"><div><div><div>Hi Martin,<br><br></div>Did you manage to make any progress with the sensor on the Pi?<br></div>I also wanted to ask whether the output we&#39;re receiving from i2cdump makes any sense to you as it doesn&#39;t to us currently?  Tried searching around for possible info on the &#39;XX&#39; &amp; &#39;ff&#39; but drawing a blank here.<br>
<br></div>Cheers,<br><br>Julian<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 April 2013 01:11, Julian Brooks <span dir="ltr">&lt;<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">


        
        
        
        


<p style="margin-bottom:0cm">Hey all,</p><p style="margin-bottom:0cm">Some success finally:</p><p style="margin-bottom:0cm">Hurrah!!</p><p style="margin-bottom:0cm">The scl breakout pin on the pi proto plate wasn&#39;t working properly.</p>

<p style="margin-bottom:0cm">When unscrewed halfway it works, when fully screwed in it doesn&#39;t.</p><p style="margin-bottom:0cm">So - now got this:<br></p>
<p style="margin-bottom:0cm">i2cdetect -y 0</p>
<p style="margin-bottom:0cm">     0  1  2  3  4  5 
6  7  8  9  a  b  c  d  e  f</p>
<p style="margin-bottom:0cm">00:          -- -- --
-- -- -- -- 0a -- -- -- -- -- 
</p>
<p style="margin-bottom:0cm">10: -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- 
</p>
<p style="margin-bottom:0cm">20: -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- 
</p>
<p style="margin-bottom:0cm">30: -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- 
</p>
<p style="margin-bottom:0cm">40: -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- 
</p>
<p style="margin-bottom:0cm">50: -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- 
</p>
<p style="margin-bottom:0cm">60: -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- 
</p>
<p style="margin-bottom:0cm">70: -- -- -- -- -- --
-- -- <br></p><p style="margin-bottom:0cm">and</p><p style="margin-bottom:0cm">i2cdump -y 0 0xa   <br>No size specified (using byte-data access)</p><p style="margin-bottom:0cm">Gives a whole host of stuff I don&#39;t yet understand but I don&#39;t care currently as something is actually happening.</p>

<p style="margin-bottom:0cm">Will figure out a way of saving the console info (any hints anyone?)  as it gets badly mangled when cutting and pasting  but basically something like this:</p><p style="margin-bottom:0cm">
i2cdump -y 0 0xa   <br>No size specified (using byte-data access)<br>     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f                      0123456789abcdef<br>00: ff XX XX XX XX XX XX ff XX XX XX XX ff ff ff XX    .XXXXXX.XXXX...X<br>

10: XX ff XX XX XX XX XX ff XX ff XX ff XX XX ff XX    X.XXXXX.X.X.XX.X<br>20: ff XX XX ff XX XX ff XX XX XX XX ff XX XX XX ff    .XX.XX.XXXX.XXX.<br>30: XX ff XX ff XX XX XX XX ff ff ff XX XX XX XX XX    X.X.XXXX...XXXXX<br>

40: XX XX XX ff XX ff XX XX XX 64 XX XX d5 XX XX ff    XXX.X.XXXdXX?XX.<br>50: XX ff XX XX XX XX XX XX XX ff XX XX ff XX XX XX    X.XXXXXXX.XX.XXX<br>60: ff XX XX XX ff XX XX XX XX XX XX XX XX ff XX XX    .XXX.XXXXXXXX.XX<br>

70: XX XX XX XX XX XX XX ff XX XX XX XX XX XX XX XX    XXXXXXX.XXXXXXXX<br>80: XX ff XX XX ff ff XX XX XX ff XX XX XX XX XX XX    X.XX..XXX.XXXXXX<br>90: XX XX ff XX XX ff XX ff XX ff ff XX XX ff ff XX    XX.XX.X.X..XX..X<br>

a0: XX ff XX XX ff XX XX XX XX XX XX XX XX XX ff XX    X.XX.XXXXXXXXX.X<br>b0: XX XX ff XX XX XX ff XX XX ff XX XX XX XX XX XX    XX.XXX.XX.XXXXXX<br>c0: XX XX XX XX ff XX XX ff ff XX XX ff ff XX XX XX    XXXX.XX..XX..XXX<br>

d0: XX XX XX XX XX ff XX ff XX XX XX XX XX ff XX ff    XXXXX.X.XXXXX.X.<br>e0: XX XX XX ff XX ff XX XX XX XX XX XX XX XX ff XX    XXX.X.XXXXXXXX.X<br>f0: ff XX ff ff XX XX XX XX XX XX XX XX XX XX ff XX    .X..XXXXXXXXXX.X</p>

<p style="margin-bottom:0cm"><br></p><p style="margin-bottom:0cm">Progress at least.</p><p style="margin-bottom:0cm">Cheers,</p><p style="margin-bottom:0cm">Julian<br></p><p style="margin-bottom:0cm">
<br></p><p style="margin-bottom:0cm"><br></p><p style="margin-bottom:0cm">  <br><br></p>

</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 April 2013 11:27, Julian Brooks <span dir="ltr">&lt;<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Message resent for thread archives with smaller picture size.<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">Julian<br></font></span><div>
<div><br><div class="gmail_quote"><div>---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Julian Brooks</b> <span dir="ltr">&lt;<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>&gt;</span><br>


Date: 11 April 2013 19:24<br>Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd<br></div><div>To: Martin Peach &lt;<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a>&gt;<br>Cc: PD List &lt;<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>&gt;<br>


<br><br></div><div><div><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><div><div class="gmail_extra"><br><br><br></div>
</div></div></div></div></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>