View Single Post
Old 12-13-2008, 05:35 AM   #2 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 1,393

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 14
Thanked 12 Times in 8 Posts
So, how do you make a controller?

The microcontroller (ATMega8 in my case) can generate pulse width modulation (PWM) signals. So, it listens to the throttle, and then sends a PWM signal to the mosfets' gate driver. The gate driver amplifies it a bit. The gate driver's job is to turn the mosfets on and off according to the PWM signal. Then, the mosfets massively amplify the PWM signal. That signal is sent to the motor, and you drive down the road. That's it!

The microcontroller can also monitor things like battery pack voltage, temperature, or whatever you want!
__________________
As I watch the old man walk on the sidewalk below my window, I think "Some day old man, I will be like you. So why not give me your coat?" Then I go downstairs to get his coat, but he's gone. Hey, maybe he was Zorro.

website!
  Reply With Quote