<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're receiving from i2cdump makes any sense to you as it doesn't to us currently? Tried searching around for possible info on the 'XX' & 'ff' 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"><<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>></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't working properly.</p>
<p style="margin-bottom:0cm">When unscrewed halfway it works, when fully screwed in it doesn'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't yet understand but I don'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"><<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>></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"><<a href="mailto:jbeezez@gmail.com" target="_blank">jbeezez@gmail.com</a>></span><br>
Date: 11 April 2013 19:24<br>Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd<br></div><div>To: Martin Peach <<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a>><br>Cc: PD List <<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>><br>
<br><br></div><div><div><div dir="ltr"><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">Hey Martin / list,</span></p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">Finally got all the stuff and ...</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif"">It’s not working! </span><span style="font-size:12pt;font-family:Wingdings"></span><span style="font-size:12pt;font-family:"Arial","sans-serif""></span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif"">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:"Arial","sans-serif"">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:"Arial","sans-serif"">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:"Arial","sans-serif"">We then moved on to case 2 page 3 of this same document… </span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif""></span></p><p> <span style="font-size:12pt;font-family:"Arial","sans-serif"">At each stage we checked with “I2Cdetect –Y 1” and nothing was visible.</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif"">The grid shows no attached devices every time we run it.</span></p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">We re-booted at every stage following the various online tutorials/methods of setting up I2C GPIO on the Pi (checked & double checked).</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif""><br></span></p><p><span style="font-size:12pt;font-family:"Arial","sans-serif""></span></p><p>
<span style="font-size:12pt;font-family:"Arial","sans-serif"">As you can see we’re using a pi protoplate:</span></p><p><span style="font-size:12pt;font-family:"Arial","sans-serif""><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:"Arial","sans-serif""></span></p><p> </p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">In the photo I’ve attached the cables are coded as follows:</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif""></span></p><p> </p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">Orange GND</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif"">Yellow 5v</span></p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">Blue SCL</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif"">Green SDA</span></p><p><span style="font-size:12pt;font-family:"Arial","sans-serif""></span></p>
<p> </p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">The white is also 5v for the pull up resistors.</span></p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">The resistor values are 4.7k btw.</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif""></span></p><p> </p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">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:"Arial","sans-serif"">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:"Arial","sans-serif"">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:"Arial","sans-serif""></span></p><p> </p><p><span style="font-size:12pt;font-family:"Arial","sans-serif"">Don’t know if this means anything or could be useful to know!</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif"">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:"Arial","sans-serif"">I'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:"Arial","sans-serif"">Tonight I'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:"Arial","sans-serif"">Feel like if we can't get past the 'i2c-tools' tests we're screwed - never mind getting it in and out of Pd.</span></p>
<p><span style="font-size:12pt;font-family:"Arial","sans-serif"">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:"Arial","sans-serif""></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>