The ZMPT101B is a high-precision voltage sensor module designed for electronic applications that require accurate AC voltage measurements. This module is based on the ZMPT101B voltage transformer and uses a high-precision op-amp circuit to amplify the signal for microcontroller compatibility. It is commonly used in power monitoring systems, voltage regulation, and for DIY projects that involve AC voltage sensing, such as home energy management systems.
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (5V-30V DC) |
2 | GND | Ground |
3 | OUT | Analog voltage output proportional to AC |
To use the ZMPT101B module in a circuit, follow these steps:
Before using the ZMPT101B for precise measurements, it is essential to calibrate the module:
// ZMPT101B voltage sensor example for Arduino UNO
const int zmptPin = A0; // Analog input pin connected to ZMPT101B OUT
float calibrationFactor = 0.5; // Replace with your calibration factor
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(zmptPin);
float voltage = sensorValue * (5.0 / 1023.0) * calibrationFactor;
Serial.print("AC Voltage: ");
Serial.print(voltage);
Serial.println(" V");
delay(1000);
}
Q: Can the ZMPT101B be used for DC voltage measurements? A: No, the ZMPT101B is designed for AC voltage measurements only.
Q: What is the purpose of the onboard potentiometer? A: The potentiometer is used for calibration to ensure accurate voltage measurements.
Q: How can I increase the measurement resolution? A: Use an external ADC with higher resolution or implement oversampling with the Arduino's ADC.
For further assistance, consult the community forums or contact technical support.