Voltage Sensor Proteus Library ((hot)) Page

Reducing high input voltage to a safe analog range.

If you see "No Simulator Model," ensure you have correctly placed the .LIB files in the DATA\LIBRARY folder, not just the root folder. voltage sensor proteus library

Vout=Vin×R2R1+R2cap V sub o u t end-sub equals cap V sub i n end-sub cross the fraction with numerator cap R 2 and denominator cap R 1 plus cap R 2 end-fraction Reducing high input voltage to a safe analog range

Check the "Reference Voltage" in your code. Proteus defaults to 5V; if your MCU is set to 3.3V, your math will be off. your math will be off.