View Single Post
Old 03-24-2014, 03:00 PM   #6358 (permalink)
MPaulHolmes
PaulH
 
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,202 Times in 765 Posts
I've gotten a lot of practice over the last year with the dsPIC. I also needed quite a few more pins than the atmega168. Also, the atmega is 8 bit, and 16 bit is a lot faster with 16 & 32 bit operations, so I can do a lot more with it. Also, I'm monitoring 3 currents, to see how well the current sharing is between the igbts. The dspic allows 4 channels to be sampled simultaneously. The atmega never would have allowed me to know really what all currents were in a given instant.

Also, I've already got code done for a couple buck chargers that used the dspic. Heck, one of them even had a "throttle", for changing the constant current charge rate. The code is very similar to what I need. It will probably take me a few days to modify it to the motor controller.

I finished the gcode for the base plate, and finished drilling one of them. Also, I mounted 3 igbts, and they fit perfectly. Almost no slop at all.
__________________
kits and boards
  Reply With Quote
The Following 2 Users Say Thank You to MPaulHolmes For This Useful Post:
flores (03-24-2014), mpgmike (01-23-2022)