View Single Post
Old 07-14-2009, 12:06 AM   #1998 (permalink)
MPaulHolmes's Avatar
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,119 Times in 734 Posts
I resoldered the stuff that I removed in the debugging process. It's all a go, I repeat, everything is a go! With it all working perfectly, I believe. I am going to put it in the car later.

I have a way to tune my PI loop now. I'll use the serial port to output the current so I can look at step response. I'm getting a super cheap laptop on Craigslist if it isn't sold already. This is going to be awesome! I remember Jay's graphs if his robot PD loop, and I'm going to try something similar. I can't wait to get good solid data! Then Joe and Adrian can tune to their motors too, and we can get something of a library together, so we know the just right P and I for each motor type.
R12 keeps pwm output low as the default
R11 keeps the current draw from the PB1 down
The 1N4148 diode pulls PWM low while !CLEAR is active

kits and boards
  Reply With Quote