1
\$\begingroup\$

What makes the potentiometer not a good component to use for reducing the 9V to 5V DC for an Arduino?

I thought of using it but I been told it is not a good idea, so I am looking into the reasons why.

\$\endgroup\$
6
  • 1
    \$\begingroup\$ See this for an approach to understanding general analysis techniques for questions like this. In your case, though, it's just a matter of understanding that your "constructed" Thevenin 5 V supply will also have a substantial Thevenin resistance that will drop widely varying voltages away from the Thevenin 5 V as your Arduino requires more and less current as it runs. Which will be a problem for you, no question. \$\endgroup\$
    – jonk
    Jun 11 '20 at 18:27
  • \$\begingroup\$ I posted a community wiki about bucking/dropping voltage to power circuits. You might find it helpful: electronics.stackexchange.com/q/501176/2028 \$\endgroup\$
    – JYelton
    Jun 11 '20 at 20:43
  • 1
    \$\begingroup\$ Please clarify - are you looking for a 5V signal from which you intend to draw little if any current, or are you looking for a 5V power rail from which you intend to draw current to power your Arduino and/or other things? \$\endgroup\$
    – brhans
    Jun 12 '20 at 0:12
  • 3
    \$\begingroup\$ Although is not adviseable to power an Arduino from a 9V battery, the fact is that the barrel connector and the Vin pin in Arduino both accept power in the range 7V-12V, so, it isn't necessary to use external components to power an Arduino from 9V battery; Arduino already has a 5v regulator. \$\endgroup\$
    – mguima
    Jun 12 '20 at 15:09
  • 4
    \$\begingroup\$ I'm voting to close this question, because there are already excellent answers in Reducing voltage with resistors \$\endgroup\$ Jun 12 '20 at 19:58
1
\$\begingroup\$

When I was young and innocent I tried the same for a bunch of relays, and my potentiometer caught fire!

First off, as you allude to, it is in some cases possible to regulate load voltage with a potentiometer. You can use it as a divider (three terminals) or as a series resistor (two terminals). However, this involves you adjusting the potentiometer depending on the drawn current. For constant loads this is feasible, but not so for fluctuating loads from a processors, as others here pointed out.

Your circuitry, including it's input/outputs and peripherals, use different currents depending on their state/mode. And their reliable operation depends on a constant load-independent supply voltage. That said, if the current fluctuation and the ensuing voltage fluctuation do not affect the operation of a (perhaps fixed) load, then the potentiometer or voltage divider can be used.

But there are other factors too: heat and efficiency. The current through the potentiometer, and the ensuing I^R heat, generates heat in both configurations. And in the divider configuration you have a current running even if there is no load.

Since my pyrotechnic experience, I instead use a "LM7805" integrated regulator for simple cases (https://en.wikipedia.org/wiki/Voltage_regulator)

These regulators keep the 5V constant practically for all (fluctuating) current loads from your Arduino and any peripherals (sensors, LEDs etc..). They are very easy to use, and quite suitable for a simple table-top home lab, but they are not very efficient. In other applications they can get hot, and so now I only occasionally lightly burn a finger.

If power efficiency / battery life matters, look at switch mode power supplies, like the LM2674

https://en.wikipedia.org/wiki/Switched-mode_power_supply

\$\endgroup\$
3
\$\begingroup\$

The potentiometer is a resistor component. When you try to create a voltage reduction through a resistor the voltage drop is 100% dependent upon the amount of current flow through the resistor. A load like an Arduino is not a fixed current load so it is not possible to use a single resistor value to reduce the 9V to 5V suitable for proper operation of an Arduino.

You will need to investigate what a voltage regulator does and why it is applicable to the application.

Beware that if your 9V source is a typical 9V battery it is far from a suitable long term power source for an Arduino due to the relatively low capacity of such a battery.

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

You may use as potentiomenter to provide an analog input signal to an Arduino (preferably with an additional resistor in series to prevent pulling the input above 5 volts), but you should not use a pot to provide power to an Arduino, for the reasons given in other answers.

\$\endgroup\$
1
  • \$\begingroup\$ Good point to distinguish between I/O and Vcc \$\endgroup\$
    – P2000
    Jun 11 '20 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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