Zmpt101b Library For — Proteus
Connect the module’s VCC pin to a +5V DC source and the GND pin to the common ground terminal.
Connect the high-voltage pins of the ZMPT101B component to an alternating current source ( VSINE ). Add a virtual AC Voltmeter across these terminals to monitor the input voltage in real-time.
This method is useful for testing your microcontroller code and logic without worrying about the analog circuit details.
You need to find a library package for the ZMPT101B. These are typically shared on community sites like The Engineering Projects or GitHub. Essential Files : Ensure you have both files (e.g., ZMPT101B.LIB ZMPT101B.IDX Optional Files : Some libraries include a file for the module's internal simulation logic and a file for 3D viewing. 2. Install the Library in Proteus Locate the Library Folder zmpt101b library for proteus
In real life, the module outputs a sine wave shifted by 2.5V DC. In simulation, check if your library model mimics this shifting, which is crucial for reading negative AC cycles with a 0-5V DC analog-to-digital converter (ADC) [2]. 5. Alternative Simulation Methods
For processing the analog signal. VSOURCE / AC Voltmeter: To monitor the input voltage.
If simulation fails to start, check for: Connect the module’s VCC pin to a +5V
Since the ZMPT101B is not a native component in the standard Proteus library, you must manually add the simulation files.
If the simulation runs slowly ("CPU load high"), reduce the number of samples in the library's .getVoltage() function to lighten the processing load.
If you are encountering any specific errors during setup, let me know you are running or what specific error message you see so I can provide targeted troubleshooting steps. Share public link This method is useful for testing your microcontroller
A 4-pin or 6-pin visual module matching the real-world breakout board for clean schematic design.
The ZMPT101B is a popular current transformer module used in various applications, including power monitoring, energy metering, and industrial automation. For engineers and designers working with Proteus, a popular circuit simulation software, having access to a reliable and accurate library for the ZMPT101B module is crucial. In this article, we will explore the ZMPT101B library for Proteus, its features, and how to use it effectively in your designs.
Go to to generate the .hex file. In Proteus, double-click the Arduino Uno component.
Open a new schematic design canvas in Proteus, click on the tool, and search for the following devices to add to your workspace: ZMPT101B: The newly installed module. ALTERNATOR: This acts as your 220V AC mains source.
Creating an official library requires the manufacturer to provide a detailed SPICE or VSM simulation model. Since Zeming (the manufacturer) hasn't released such a model, there is no official drag-and-drop ZMPT101B component in Proteus. This means you cannot simply search for "ZMPT101B" in the Proteus component picker and place it on your schematic.