Author Topic: Help repairing a fried Arduino  (Read 17702 times)

0 Members and 1 Guest are viewing this topic.

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Help repairing a fried Arduino
« on: January 08, 2013, 08:32:58 am »
So, I've managed to burn my Arduino :(. What I did was I accidentally drop a 12V line on the ground of Arduino. I don't understand where the circuit was closed, because technically I've shorted the 12V rail, but  maybe this it's not that important now.

So, what's the situation now? The board starts up and it's recognised by the PC. I've changed the ATmega328 with another one that I've burned the bootloader on it (with another board), and the blink sketch that I believe was put on the chip by default at bootloading is working fine on my board (I can see the L led blink). The problem comes when I try to upload a new sketch: it's giving me the same error as it would if I choose the wrong board type (I don't have the board with me right now, I'll post the error code when I get home).

Where should I start troubleshooting the board? Can anybody point me in the right direction?

Thank you!
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9951
  • Country: nz
Re: Help repairing a fried Arduino
« Reply #1 on: January 08, 2013, 09:04:19 am »
Was the 12V from a battery or other high current supply?

The usual result (from a ground short) is a burnt PCB track.
Look for a track that's a different color to the others.
If you find one give it a scrape with your fingernail and the pcb coating will usually break off easily and show charred copper underneath.

If you find a track like this figure out how much of the track is burnt and where it is ok on each side.
Then scrap to expose fresh copper at each end and solder a piece of wire to join it back together.
« Last Edit: January 08, 2013, 09:06:46 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #2 on: January 08, 2013, 09:11:47 am »
I will not necessarily call it high current, but it's capable of 1 amp. The contact was very brief (less than a second).

I forgot to mention that all the LEDs on the board went on for a split second upon contact, so the circuit was defiantly closed somewhere. Maybe some current was still in the caps? I don't know, I'm still a newbie to electronics, just started some moths ago ...

I'll try to give tracks a better look. Thanks!
 

Offline helloworld922

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
    • My personal blog
Re: Help repairing a fried Arduino
« Reply #3 on: January 08, 2013, 09:13:23 am »
Haha, must be a common failure mode with these Arduinos (I've done it, and I know someone else who's done it, too).

Both of our boards had fried the electrolytic power caps (near the power jack connector). Try replacing one (or both) of them if they don't quite look right. The Arduino website has the schematics for the boards freely available so you can look up their values (mine were 100uF caps).
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9951
  • Country: nz
Re: Help repairing a fried Arduino
« Reply #4 on: January 08, 2013, 09:19:13 am »
I will not necessarily call it high current, but it's capable of 1 amp. The contact was very brief (less than a second).

If it can only supply 1A then i doubt <1 second of short would produce enough temp rise to melt a track.

Melted tracks normally happen when you short batteries and get 10A+
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #5 on: January 08, 2013, 09:23:01 am »
Both of our boards had fried the electrolytic power caps (near the power jack connector).

If those caps are on the power lines and are faulty, will the board still power on and function properly, except upload functionality ?
 

Offline Niklas

  • Frequent Contributor
  • **
  • Posts: 395
  • Country: se
Re: Help repairing a fried Arduino
« Reply #6 on: January 08, 2013, 09:53:53 am »
Perhaps the FTDI circuit that converts USB to TTL is partially fried? The USB part might be ok and still connect, but the the TTL pins can be faulty.
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #7 on: January 08, 2013, 10:24:16 am »
So this means the ATMEGA8U2-MU might be fried ? Any idea how to check that ?
 

Offline dr_p

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #8 on: January 08, 2013, 11:47:08 am »
What I would do:

Try to remember exactly what you did. What color wire went where, where did it come from? What does that mean? Draw the schematic of what resulted from the wrongful connection, maybe it's evident why it went  :-BROKE
Check the voltages.  :-DMM
Use an analog meter (or scope or fast digital bar-graph) to see what drop there's on the 5V rail while working.  :-/O
Measure current while working.  :bullshit:
Try replacing the caps, or at least add some more. (100uF before the regulator, 10uF after it) %-B


 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #9 on: January 08, 2013, 11:56:40 am »
Ok. So changing the caps wins so far, and seems to be the easiest step. I'll surely try that first.

I know exactly what was connected: I had an 16x2 LCD connected to some data lines and the 5V rail connected to the breadboard power line. There was a common ground in between the 12V and 5V rail, and I shorter the 12V line to the ground. How this managed to get to my Arduino, I have no clue, because it seems to me that in this case, I just shorted the 12V power supply. The Arduino was freshly unpowered, so maybe there was some juice left in the caps, but I'll have to check the schematics, as you said to check what might have gone wrong.

Thank you!
 

Online amyk

  • Super Contributor
  • ***
  • Posts: 8275
Re: Help repairing a fried Arduino
« Reply #10 on: January 08, 2013, 12:08:01 pm »
Are you sure you didn't accidentally get 12V onto the 5V rail when clearing the short?
 

Offline dr_p

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #11 on: January 08, 2013, 12:11:18 pm »
So you shorted the input of a 5V regulator that might have still had voltage in the output filter caps. I don't have a schematic so I don't know what type of regulator it is, but this can cause damage to some chips. You would have to read the datasheet if the Vreg and see what they say regarding the protection diodes vs caps size.  Or try to replace the regulator.
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #12 on: January 08, 2013, 12:32:51 pm »
Are you sure you didn't accidentally get 12V onto the 5V rail when clearing the short?

I don't understand... You mean like when I shorted the ground to actually charge some caps that when I stopped the short discharged in the 5V rail? Or if I also accidentally afterwards touched also the 5V rail?

Fo the first one, I don't know, I'll have to check the Arduino schematics and see what I can make of it, but I didn't had any caps other that those. On the second one, I'm sure that the only thing that wire touched that shouldn't have was the common ground.

I don't have a schematic so I don't know what type of regulator it is, but this can cause damage to some chips.

If I'm not wrong, the regulator in the Arduino is an LP2985, which, if I understand correctly, should witstand up to 16V.

You would have to read the datasheet if the Vreg and see what they say regarding the protection diodes vs caps size.

I'm afraid I'm too much of a beginner to understand that :(

Or try to replace the regulator.

I'll add it to the "to be replaced" parts list.

Thank you!

 

Offline dr_p

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #13 on: January 08, 2013, 12:49:46 pm »
Quote from: PostaL link=topic=13285.msg179255#msg179255
If I'm not wrong, the regulator in the Arduino is an LP2985, which, if I understand correctly, should witstand up to 16V.

You would have to read the datasheet if the Vreg and see what they say regarding the protection diodes vs caps size.

I'm afraid I'm too much of a beginner to understand that :(


Check this out (especially from 5:20):

« Last Edit: January 08, 2013, 12:52:03 pm by dr_p »
 

Offline mazurov

  • Frequent Contributor
  • **
  • Posts: 524
  • Country: us
Re: Help repairing a fried Arduino
« Reply #14 on: January 08, 2013, 06:06:32 pm »
To check if USB to serial is dead find another one with TTL output ( this is representative -> https://www.sparkfun.com/products/9716?, as well as many others ), cut the RX,TX traces (pins 0,1), connect to converter and try to upload. This should work with good Arduino as well, so if you have one you can do it step by step. Load a sketch with interactive terminal to a good Arduino, mod, connect USB to serial, see if you can interact with a terminal via it. If yes, try to upload, if successful, try on the bad Arduino.

Uploading is a little tricky with third-party USB to serial converters since you need to reset the micro just before starting avrdude. The built-in converter has DTR wired to reset, you can do the same on an external converter or simply practice pressing reset button on the board just after starting uploading. You can practice on a good board too.
With sufficient thrust, pigs fly just fine - RFC1925
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Help repairing a fried Arduino
« Reply #15 on: January 09, 2013, 08:22:07 am »
Did  you try a serial loopback test?
http://arduino.cc/forum/index.php/topic,73748.0.html
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #16 on: January 09, 2013, 08:23:48 am »
I had no clue about this! I will try it as soon as I get home! Thank you!

Tho I get a hard feeling this will fail.
« Last Edit: January 09, 2013, 08:25:31 am by PostaL »
 

Offline lapm

  • Frequent Contributor
  • **
  • Posts: 564
  • Country: fi
Re: Help repairing a fried Arduino
« Reply #17 on: January 09, 2013, 09:42:47 am »
Fail or not, you sure get good practise on fault finding  :-+
Electronics, Linux, Programming, Science... im interested all of it...
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #18 on: January 09, 2013, 10:04:43 am »
I sure do! Always looking at the half-full side of the glass :P
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #19 on: January 09, 2013, 04:39:05 pm »
Did  you try a serial loopback test?
http://arduino.cc/forum/index.php/topic,73748.0.html

I've tried it and it didn't echo nothing back. But that being said, it didn't echo back nothing with the good board either :|.

The only step i have doubts I might have done wrong is "Connect the terminal application to the serial port for your board.". What I did is what I usually do: from Arduino IDE, after I connect the board, I open the Serial Monitor from Tool > Serial Monitor. In the title of the serial monitor I see the correct COM port, so I guess is the correct way.

Can someone confirm that this testing method is working on their board?
 

Offline PostaLTopic starter

  • Contributor
  • Posts: 31
  • Country: ro
Re: Help repairing a fried Arduino
« Reply #20 on: January 10, 2013, 10:26:46 am »
I've measured the 5V and 3.3V rails and they are ok. Also, to reiterate, the new ATmega328 microcontroler that I've bootloaded and inserted in the Arduino works just fine (the default blink sketch blinks the LED on pin 13).

Correct me if I'm wrong, but this two facts will sugest the power module of Arduino is ok. So the only thing that remains is that the transmission part of the ATmega8U2 (the USB microcontroller) is fried :( ?

I found this article about updating the Arduino firmware. Will this work to program a blank new ATmega8U2? I'm planing to replace it with a new one, and I need a way to load the firmware on it.

PS: I also attached the Arduino schematics for whom may want to give it a glance ...
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16284
  • Country: za
Re: Help repairing a fried Arduino
« Reply #21 on: January 10, 2013, 11:01:40 am »
Before replacing it try reprogramming it first, it might just have corrupted firmware. Nothing to lose and then you will be able to program the other new one with the firmware as well.
 

Offline miceuz

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: Help repairing a fried Arduino
« Reply #22 on: January 11, 2013, 07:56:00 pm »
Do TX RX leds blink when you are trying to upload a sketch?

I've used my adruino as a simple UART to USB converter once, this might work to check if USB to UART chip is fried: program your good arduino with something that writes to serial monitor, remove the chip from fried arduino, connect TX and RX lines from good arduino to fried one (I don't remember if I had to swap lines or not, so you might try both TX->TX RX->RX and TX->RX Rx->TX), open a serial monitor to fried arduino and check if you see the output from good arduino

Offline mazurov

  • Frequent Contributor
  • **
  • Posts: 524
  • Country: us
Re: Help repairing a fried Arduino
« Reply #23 on: January 11, 2013, 08:18:13 pm »
Also, you can just pull Atmega chip out of a good Arduino; this will leave USB to serial converter which can be used with any terminal program on a PC.
With sufficient thrust, pigs fly just fine - RFC1925
 

Offline randyhenke

  • Newbie
  • Posts: 4
Re: Help repairing a fried Arduino
« Reply #24 on: January 12, 2013, 04:32:51 am »
Here is a link to the arduino page showing you how to program an arduino on a breadboard.  Just follow the hookup procedure and try programing it this way.  If it works you know the usb to serial converter is fried and needs to be replaced. Try this first before removing any soldered components.

http://arduino.cc/en/Tutorial/ArduinoToBreadboard
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf