I troubleshot the controller tonight. I hooked up the laptop to the arduino and enabled the logging features in the code. I was correct, the sensor input from the kitchen sensor which is a fairly long wire run was SUPER noisy. I was getting temperatures in degrees celcius from 19 to 30. I tried what Xringer suggested and found a little choke and threw it on. I was surprised to find that it really didn't seem to do anything noticeable. So, for kicks, I cut the wire to the capacitor I had on the sensor input line. That made things much worse. So, I reconnected it. Finally, I just increased the sensor samples considerably. I am now taking 50 sensor readings and then averaging them out. This seemed to give me some pretty consistent results.
__________________
Current project - To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Last edited by Daox; 09-27-16 at 07:28 AM..
|