3
\$\begingroup\$

I want to replace the onboard AMS1117-5.0 (broken) with a LM7805. However, the pinout is different between the two voltage regulators; AMS1117: Gnd, Vout, Vin vs LM7805: Vin, Gnd, Vout.

I would like to know what is the best practice of how to approach this? Line-up the Vin and cross the Vout and Ground pins and add some insulation so they dont make contact. How do the experts at EESX do this?

Follow-up: adding the lm7805 using jumper wires works fine with the 12v DC input i have. It is a temporary fix until replacement ams1117 arrive.

\$\endgroup\$
3
  • \$\begingroup\$ Is that an AMS1117-5.0 or and AMS1117-3.3? \$\endgroup\$
    – JRE
    Jun 10, 2015 at 9:13
  • \$\begingroup\$ Its AMS1117-5.0, added to question \$\endgroup\$
    – nluigi
    Jun 10, 2015 at 9:15
  • 10
    \$\begingroup\$ The experts buy the same part as was mounted previously. ;) \$\endgroup\$
    – Dejvid_no1
    Jun 10, 2015 at 9:26

4 Answers 4

2
\$\begingroup\$

Why do you need to change over to a 7805? If you're gonna be bending pins up and using jumper wires, you're cruisin' for a bruisin'. A quick look at the data sheets leads me to believe there is no good reason to switch, other than the possibility that this is all you've got on hand?

If it must be done, here's how I'd do it: bend the large ground tab so that the LDO will sit at a large incline off the plane of the board. Tack it on, then solder your jumper wires from the pads to the appropriate connections.

I do not recommend doing this, just sample a replacement part. You'll get it for free, and have the satisfaction of a job well done.

\$\endgroup\$
4
  • \$\begingroup\$ You are right, it is all i have on hand right now. Considering the overall advice to get the correct replacement part, i will just do that. Because you gave a satisfactory answer to my question, i have marked yours as the accepted answer \$\endgroup\$
    – nluigi
    Jun 10, 2015 at 9:32
  • \$\begingroup\$ @nlooije the answer I gave was more significant to your problem than bending a few wires but maybe you didn't understand the implications of what I was telling you? \$\endgroup\$
    – Andy aka
    Jun 10, 2015 at 9:36
  • \$\begingroup\$ You do raise a good point about the dropout being 2V instead of 1V, but I'd argue that a 9V or 12V DC supply is far more common than 6V (in the US at least), in which case he'd be fine. \$\endgroup\$
    – RYS
    Jun 10, 2015 at 9:40
  • \$\begingroup\$ I am using a 12V DC supply. In any case, all answers given have made me reconsider and i am getting a replacement AMS1117-5v. \$\endgroup\$
    – nluigi
    Jun 10, 2015 at 10:04
2
\$\begingroup\$

The two devices may not be interchangeable in the target circuit (not shown). The drop-out voltage for the AMS1117-5.0 is typically only 1.1V at a load current of 0.8 amps. The LM7805 drop-out voltage is specified as typically 2V at 1A load current. You may not find the replacement works correctly.

I think you need to justify the replacement.

\$\endgroup\$
2
\$\begingroup\$

Given that the tab on the AMS1117 (SOT223 housing) is the output, it will have the largest copper area to connect to and will be mechanically more stable.
I would connect the 7805 output pin directly to where the AMS1117 output was (middle pin, large solder pad.) I'd clip the other two wires short and use pieces of insulated wire to make the other two connections. That gives you a solid connection to the one solder pad best capable of supporting it, and flexible connections to the other two. I'd then use some hot melt glue or epoxy to give it some mechanical stability.

All of this assumes you are using the 7805 because you've got one at hand and need to get the Arduino going again without waiting on parts. As RYS says, the professionals would replace it with the correct part.

This also assumes nothing else died when the AMS1117 quit.

Also, be aware that the 7805 is not a low drop out part. If you have been using a 6Volt power supply then it won't work right with the 7805.

\$\endgroup\$
1
\$\begingroup\$

I am using a 12V DC supply. In any case, all answers given have made me reconsider and i am getting a replacement AMS1117-5v.

Given that you are using a 12V DC supply, and want 5V, you can leave broken AMS1117 and get a car usb charger. 12V in, regulated 5V out, better efficiency, less heat, neater package, and you can use the Arduino usb connector.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.