Let's Make Robots!

5V and 3V together

Hello!

I'm building a board that needs both 3v and 5v as it has some components working on 3v and others on 5v. Now what is the best to do in this case? I am not sure, i've analyzed some of the options but i really do not know the advantages/disadvantages of each:

- have a 5V regulator and a 3V regulator with the input connected to the 5v reg's output (could be done, the 3v reg is low dropout)

- have a 5V reg and some diodes to output 3V (or a voltage divider with resistors)

- have a 5v reg and a 3v reg with both inputs connected to the v+ on the battery 

...i really do not know which is better, could you give me a hand? 

Thank you :=)

ps: i've checked OddBot's super walkthrough already but it does not talk about this.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

just use two battery pack and separatly the two regulators with ground connected together, I think this is the best option

the problem is that i just have a single battery pack :=(

than as robotfreak said

 

battery ---->   5V regulator  ----> 3V regulator

                            |                         |

                            |                         |

                        out 5V                out 3V

I don't completely agree to the above setup.

The lower power loss in the 3V regulator will only be added to the 5V regulator loss. You don't get anything for free.

So depending on the load on the 5V and 3V in can actually be better to connect the 3V regulator directly to the battery. The 3V (and 5V) also need a minimum voltage across the input and output to regulate the output voltage stable (LV type might work OK with only 2V accross it)

 

Yes, that's true. I must correct my answer. It'll depend from the load on the 3V what is better. 5V and 3V rregulator in serie or parallel to the battery.

The 3v reg. is currently powering 2 small ICs (a buffer, a DAC) and an SD card, that's all. I guess the load is quite small...so does that mean the above setup is ok?

The setup above will be ok for this small load.

But you should think about level converter for the controller outputs. Controller inputs can handle 3V as HIGH level normally without any probs. 3V devices normally don't like 5V on input pins if they don't have 5V tolerant inputs.

I would choose the first option. 3V regulator behind the 5V regulator. For linear voltage regulators the lowest input voltage should be used (less power losses in the regulator). Diodes are ok, if you don't have a voltage regulator ready. Never use a voltage divider with resistors as a power supply!