
This circuit uses an Arduino UNO to read the output from a ZMPT101B voltage sensor module. The ZMPT101B is powered by the Arduino's 5V and GND pins, and its output is connected to the Arduino's analog input pin A0 for voltage measurement.

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.

This circuit uses an Arduino UNO to read the output from a ZMPT101B voltage sensor module. The ZMPT101B is powered by the Arduino's 5V and GND pins, and its output is connected to the Arduino's analog input pin A0 for voltage measurement.

This circuit uses an Arduino UNO to read voltage measurements from a ZMPT101B voltage sensor, which is connected to a 220V power source. The Arduino is powered by its 5V pin and receives the sensor's output on its A0 analog input pin.

This circuit is designed to monitor and measure electrical parameters using an ESP32 microcontroller, a ZMPT101B voltage sensor, and a 5A current sensor. It includes visual indicators with red and green LEDs and an audible alert via a piezo buzzer, all controlled by the ESP32.

This circuit is designed to monitor AC voltage using a ZMPT101B voltage sensor and display the readings on a 16x2 I2C LCD. An Arduino UNO processes the sensor data, and if the voltage exceeds predefined thresholds, it activates a buzzer to alert the user.
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.