
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 precision voltage sensor module designed for measuring AC voltage. It features a high-precision voltage transformer and an operational amplifier circuit for accurate and stable voltage measurement. The module provides an isolated output proportional to the input voltage, making it ideal for applications in power monitoring, energy management systems, and other AC voltage measurement tasks.

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 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 features an ESP32 microcontroller interfaced with a W5500 Ethernet module for network connectivity, a DHT22 sensor for measuring temperature and humidity, and an Adafruit SHTC3 sensor for additional temperature and humidity readings. The ZMPT101B module is connected to the ESP32 for voltage measurement in an AC power line. The ESP32 manages data collection from the sensors and communicates with the Ethernet module, likely for data logging or remote monitoring purposes.

This circuit features an ESP32 microcontroller interfaced with a W5500 Ethernet module, a ZMPT101B voltage sensor, and a DHT22 temperature and humidity sensor. The ESP32 is configured to communicate with the W5500 module for network connectivity and to read analog signals from the ZMPT101B and digital signals from the DHT22. The purpose of the circuit is likely for environmental monitoring with the capability to report data over a network.
The ZMPT101B module is designed to provide accurate AC voltage measurements with a simple interface. Below are its key technical specifications:
| Parameter | Value |
|---|---|
| Input Voltage Range | 0–250V AC (adjustable via potentiometer) |
| Output Voltage Range | 0–5V DC (proportional to input) |
| Operating Voltage | 5V DC |
| Accuracy | High precision |
| Isolation | Electrical isolation via transformer |
| Dimensions | 38mm x 25mm x 21mm |
The ZMPT101B module has a simple pinout for easy integration into circuits. Below is the pin configuration:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC) |
| 2 | GND | Ground connection |
| 3 | OUT | Analog output voltage proportional to the AC input |
The ZMPT101B module is straightforward to use in a circuit. Follow the steps below to integrate it into your project:
Below is an example code snippet for interfacing the ZMPT101B with an Arduino UNO to measure AC voltage:
// ZMPT101B 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
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
}
No Output Voltage
Inaccurate Voltage Readings
Fluctuating Readings
Arduino Not Detecting Output
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: 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 the input voltage range set via the potentiometer.
Q: How do I ensure safety when using the ZMPT101B?
A: Always follow proper safety precautions when working with high-voltage AC circuits. Ensure the module is properly isolated and avoid direct contact with live wires.
Q: Can I use the ZMPT101B with microcontrollers other than Arduino?
A: Yes, the ZMPT101B can be used with any microcontroller that has an analog-to-digital converter (ADC), such as ESP32, STM32, or Raspberry Pi (with an external ADC).