Continuous Voltage-divider for two analog inputs

Hi all,

Does anyone have experience with voltage division of two analog voltage inputs?

Any help in the implementation of that will be greatly appreciated.

Cheers.

I would try to help if I knew what that means. What is it that you are trying to do?

yes. I assume you are trying to measure a larger voltage than 5v with an Arduino?

Typically a [u]voltage divider[/u] is two resistors.

There is one input-voltage and one output-voltage.* The voltage is the numerator and the ratio of the bottom resistor to the total resistance is the denominator. The result is the output voltage.

For example, if the resistors are equal, the input voltage is divided in half. (BTW - a potentiometer is a variable voltage divider.)

If you have two analog voltages you may need two voltage dividers.


If you want to literally divide one voltage by another, you can do math in C/C++ (or any other programming language):

X = Voltage1 / Voltage2 ;   // Note - Use type-float variables.
  • You can "stack" multiple resistors (wire them in series) to get multiple outputs (AKA multiple "taps").