Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I have been looking around for an easy way to convert 12v to 5v. I have seen some people saying that a simple resistor is all that is needed.

Volt = Ohms * Amps
Amps = Volts / Ohms
Ohms = Volts / Amps

That should mean that applying a resistor will diminish the voltage of the circuit... That should mean that an appropriately sized resistor could simply be placed in the path of a 12v circuit and convert to 5v...

also if this is the case how would one reduce amps? would series vs parallel make a difference in this area?

I have seen designs that include a regulator ic and some capacitors, but if a simple resistor, fuse, diode setup will do the trick I would really prefer that

share|improve this question
1  
Are you trying to provide power to a load? What kind of load? Or are you trying to change the level of a signal carrying information? –  The Photon Sep 2 at 16:51
3  
Its almost never just about dropping voltage, its also about not wasting energy (efficiency), safety (resistors can get very hot) and regulation (maintaining the output voltage with changing load / current demand). –  JIm Dearden Sep 2 at 16:56
    
    
Um, no there are much better ways to cut voltage. Use a 5V voltage regulator or if you're looking for something simple, just throw in a zener diode in reverse bias. –  shortstheory Sep 3 at 2:43

6 Answers 6

There are a number of ways to get 5V from a 12V supply and each has its advantages and disadvantages so I've drawn up 5 basic circuits to illustrate the point made in my comment.

enter image description here

Circuit 1 is a simple series resistor - just like the one "some people" were talking about.

Does it work? Yes. BUT it only works at one value of load current and it wastes most of the power supplied. If the load value changes the voltage will change, there is no regulation. However it will survive a short circuit at the output and protect the 12V source from shorting out.

Circuit 2 is a series zener diode (or you could use a number of ordinary diodes in series to make up the voltage drop - say 12 x silicon diodes)

Does it work? Yes. BUT most of the power is dissipated by the zener diode. Not very efficient! On the other hand it does give a degree of regulation if the load changes. However - short circuit the output and the magic blue smoke will break free from the zener. Such a short circuit may also damage the 12V source once the zener is destroyed.

Circuit 3 is a series transistor (or emitter follower) - a junction transistor is shown but a similar version could be built using a MOSFET as a source follower.

Does it work? Yes. BUT most of the power has to be dissipated by the transistor and it isn't short circuit proof. Like circuit 2 you could end up damaging the 12V source. On the other hand regulation will be improved (due to the current amplifying effect of the transistor). The zener diode no longer has to take the full load current so a much cheaper/smaller/lower power zener or other voltage reference device can be used. This circuit is actually less efficient than circuits 1 and 2 because extra current is needed for the zener and its associated resistor.

Circuit 4 is a three terminal regulator (IN-COM-OUT). This could represent a dedicated IC such as a 7805 or a discrete circuit built from op amps / transistors etc.

Does it work? Yes. BUT the device (or circuit) has to dissipate more power than is supplied to the load. It is even more inefficient than circuits 1 and 2 because the extra electronics takes additional current. On the other hand it would survive a short circuit and so is an improvement on circuits 2 and 3. It also limits the maximum current that would be taken under short circuit conditions protecting the 12v source.

and finally ...

Circuit 5 is a buck type regulator (DC/DC switching regulator).

Does it work? Yes. BUT the output can be a bit spikey due to the high frequency switching nature of the device. However. Its very efficient because it uses stored energy (in an inductor and a capacitor) to convert the voltage. It has reasonable voltage regulation and output current limiting. It will survive a short circuit and protect the battery.

They all work and they all have their pros and cons - i.e. they all produce 5V across a load. Some work better than others in terms of protection, regulation and efficiency. Like most things its a trade off between simplicity, cost, efficiency, reliability etc . in other words engineering design.

Regarding 'constant current' - you can't have a fixed (constant) voltage and a constant current with a variable load. You have to choose - constant voltage OR constant current. If you choose constant voltage you can add some form of circuit to LIMIT the maximum current to a safe maximum value - such as in circuits 4 and 5.

share|improve this answer

A resistor can only provided a fixed voltage drop if you send exactly the same current through it at all times. You would simply choose the resistor based on the amount of current so that it drops 7 V.

But most loads don't draw exactly the same current at all times, so this approach is rarely useful in practice. For a very low-current load (say, up to 50 mA), a linear regulator will produce a fixed output voltage with very little change in response to load current changes. For higher currents a buck-type switching regulator will do the same, but with much better power efficiency.

share|improve this answer
    
an inductor would fix the issue of constant current correct? could a capacitor be used to draw the needed current? and send the remainder back to the psu? –  Konner Rasmussen Sep 2 at 16:46
1  
No. An inductor will slow down changes in current but not prevent them. –  The Photon Sep 2 at 16:47

As others have mentioned you can use a voltage divider of two resistors, but the voltage divider output will change if the load current changes.

You can still use a voltage divider and fix this problem by adding a buffer to the output of the voltage divider. The easiest way (for you) to do this is to use an op amp configured as a buffer:

schematic

simulate this circuit – Schematic created using CircuitLab

The op amp has a very high input impedance so it won't load down your voltage divider.

You can also accomplish this with a source follower (MOSFET) or emitter follower (BJT) acting as your buffer if you don't want to use an op amp. However, you have to be more careful with biasing if you use a source or emitter follower.

share|improve this answer
1  
While better than a divider, the op amp often still isn't the right way to to this, depending on how much current the load wants. –  Scott Seidman Sep 3 at 13:15

This depends very much on WHY you are trying to drop the voltage, and whether the LOAD is changing. To steal the picture from @Matthijs, enter image description here

Your circuit that you are trying to drop the voltage for as a whole goes between the points reflected by U2. If that circuit draws current, you need to account for that in the equations. Worse, if the current that circuit draw changes, so does the voltage U2!!

Sometimes, you can get away with dropping the voltage with a voltage divider, but other times you need to use some sort of voltage regulator.

share|improve this answer

Lowering the voltage could be done using a voltage divider. It uses two resistors to "divide" the voltage as shown in the picture below.

enter image description here

share|improve this answer
    
I am assuming that u1 and u2 are v in and v out yes? –  Konner Rasmussen Sep 2 at 16:49
    
That is right. U1 is the voltage you want to "divide", and U2 is the voltage you want to use. Knowing these voltage you can calculate the resistors. Just pick a resistor for R1 and calculate R2. As noted in other answers, you need to dimension the resistor values in such a way that they can handle the current that is drawn by your circuit. This method is mostly used in very low current applications and where electrical noise is not a major issue to the circuit. (Example: I have made some guitar pedals that needed voltage different voltage levels, which I provided using a voltage divider) –  Matthijs Sep 2 at 17:45

Voltage divider will do the job. If you are placing a resistor in the path of supply then it will only set the current not the voltage.

Based on your current requirement you can select the resistor and can configure it for voltage divider.

share|improve this answer
    
Voltage divider will only do the job for a fixed load. –  whatsisname Sep 2 at 18:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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