04-23-14, 07:54 AM | #11 |
Administrator
Join Date: Aug 2008
Location: Germantown, WI
Posts: 5,525
Thanks: 1,162
Thanked 374 Times in 305 Posts
|
Haha, thats very cool!
I tried out the new code last night. It worked better than the quick and dirty version, but there was still some switching on and off. So, I'm looking from suggestions from programmers with more experience than myself. Right now, I'm taking 10 sensor readings at 100 millisecond intervals. After I take the 10 sensor readings I average them. I also threw some delays in there so if it turns on, its on for at least 30 seconds. Is there a better way? It seems like that should take out any spikes, but toward the evening, it was still turning on and off a little.
__________________
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. |
Tags |
arduino, controller, differential, thermal |
|
|