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.
|