ZMPT101B library for Proteus a specialized simulation model used by engineers and hobbyists to test AC voltage monitoring circuits
. Since Proteus does not include this active single-phase AC voltage sensor in its default database, you must manually install an external library to simulate it. Key Features of the Simulation Model AC Measurement:
It accurately simulates the behavior of the ZMPT101B transformer, allowing you to measure mains voltage ranging from 80V to 250V AC Pin Configuration: The model typically includes four pins: Analog Out (for microcontroller signal), and the high-voltage terminals. Analog Simulation:
It provides a varying analog output that can be connected to the ADC pins of virtual microcontrollers like an Arduino Uno How to Install the Library in Proteus
To add the ZMPT101B module to your workspace, follow these standard steps for external Proteus components: Download the Files: Search for and download the library files (typically files) from reputable community sources like Electronic Tree The Engineering Projects Locate the Library Folder: Right-click your Proteus desktop icon, select Open file location , and go back one level to find the Copy and Paste: files into the Proteus file is provided, place it in the Restart Proteus: Close and reopen the software to load the new components. Search for Component: In the Schematic Capture, press 'P' and search for "ZMPT101B" "Voltage Sensor" Programming Note How to Add Arduino Gas Sensor Library in to Proteus 7 & 8 zmpt101b library for proteus
The ZMPT101B voltage sensor is a vital component for engineers looking to measure AC voltage accurately in both real-world applications and simulations. Because Proteus does not include this sensor in its default library, you must manually add a custom library to simulate AC voltage monitoring projects. How to Add the ZMPT101B Library to Proteus
To use the ZMPT101B in your project, follow these steps to integrate the external library files:
Download the Library: Obtain the Proteus library files (typically .LIB and .IDX or .HEX and .MDF for the model) from a trusted source such as GitHub or The Engineering Projects.
Extract the Files: Unzip the downloaded folder to access the individual library components. ZMPT101B library for Proteus a specialized simulation model
Locate Proteus Directories: Find the installation folder on your PC. For most modern versions:
Proteus 8: Navigate to C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY.
Proteus 7: Navigate to the LIBRARY folder within the main installation directory.
Copy and Paste: Copy the downloaded .LIB and .IDX files and paste them into the LIBRARY folder. If there are .MDF files, place them in the MODELS folder. Schematic Diagram Description:
Restart Proteus: Close and reopen the software to refresh the database. You can now search for "ZMPT101B" or "Voltage Sensor" in the component picker (keyboard shortcut 'P'). Circuit Interfacing in Proteus
The ZMPT101B module consists of two main sides: the high-voltage input and the low-voltage output.
VSINE positive terminal to AC_IN1, negative to AC_IN2. Set VSINE properties:
VCC pin of ZMPT101B.OUT pin of ZMPT101B to Arduino pin A0.If you’ve ever worked with an Arduino or ESP32 to measure mains AC voltage, you’ve probably come across the ZMPT101B—a popular, inexpensive AC voltage sensor module. It’s great for DIY energy monitors, smart plugs, and overvoltage protection systems.
But here’s the problem: Proteus doesn’t come with a ZMPT101B library by default.
Without a simulation model, you’re forced to test directly with live mains voltage—risky, inconvenient, and slow for debugging. In this post, I’ll show you how to get, install, and use a ZMPT101B library for Proteus so you can simulate AC voltage sensing safely on your PC.
Working with AC mains is dangerous. Simulation lets you: