Wednesday, July 18, 2012

It's Done!

Ok, the title of this post needs qualification. This project will never be done. There will always be room for improvement and of course there's plenty to do on the software, but the hardware looks done. From a distance.


If you look carefully, you can see the USB board sticking out at the lower left of the countertop. I didn't  design in any way to mount it. On purpose. I need the mill working in order to machine an appropriate mount. It's easiest to drill a big hole in the face of the top drawer face so I figure I'll make something out of plastic that secures the board within a round plug of some kind. Then I'll have a nice USB port right on the front panel. Nice.

Here are some more pics of the assembly process.



Here's a ghetto-style box for the spindle speed controller. The SC is in the upper right. That's duct work left over from remodeling with, appropriately enough, duct tape holding it together. I'm hiding the whole thing inside the cabinet, so I don't care much how it looks. The metal box is grounded and intended to capture noise from the SC.




The wiring took me a long time to finish. Most of the wires connecting to the microcontroller weren't long enough, at least not for comfort. I think I planned for a cabinet of 24" in width, then I got the 30" countertop and didn't increase the wire lengths accordingly. I can't even remember if I made the wires before or after I got the countertop.

In an early test of the wiring hookups I had a little problem. I have a button input for the thermal switch. One thing I did well in my design of the microcontroller breakout board was to pull out all the pins. I allowed for the extra pins to be easily wired as output with spots for resistors. I did not provide for input by making connections for resistors to pull to ground. So I contrived a 3-pin connector for the thermal cutoff switch that has a 10K Ohm resistor "inline". Here's a picture with the heat shrink tubing pulled back.


After connecting it together, I powered things up. Wiggling the connector resulted in the green LED of the Sanguino going out. I didn't know what that meant, but the microcontroller wouldn't work when the light was out, so it certainly wasn't good. I stepped back and scratched my head to think a bit when I noticed a smell. Not a good sign so I powered down quickly. I started manipulating various wires and I brushed my finger across the 5V regulator package and burned my finger!

The regulator on the Sanguino is not supposed to get hot, the overall draw is quite low. This had to mean I had a short. I removed the thermal shutoff input and the buzzer output and powered up. The system worked fine. So I tore apart the thermal shutoff input and discovered what you see above. Manipulating the connector resulted in the two leads of the resistor coming together and shorting power to ground. Not good. I spent quite a bit of time reworking this connector. It was painful.

Anyway, it's all good now. Fully operational. I've started moving things into the drawers. The paint is going to be a pain. It chips very easily and the color is too light, it will get dirty fast.

Time to clean up my shop, something I've refused to do for about 20 months until this was done.