Hi all,
I'm new here so please excuse me if my question appears a little retarded.
I have my RP 2B with Win 10 IOT, I'm coding with VS2015 in C# and I have a nice little app running which displays a couple of buttons and reads the value of a variable resistor and a couple of heat sensitive resistors via an A2D converter.
I'm using this (which will probably tell you everything):
using Windows.Devices.Spi;
I'm connecting to an MCP3008 and the code that I am using is based on this resource:
http://blog.falafel.com/mcp3008-analog- ... onversion/
which in all fairness I've found to be very helpful.
but here's where it gets a little irritating
I have a variable res on channel 0 and a heat sensitive resistor on channel 1 and another on channel 2. Both of the thermistors are the same value and physically a couple of millimeters apart.
When I change the value of the variable res I see a different value on channel 0 (and lets not go into the fact that they're not linear!) but what I also see is that every time I alter the variable resistor value the value that comes back from one of the thermistors (channel 1) is different (only slightly <1%).
can anyone tell me why the value of channel 1 would be modified in this manner (or is this a case of kirchovs law and I should take a separate power rail for each channel? (the variable res and the themistors end at a different pin on the chip BUT they all share a positive supply line).
Thanks in advance and again, apologies if this is a subject that everyone else already knows the answer to.
Paul.