<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"><<a href="mailto:jbeezez@gmail.com">jbeezez@gmail.com</a>></span><br>
Date: 11 April 2013 19:24<br>Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd<br>To: Martin Peach <<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>><br>Cc: PD List <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
<br><br><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 class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><br></div>
</div></div></div><br></div></div></div>