Re: 700R4 TCC Wiring
I found a bug in my Arduino code for the TCC controller that was making the calculated speed value 1/5 of what it should have been. I wanted to lower the TCC off vacuum level in my unit today, so I made the tweak to the latest version I had archived and uploaded it. Then the controller wouldn't work. I turned on some print statements, drove down my driveway with the serial monitor open on my laptop, and noticed that the speed value was way off. I took a closer look at the code, and noticed that the last bit of code I had modified a year ago was incomplete. I had increased the number of speed readings that get averaged from 8 to 40, but one line still had 8 in it. Once I changed the 8 to a 40, it started working again.
|