Zmpt101b Proteus Library ((top)) -
int sensorPin = A0; float offset = 2.5; // V float sensitivity = 0.1; // V per AC volt
The developed library package includes:
Ensure the file permissions are correct and that you placed the files in the correct LIBRARY folder matching your Proteus version (Proteus 8 vs Proteus 7 paths may differ). zmpt101b proteus library
Provides an analog output (typically 0-5V) suitable for microcontrollers like Arduino.
Ensure the input AC voltage source in Proteus is connected correctly. The source must be active. Check that VCC and GND are connected to the Arduino power rails. int sensorPin = A0; float offset = 2
void loop() int raw = analogRead(sensorPin); float voltage = (raw / 1023.0) * 5.0; float ac_voltage = (voltage - offset) / sensitivity; Serial.print("AC Voltage: "); Serial.println(ac_voltage); delay(500);
The ZMPT101B is a pressure sensor module that converts pressure into an analog electrical signal. It is widely used in applications such as: The source must be active
End of Report
| Parameter | Expected (Hardware) | Simulated (Proteus) | Error | | :--- | :--- | :--- | :--- | | No-load output (0V AC) | 2.50 V DC | 2.50 V DC | 0% | | Output @ 230V AC (peak) | ~3.1 – 3.3 V | 3.20 V | < 5% | | Waveform shape | 50Hz half-sine offset | 50Hz half-sine offset | Match |
The custom library provides a pre-designed schematic symbol and simulation model that behaves exactly like the physical module. This allows designers to:
Development and Validation Report: ZMPT101B AC Voltage Sensor Library for Proteus ISIS Project: AC Voltage Measurement Simulation Module Date: [Insert Date] Version: 1.0