I was hoping that someone could help me out. I'm very much a novice when it comes to arduino.
I have posted the code for my project on bitbucket for you to take a look at.
The projects purpose is to read the analog pins, which I have temperature sensors hooked up to.
I have an android app that connect to the server and gets the temperatures for each probe.
As an example of my problem, I have probes connected to analog port 0,1,2.
0 = 118F water
1 = 37F water
2 = 87F room temp.
If I only have probe 0 hooked up, i get a reading of 118 for that probe. When I leave probe 1, both, the readings of probe 0 and 1 will become the same reading (85,85)
I tested it the other day, all seemed find at the beginning, probe 0 had an accurate temp of 250, and probe 1 was 45, and probe 2 was 47. Later on in the day I noticed that probe 1 and probe 2 temps were inaccurate, they were always within a few degrees of each other. Later on, I had to disconnect all three, and when I plugged them back in they all read the same temperature.
It seems that if I have only one probe connected, it doesn't matter if its connected to pin 0,1 or 2, the temp is accurate.
but if multiple probes were connected that's when I was having issues.
Does anyone have any idea what may be going on, or what I can do to troubleshoot the cause of this issue?
let me know if my description is confusing.