Capacitive Discharge Welder

The weather isn’t so good any more, so it’s back to the hobby….  This time we are working on a cap discharge welder. Dave is doing the HV stuff, and I’m working on software.  This board has been nothing but a pain in the ass so far.  After figuring out that there was a 10K resistor inline on the ISP +5V line, I shorted it out, so i could read the device ID off of the ATMEL.  The micro turned out to be a 328 not a 328p as was intended.  I also did not have a crystal for this board.   After hacking the Arduino config files to trick avrdude into thinking this was a 328p  (there is no 328 support in gcc or avrdude yet) I was still unable to program the board since the chip was clocked at 128Khz.  My hacked olimex programmer no longer works with avr-studio so I can’t change the clock on the programmer to work that slow.  I eventually programmed the fuse bytes to disable the div8. This enabled me to program the board.  Now the tools seem to work ok with the wrong micro, and wrong clock. New parts are coming from digikey tomorrow, so all this hacking was really unnecessary.   What can I say. I’m impatient.  Anyway this post is a little boring, but some more interesting ones should be coming down the pipe, once the sparks start to fly.

 

Update, here is video with the quadrature encoder hooked up!