

The ZMPT101B is a voltage sensor module designed to measure AC voltage levels with high accuracy. It features a built-in operational amplifier circuit for signal conditioning and provides an analog output proportional to the input voltage. This module is widely used in energy monitoring, power measurement, and control systems due to its compact design and reliable performance.








Below are the key technical details of the ZMPT101B voltage sensor module:
| Parameter | Value |
|---|---|
| Input Voltage Range | 0–250V AC (with proper scaling) |
| Output Voltage Range | 0–5V (analog output) |
| Operating Voltage | 5V DC |
| Accuracy | High |
| Dimensions | 49mm x 19mm x 16mm |
| Weight | ~10g |
The ZMPT101B module has the following pin configuration:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC) |
| 2 | GND | Ground connection |
| 3 | OUT | Analog output voltage proportional to input AC voltage |
VCC pin to a 5V DC power supply and the GND pin to the ground of your circuit.OUT pin provides an analog voltage proportional to the input AC voltage. Connect this pin to an analog input pin of a microcontroller (e.g., Arduino).Below is an example code to interface the ZMPT101B with an Arduino UNO:
// ZMPT101B Voltage Sensor Example Code
// Reads the analog output of the ZMPT101B and calculates the AC voltage
const int sensorPin = A0; // Connect ZMPT101B OUT pin to Arduino A0
float calibrationFactor = 100.0; // Adjust this value based on calibration
void setup() {
Serial.begin(9600); // Initialize serial communication
pinMode(sensorPin, INPUT); // Set sensor pin as input
}
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 measured AC voltage to the Serial Monitor
Serial.print("AC Voltage: ");
Serial.print(acVoltage);
Serial.println(" V");
delay(1000); // Wait for 1 second before next reading
}
Note: The
calibrationFactormust be adjusted based on your specific setup and calibration process.
No Output Signal:
VCC and GND).Inaccurate Voltage Readings:
Arduino Reads Zero Voltage:
OUT pin is connected to the correct analog input pin on the Arduino.Module Overheating:
Q: Can the ZMPT101B measure DC voltage?
A: No, the ZMPT101B is designed specifically for AC voltage measurement. It is not suitable for DC voltage applications.
Q: How do I improve the accuracy of the ZMPT101B?
A: Perform a thorough calibration using a known reference voltage. Additionally, use a stable power supply and minimize noise in the circuit.
Q: Is the ZMPT101B safe for high-voltage applications?
A: The module is designed for 0–250V AC input. For higher voltages, use appropriate isolation techniques and scaling components to ensure safety.
Q: Can I use the ZMPT101B with microcontrollers other than Arduino?
A: Yes, the ZMPT101B can be used with any microcontroller that has an ADC (Analog-to-Digital Converter) and supports 5V logic levels.