Voltage Sensor Proteus Library -
Run the simulation. Open Virtual Terminal. You will see:
Battery Voltage: 12.59 V
Battery Voltage: 12.60 V
Change the DC battery to 15V. The voltage sensor output will clamp at 5V, and the serial monitor will show exactly 25.0V (full scale).
A voltage sensor is essentially a voltage divider + ADC. To simulate it:
Cause: Complex third-party models with op-amps or transformers.
Fix: Increase simulation speed in "System → Set Animation Options" or replace with simpler resistor divider. voltage sensor proteus library
Cause: No filtering capacitor in the sensor output. Fix: Add a 10µF capacitor from sensor output to ground inside your library design.
Buffer/Isolation (op amp follower or unity-gain buffer)
Instrumentation amplifier / differential measurement Run the simulation
Voltage-to-frequency / Voltage-to-current transducers
ADC front-ends (for microcontroller measurement)
Protection and filtering
void setup() Serial.begin(9600);
void loop() int adcValue = analogRead(A0); float voltage = (adcValue / 1023.0) * 5.0; // Voltage at divider output float inputVoltage = voltage * ((20000 + 5000) / 5000.0); // Rescale Serial.print("Input Voltage: "); Serial.print(inputVoltage); Serial.println(" V"); delay(500);
Proteus remains one of the best tools for learning and prototyping voltage sensing circuits—provided you understand how to leverage its analog and mixed-signal capabilities. Change the DC battery to 15V