Calculate resistor divider with real resistor values.
calculateDividerBase(2V/5V)
ratio | The desired division ratio. |
tolerance | The maximal allowed tolerance of the divider (optional). If not given, 1% will be used. |
series | The resistor series to use (optional). If not given, E24 is used. |
return value | Array of realisable resistor dividers. |
The function accepts the desired ratio, the maximal allowed tolerance, and the resistor series to use. Based on that, it returns a list of all possible resistor combinations resulting in the desired division ration. It is important however, that one of the resistors is always in given in Ohms: $$ 1Ohm < R_i < 10Ohm $$
If you want to calculate a divider the impedance of which is close to desired, plase use calculateDividerByRatio.
The result is a list of structures containing the following values: