hey, guys, i was drilling a hole in a project box and my arduino got in the way and broke the usb part on it. Can someone help me on how to either replace it. Basically the the inside of the silver piece broke and the white piece fell out. Is there a way to desolder it and take the for wires from usb and attach it. Please help.
There are no connection points on the headers, if that's what you are hoping for. Sorry.
There are probably (mine is at home at the moment, going by memory) 4 pins in a square pattern at the center rear of the connector, and two large tabs somewhere along the sides of the connector. These are through-hole, visible at the bottom of the board. Desolder these and replace with another connector is your best bet. Desolder using desolder braid, solder sucker or, if you're lucky enough to have access to one, a desolder station with vacuum pump.
You could replace the connector with wires from a USB cable, but removing the old one is the hard part and a new connector is around US$1 or less, if you don't have some old junk USB device to salvage one from for free.
-j
ok cool, but just to make sure can i get another arduino board then take the atmega168 out and keep swaping them to program?
You could, but those chips and sockets aren't designed for repeated plug/unplug cycles, so you'll eventually mangle a pin, although maybe not as quickly as I would. |:
You could use an external MAX232 circuit and an RS232 port on your computer to program the Arduino, although if it's a diecimilla there's the auto-reset functionality to worry about - that could probably be tapped off the ICSP header. You'd need external power, of course.
-j
an rs232 to ttl circuit is pretty easy to build if u got the bits..
that link should take u thru the process
on the arduino board u would need to power it and conect the converter to the tx, rx, reset, gnd, and +5v pins.