electricpy.lm317¶
- electricpy.lm317(r1, r2, v_out)[source]¶
LM317 linear voltage regulator solver.
The LM317 is a linear voltage regulator that can be adjusted to supply a specific output voltage. The LM317 has three pins, adjust, output and input. The LM317 is often connected as in the image below. [1]
Formula to Calculate Output Voltage, R1, R2:
- Parameters:¶
- Returns:¶
v_out (float) – v_out is the output voltage and is measured in volt (V)
r1 (float) – r1 is resistance and is measured in ohm
r2 (float) – r2 is resistance and is measured in ohm
[1]Electronial, “LM317” BasicTables, Accessed May, 2022 https://www.basictables.com/electronics/lm317