Interactive: Voltage Divider Calculator
Interactive: Voltage Divider Calculator
animation
sensors
Try Keep Sensor output voltage at 5 and MCU max GPIO voltage at 3.3; adjust R1 series resistor from 2 while leaving R2 shunt to ground at 3.3.
Observe The defaults display 3.11 V as SAFE, a divider ratio of 0.623 and a current draw of 943.4 uA.
Explain Output takes 5 V times the lower 3.3 kohm resistor divided by the total 5.3 kohm; SAFE means that output is no greater than MCU max GPIO voltage.
Technical boundaries. The divider assumes no load at the GPIO node and exact resistance values. The status compares only calculated output with the selected voltage ceiling; source impedance, input loading and resistor tolerances are not included.
Interactive: Voltage Divider Calculator. A divider can reduce a signal voltage; check both the output and the source loading before use.
Tip
Use this calculator to size resistors for stepping down a sensor’s output voltage to a safe level for your microcontroller.