

The ZMPT101B is a high-precision AC voltage sensor module designed for measuring AC voltage levels. It features a built-in ZMPT101B voltage transformer and operational amplifier circuit, ensuring accurate and isolated voltage measurements. This module is widely used in energy monitoring, power quality analysis, and control systems. Its compact design and ease of interfacing make it ideal for integration with microcontrollers, such as Arduino, Raspberry Pi, and other embedded systems.








Below are the key technical details of the ZMPT101B AC Voltage Sensor module:
| Parameter | Value |
|---|---|
| Input Voltage Range | 0–250V AC (adjustable via potentiometer) |
| Output Voltage Range | 0–5V DC (analog output) |
| Operating Voltage | 5V DC |
| Accuracy | High precision |
| Isolation | Electrical isolation via transformer |
| Dimensions | 49mm x 19mm x 16mm |
The ZMPT101B module has 4 pins, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC) |
| 2 | GND | Ground connection |
| 3 | OUT | Analog output voltage proportional to AC input |
| 4 | ADJ | Potentiometer for sensitivity adjustment |
Below is an example of how to interface the ZMPT101B with an Arduino UNO to measure AC voltage:
// ZMPT101B AC Voltage Sensor Example with Arduino UNO
// Reads the analog output from the ZMPT101B and calculates the AC voltage
const int sensorPin = A0; // ZMPT101B OUT pin connected to Arduino A0
float calibrationFactor = 100.0; // Adjust based on your calibration
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int sensorValue = analogRead(sensorPin); // Read analog value from sensor
float voltage = (sensorValue / 1023.0) * 5.0; // Convert to voltage (0-5V)
// Calculate AC voltage using calibration factor
float acVoltage = voltage * calibrationFactor;
// Print the AC voltage to the Serial Monitor
Serial.print("AC Voltage: ");
Serial.print(acVoltage);
Serial.println(" V");
delay(1000); // Wait for 1 second before the next reading
}
calibrationFactor in the code must be adjusted based on the actual input voltage and the module's output. To calibrate, measure the actual AC voltage with a multimeter and adjust the factor until the readings match.No Output Signal
Inaccurate Voltage Readings
Microcontroller Not Detecting Signal
Q: Can the ZMPT101B measure DC voltage?
A: No, the ZMPT101B is designed specifically for AC voltage measurement.
Q: What is the maximum AC voltage the module can measure?
A: The module can measure up to 250V AC, but this depends on the calibration and input configuration.
Q: How do I ensure safety when using this module?
A: Always use proper insulation, avoid direct contact with live wires, and follow standard electrical safety practices.
Q: Can I use this module with a Raspberry Pi?
A: Yes, but since the Raspberry Pi lacks an onboard ADC, you will need an external ADC module to process the analog output from the ZMPT101B.
By following this documentation, you can effectively integrate the ZMPT101B AC Voltage Sensor into your projects for accurate and reliable AC voltage measurements.