MetroQ MTQ-890 KPH BPT609 Analog Multimeter Documentation
The MetroQ MTQ-890 KPH BPT609 Analog Multimeter is a high-precision, analog multimeter designed for measuring various electrical parameters such as voltage, current, resistance, continuity, and more. This documentation provides an overview of the device's features, pinout, and code examples to get you started with integrating this component into your IoT projects.
Measures voltage (AC/DC), current (AC/DC), resistance, continuity, and more
High-precision measurements with an accuracy of 0.5%
Analog display with a clear and bright LCD screen
Compact design with a rugged enclosure
Built-in fuse protection for safe operation
The MetroQ MTQ-890 KPH BPT609 Analog Multimeter has the following pinout:
VCC: Power supply (3-12V)
GND: Ground
SIG: Analog signal output (0-5V)
COM: Common terminal for measurement leads
### Example 1: Measuring Voltage using Arduino
In this example, we will use an Arduino board to read the analog output from the MetroQ MTQ-890 KPH BPT609 Analog Multimeter and display the measured voltage on the serial monitor.
```c++
const int sigPin = A0; // Analog input pin for SIG output
const float vcc = 5.0; // Power supply voltage (V)
void setup() {
Serial.begin(9600);
}
void loop() {
int adcValue = analogRead(sigPin);
float voltage = (adcValue vcc) / 1023.0;
Serial.print("Measured voltage: ");
Serial.print(voltage);
Serial.println(" V");
delay(1000);
}
```
### Example 2: Measuring Current using Raspberry Pi (Python)
In this example, we will use a Raspberry Pi board with a Python script to read the analog output from the MetroQ MTQ-890 KPH BPT609 Analog Multimeter and display the measured current on the console.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
sig_pin = 18 # Analog input pin for SIG output
def read_adc():
adc_value = 0
GPIO.setup(sig_pin, GPIO.IN)
adc_value = GPIO.input(sig_pin)
return adc_value
while True:
adc_value = read_adc()
current = (adc_value 5.0) / 1023.0 # Assuming 5V power supply
print("Measured current: {:.2f} A".format(current))
time.sleep(1)
```
### Example 3: Measuring Resistance using ESP32 (MicroPython)
In this example, we will use an ESP32 board with MicroPython to read the analog output from the MetroQ MTQ-890 KPH BPT609 Analog Multimeter and display the measured resistance on the serial console.
```python
import machine
import time
sig_pin = machine.ADC(machine.Pin(32)) # Analog input pin for SIG output
while True:
adc_value = sig_pin.read()
resistance = (adc_value 5.0) / 1023.0 # Assuming 5V power supply
print("Measured resistance: {:.2f} Ohms".format(resistance))
time.sleep(1)
```
Note: In each example, you need to connect the SIG output from the MetroQ MTQ-890 KPH BPT609 Analog Multimeter to the corresponding analog input pin on your microcontroller board. Also, ensure that the power supply voltage is within the recommended range (3-12V) for safe operation.