<div dir="ltr">Sorry for the late response, when I got your email I was very busy and then forgot about it till now.<div><br></div><div>I doubt that you over heated the chip. These things can take a lot of heat, remember they are meant to go through a wave soldering machine.</div><div><br></div><div>You might want to look at pin 11 the Din pin. If it's not being pulled down or up when it's supposed to you might get this kind of result. Also, look at 10 the CS pin, this may have similar results. In either of these cases check if the pin is being held high or low all the time.</div><div><br></div><div>Carl</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 10:02 AM, Brian via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ian,<br>
<br>
Without knowing the internal architecture of the chip, I can't say whether the every-other behavior is a likely failure mode.  That said, I have to say offhand it sounds more likely to be a wiring / assembly problem.  Check carefully for cold joints* and solder bridges.  Can you post a photo of the front and back of your assembled board?<br>
<br>
* Cold joints are identifiable by dull appearance of the solder, and the solder appearing to sit on top of the contacts rather than having flowed smoothly over them.<br>
<br>
HTH,<br>
-Brian<span class=""><br>
<br>
On 7/16/2015 7:51 AM, Ian Hands via TriEmbed wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi all,<br>
<br>
I am building something for geekSPARK using an RPI2 and an MCP3008.<br>
The breadboard testing I was doing worked well (yay!) but now that<br>
everything is soldered down I am having issues :-(<br>
<br>
To explain... I had two of these wired up on a breadboard:<br>
</span><a href="http://tinyurl.com/npuoz72" rel="noreferrer" target="_blank">http://tinyurl.com/npuoz72</a><span class=""><br>
On pins 1, 2. Things were working as expected.<br>
<br>
I now have 6 of that same photo resistor + 10k ohm resistor diagram...<br>
wired to pins 1,2,3,4,5,6 (ch0 - ch5), and things are wonky.<br>
For some reason I can get good reading from channels 1,3,5 (pins<br>
2,4,6) but channels 0,2,4 (pins 1,3,5) are all flat (or damn near<br>
close to flat).<br>
<br>
I am scared that I might have overheated the MCP3008.<br>
Anyone think heat could cause a failure on every other pin?<br>
<br>
It may very well be wiring, but I've gone over everything I think...<br>
and I am coming up short (pun intended :-D)<br>
<br>
I started using example code too... same issue, so I am not suspecting<br>
the code atm.<br>
This shows the issue:<br>
</span><a href="https://github.com/martinohanlon/mcp3008/blob/master/MCP3008.py" rel="noreferrer" target="_blank">https://github.com/martinohanlon/mcp3008/blob/master/MCP3008.py</a><br>
As does this: <a href="https://gist.github.com/iphands/b3cd5b329936ed1bb5d5" rel="noreferrer" target="_blank">https://gist.github.com/iphands/b3cd5b329936ed1bb5d5</a><span class=""><br>
<br>
If anyone has an idea, or if some EE savvy person can help me test<br>
after work or on Saturday please let me know. I would be very<br>
greatful.<br>
Thanks.<br>
<br>
</span></blockquote>
<br><span class="">
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
</span><a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>-------------------------------------------------------------------------------</div>
</div>