Kirk, I agree that Dave's suggestions are spot on. but also no arguing with actual blown up parts. If this were my project, I would start by disconnecting everything and reconnecting it 1 at a time. I would start with the LED's (and add resistors) then I would add the pot section, lastly I would add 1 coil circuit at a time.
I would suspect the answer can be found with the hardware, but sorry I do not know exactly what is wrong. Your pot circuit looks odd to me. I thought the path was Vcc->cap->pot->gnd. with the signal taken from between the cap and potthrough another resistor. Your diagram seems to show the pot parallel with the cap.
There is clearly some direct short somewhere through the guts of the PIC. maybe this has to do with the type of internal circuit for one of the pins. ie: open collector or totom pole.
As for blowing a 7805, I have never acheived that. they have alwys shut down before then. This is why I think a direct short has to be the problem. the current is spiking so fast, it can't turn itself off before destruction.
Keep this in mind also: even though the hardware worked on the stamp, as you know this will be running much faster, so maybe some back emf from the coil or possibly something else. just saying remember all things are not equal
code tags are this: add [code (other bracket), then your code, then bracket /code] and it will put your code in a nice scrollable box




Bookmarks