Electrical – Voltage divider circuit getting hot

arduinocircuit-designcircuit-protectionvoltagevoltage divider

I recently got into arduino and salvaged some N-type MOSFET Transistors. I'm trying to power some motors with a 12v battery and control them with my arduino. I found that the transistor gate and source need to have a common ground. So instead of powering my arduino from a 5v phone charger battery, I'm powering it from a 12 volt battery and using a voltage divider circuit to cut the voltage to 6, and still be able to have a common ground with the battery and the arduino. I'm using two 220 ohm resistors in series to divide my voltage. For a few seconds they work just fine and I'm getting about 6v out of the resistors, however after a few seconds they both begin to burn up and smoke.

I'm wondering if maybe I'm doing something fundamentally wrong in the circuit, my resistors can't handle the .25 mA the arduino is pulling, or I'm just stupid.

Best Answer

Voltage dividers work great if and only if all of the current that flows through R1 also flows through R2.

schematic

simulate this circuit – Schematic created using CircuitLab

However, as soon as another current path forms between the resistors, the divider no longer works. Since some of the current is diverted away from R2, the voltage drop changes. What's worse, if the current to the load is variable, the voltage of the divider will be variable too:

schematic

simulate this circuit

It's for this reason that resistor dividers are almost never used as a power source. Instead, you would use a voltage regulator of some type. Voltage regulators have active feedback to maintain the output voltage regardless of current draw (up to a point, of course). And some regulators, such as SMPS, can have very high efficiencies, so you don't have to burn off so much heat to drop the voltage.

For your simple circuit, a linear regulator is probably best suited. They're very simple to use (typically a single IC chip plus two capacitors) and inexpensive. They're great for most low-current digital applications. The 7805 is a very common linear regulator that outputs a fixed 5V, however, it is ancient technology and there are plenty of modern devices available as well.

schematic

simulate this circuit