Dual Power Sources

I'm about to design an adaptor board that will have a ProMini and a DFPlayer module attached to it. The ProMini will be controlling a selection of LEDs through a transistor array and also controlling the DFPlayer. My "client" has requested a choice of powering the assembly via a 5v USB connector or 9v battery.

As a hobbyist and not a pro, I'm not too sure what schottky diodes I should be using (D1 and D2) in the attached sketch.

Is this, in fact, the best way to supply power to the 5v TLV761 which will be supplying both the ProMini and the DFPlayer but not the LEDs (they have a separate supply).

I know the ProMini can take 2.5v to 16v, but I need a higher rated 5v power supply to the DFPlayer as it could be driving a 3w speaker.

Many thanks!

зображення

instead of D1 may be a MOSFET

1 Like

Looks good, many thanks @kolaha

What diode would you suggest (SMD)?

dependent on current

I'm thinking a maximum of around 750mA, if the DFPlayer is playing at max volume.

USB can not provide such current

XBS104V14R-G

Non-critical. SS110 is a common type. There are hundreds more that will work fine.
And USB can certainly go over 500mA and that's not just a theoretical observation. Any $2 generic Chinese phone charger will do it.

1 Like

Just for completeness, this might work to eliminate the voltage drop:

9V 5V autoswitch

However,

  1. If both supplies are present, the 9V will supply all the current, which may not be what you want.

  2. I don't know if any current will flow back through the regulator when voltage is applied at its output, but its input is grounded. You would need to test that.

I would expect so, yes.

IMG_3071

Yes, the datasheet suggests the diode would be needed to block reverse current. But then really you might as well use two schottky diodes, and forget about the mosfet. You'd end up with 4.7V Vcc on either source.

2 Likes

Applying a Voltage to an output is NEVER a good idea especially for this regulator.

I wonder if he could move the diode over to the input of the regulator and get the reverse current protection needed. That would leave the output voltage at 5V, and wouldn't actually reduce efficiency since he's dropping 9V to 5V anyway. I guess in theory battery life would be reduced because of the diode voltage drop, but I don't think the battery would have much left at that point anyway.

9V 5V autoswitch-B

Perhaps I'd better now modify my original post by saying that the client has now stated that they want a switch installed that would be OFF/5v/9v so


will be the solution to the issue.
Many thanks to all for future ideas :+1:

No it won't because the input to the TLV76150 needs to be greater than 5V

I was going by the manufacturer's datasheet (TI) which quotes:

The TLV761 input voltage range is from 2.5V to 16V
and provides an output voltage range from 0.8V to
13V to support a wide variety of applications.

Am I missing something though?

It's a linear regulator so it can't output a voltage equal to or greater than the input voltage.

In the data sheet you will see a dropout voltage (Vdo) spec. It can be as high as 1.6V, that means the the input voltage should be at least 5V+1.6V = 6.6V

Ah, yes, I see what you mean - d'oh!

In your diagram, is there likely to be much of a drain, if any, on the 9v battery whilst the regulator is not supplying the remaining circuitry?

Well the naximum quiescent current is 100uA.
If you have a good 9V alkaline battery it should have a rating of about 450mAh.
So with a drain of 100uA the battery will go completely dead in about 450mAh/100u = 4500 hours. Actually less hours because the battery is useless once the voltage drops below 6.6V, so figure maybe half that, 2250 hours = 93 days.

You could use a double pole 3 position switch to switch both the input and output of the regulator

1 Like

I think I'll give the client the choice. There's a good chance that the 9v battery will leak and corrode before draining!
Thanks again @jim-p !