<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hey Martin,<br><br></div>Can I please peck your head hopefully one last time?<br><br></div>We&#39;re so close, got the hardware for the installation up and running, box made etc etc.<br>
<br></div>Could you have a once-over of our code:<br></div>Still only seeing one sensor though all of our multimeter testing says sensor 2 is fine and ready to go.  I think it has to be a code problem in the C file but I just_can&#39;t\-see\-it!! <br>
<br></div>Keep wondering if there&#39;s a way of being able to test the 2nd sensor in a similar vein to sensor 1 with &#39;i2cdetect&#39;, like if we could shift the IC switcher so it would allow us to run the test on the 2nd one.<br>
<br></div>Pd is receiving on both sends (44l &amp; 44l2) but all we have is one sensors readings - same in the prints from the C file.<br><br></div>As per usual any and all comments/advice gratefully received.<br><br></div>
Cheers,<br><br></div>Julian<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 9 May 2013 23:42, 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>Hallo again,<br><br></div>10k&#39;s and clock now at 3.3v but the IC only works at 5v.<br>
<br></div>Got a bit carried away before - my friend George, who&#39;s the sensor co-explorer, is normally only available on Friday&#39;s so very much had that Friday feeling - and of course giddy with the sensors all finally working.  Started to lose the plot with it all last weekend and was getting a bit frenzied with my interactions on the breadboard - was probably the wise thing to just put it down for a few days and come back with a clear head.<br>

<br></div>Think my codes still a bit buggy as I&#39;m only getting one sensor coming into Pd but have 2 sets from the console.<br><br></div>Back to it,<br><br>Julian<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On 9 May 2013 18:41, Martin Peach <span dir="ltr">&lt;<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On 2013-05-09 12:25, Julian Brooks wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey Martin / all,<br>
<br>
Had to put this down for a few days but back at it today.<br>
<br>
Finally got it working - huzzah!<br>
</blockquote>
<br></div>
That&#39;s great!<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I changed the c file so that although it&#39;s gpio17 it&#39;s actually pin 11<br>
(define_SENSOR_SELECT_PIN) and boom!<br>
Why the numbering scheme is so confusing is beyond me but anyway.<br>
<br>
Also for us we&#39;re running the IC at 5v as well as the 10k resistors on<br>
the clock line.<br>
<br>
</blockquote>
<br></div>
Unless you have level shifters you should have the 10ks to 3.3V. (Although at 10k, it&#39;s probably not too dangerous to go to 5V)<div><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks again Martin - you rock.<br>
<br>
Have a great weekend,<br>
<br>
</blockquote>
<br></div>
Have a great sensation;)<span><font color="#888888"><br>
<br>
Martin<br>
<br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>