Voltage Sensor Proteus Library May 2026
Complete Guide to Using the Voltage Sensor in Proteus
When simulating microcontroller projects (such as those involving Arduino, PIC, or AVR), monitoring battery levels or measuring high voltages is a common requirement. While Proteus ISIS comes with standard components like resistors and potential dividers, downloading and using a dedicated Voltage Sensor Module library can significantly simplify your schematic and simulation workflow.
This guide covers everything you need to know about the Voltage Sensor Proteus Library, from installation to simulation. voltage sensor proteus library
Method A – Behavioral model (no extra library)
- Use a SINE source (from Generators mode) for AC mains (e.g., 230V RMS, 50 Hz).
- Use a TRANSFORMER (from Transformers library) to step down voltage.
- Rectify & filter (diode + capacitor) → feed into a voltage divider → output 0–5V DC.
This mimics the sensor’s behavior.
Step-by-Step Circuit:
- Place a DC Terminal (Label it
V_IN, set value to 12V for testing). - Connect a 30k resistor from
V_INto NodeA. - Connect a 7.5k resistor from Node
Ato Ground. - The output at Node
Ais the scaled voltage. Formula:V_out = V_in * (7.5 / (30 + 7.5)) = V_in * 0.2. - Connect Node
Ato an analog input pin of your microcontroller.
Simulation: When you run the simulation, Proteus calculates the analog voltage at Node A. Your code reads this via ADC. This is a "virtual voltage sensor." Complete Guide to Using the Voltage Sensor in
4. Manual Creation Steps in Proteus
- Open ISIS → Library → New Part
- Name:
VOLTAGE_SENSOR - Add pins:
V_IN(input),V_OUT(output),GND - Attach SPICE model or use Voltage-Controlled Voltage Source from the analogue primitives
- Save to user library (
USERDVC.LIB)
Where to Look (Use with Caution):
- The engineering Projects: Often posts
.IDXand.LIBfiles for sensors. - GitHub: Search for "Proteus voltage sensor library." Look for repositories with source code.
- ElectroSome: Offers custom libraries for current and voltage sensors.
Circuit in Proteus:
- Source: 230V RMS, 50Hz.
- Step-down transformer (230V to 12V).
- ZMPT101B sensor (or custom divider + optocoupler).
- Comparator (LM393) to convert sine wave to square wave.