<div dir="ltr">Just checked it again and noticeably in comparison to all our previous testing there is now (as good as) zero errors from the sensors.  Rock solid.  Joy.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 23 May 2013 13:16, 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><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hey Martin,<br><br></div>Many thanks for the extra wiring diagram.<br><br></div>We managed to confirm both sensors are working via pin11 from the IC going between earth &amp; 3v with gpio17 disconnected and running i2cdetect.<br>

<br></div>That was really useful as it was the first definite confirmation that both sensors are working correctly.<br><br></div>In the process of doing that we also discovered that the line from gpio17 to IC pin11 was in fact not connected to gpio17 at all!<br>

<br></div>To try and keep the protoplate reasonably tidy we&#39;d soldered to the underneath of the plate.  Somehow in the flipping from one side to the other we&#39;d messed up and missed by two connecting it to ground and therefore making complete sense as to why only one sensor was working.<br>

<br></div>This is also after spending a half hour this morning checking and double checking all the various lines and connections.  <br><br></div>So working now - blimey.<br><br></div>OAN - Whilst wanting to progress the Pd patch last night, having left it since last Friday, I plugged the box with all our gubbins in and promptly blew up the Pi - proper fried it it seems.  Loose power cable to the Pi and we think it was touching a screw on the box.  Kapput.<br>

<br></div>The RPi was a rev1 board and my other is rev2 and the custom image I made doesn&#39;t work on the rev2 board.  Always know this was a possible issue but, you know, got a ton of other stuff to be getting on with.<br>

</div><br></div>So spent until 4am building a fresh image from<br><a href="http://moebiuslinux.sourceforge.net/" target="_blank">http://moebiuslinux.sourceforge.net/</a><br></div>and works really well so far-which is good.  Didn&#39;t get my patching done though:)<br>

<br></div>Long way of saying that I&#39;ve updated my C file to reflect this and all working lovely.<br><br></div>Thank you thank you thank you.<br><br></div>Been much fun,<br><br></div>Julian<br><br></div>P.S. Will give this thread a nudge when I&#39;ve documented it all (it&#39;s a whopper)<br>

</div>
</blockquote></div><br></div>