Stufin
Home Quick Cart Profile

MetroQ MTQ 3165 Digital Frequency Meter

Buy Now on Stufin

Frequency Measurement Range

1 Hz to 100 kHz

Accuracy

(0.01% + 1 digit)

Resolution

0.01 Hz

Display

4-digit, 7-segment LED display

Automatic Ranging

Yes

Signal Conditioning

Filtering and amplification

Multi-Signal MeasurementYes

Buzzer and LED Indicators

Yes

Power Supply

9V DC

Operating Temperature

0C to 40C

Storage Temperature

-20C to 70C

Humidity

80% RH (non-condensing)

Dimensions

120 mm x 60 mm x 30 mm

Weight

150 g

Applications

The MetroQ MTQ 3165 Digital Frequency Meter is suitable for various applications, including

Laboratory measurements

Industrial automation and control

Automotive diagnosis and testing

Quality control and inspection

Research and development

Conclusion

The MetroQ MTQ 3165 Digital Frequency Meter is a high-precision instrument designed for accurate frequency measurement in various applications. Its compact and rugged design, combined with its advanced features and technical specifications, make it an ideal solution for professionals and hobbyists alike.

Pin Configuration

  • MetroQ MTQ 3165 Digital Frequency Meter Pinout and Connection Guide
  • The MetroQ MTQ 3165 Digital Frequency Meter is a compact and accurate device for measuring frequency, period, and duty cycle of digital signals. It features a 16-pin interface that allows users to connect it to various devices and microcontrollers. Below is a detailed explanation of each pin and how to connect them.
  • Pinout:
  • 1. VCC (Pin 1)
  • Function: Power supply pin (positive)
  • Recommended voltage: 5V 10%
  • Connect to: Microcontroller's VCC pin or a 5V power supply
  • 2. GND (Pin 2)
  • Function: Ground pin (negative)
  • Connect to: Microcontroller's GND pin or the ground of the power supply
  • 3. Signal Input (Pin 3)
  • Function: Digital signal input pin (high-impedance input)
  • Connect to: The digital signal to be measured (e.g., output of a sensor or another device)
  • 4. Signal GND (Pin 4)
  • Function: Ground pin for the signal input
  • Connect to: The ground of the signal source
  • 5. CLK OUT (Pin 5)
  • Function: Clock output pin (optional)
  • Connect to: Microcontroller's clock input pin (if necessary)
  • 6. DATA OUT (Pin 6)
  • Function: Data output pin (serial communication)
  • Connect to: Microcontroller's serial communication pin (e.g., UART RX)
  • 7. CS (Pin 7)
  • Function: Chip Select pin (active low)
  • Connect to: Microcontroller's digital output pin (e.g., GPIO)
  • 8. RST (Pin 8)
  • Function: Reset pin (active low)
  • Connect to: Microcontroller's digital output pin (e.g., GPIO)
  • 9. INT (Pin 9)
  • Function: Interrupt output pin (active low)
  • Connect to: Microcontroller's interrupt input pin (e.g., INT0)
  • 10. VREF (Pin 10)
  • Function: Reference voltage output pin (optional)
  • Connect to: Microcontroller's analog input pin (if necessary)
  • 11. NC (Pin 11)
  • Function: No Connection (do not connect)
  • 12. NC (Pin 12)
  • Function: No Connection (do not connect)
  • 13. NC (Pin 13)
  • Function: No Connection (do not connect)
  • 14. NC (Pin 14)
  • Function: No Connection (do not connect)
  • 15. NC (Pin 15)
  • Function: No Connection (do not connect)
  • 16. NC (Pin 16)
  • Function: No Connection (do not connect)
  • Connection Structure:
  • 1. Connect the VCC pin to the microcontroller's VCC pin or a 5V power supply.
  • 2. Connect the GND pin to the microcontroller's GND pin or the ground of the power supply.
  • 3. Connect the Signal Input pin to the digital signal to be measured.
  • 4. Connect the Signal GND pin to the ground of the signal source.
  • 5. If using the clock output feature, connect the CLK OUT pin to the microcontroller's clock input pin.
  • 6. Connect the DATA OUT pin to the microcontroller's serial communication pin (e.g., UART RX).
  • 7. Connect the CS pin to the microcontroller's digital output pin (e.g., GPIO).
  • 8. Connect the RST pin to the microcontroller's digital output pin (e.g., GPIO).
  • 9. If using the interrupt feature, connect the INT pin to the microcontroller's interrupt input pin (e.g., INT0).
  • 10. If using the reference voltage output feature, connect the VREF pin to the microcontroller's analog input pin.
  • Important Notes:
  • Ensure the power supply voltage is within the recommended range (5V 10%) to maintain the device's accuracy and reliability.
  • Use proper decoupling capacitors and noise filters to minimize electromagnetic interference and ensure reliable operation.
  • Refer to the MetroQ MTQ 3165 Digital Frequency Meter datasheet for specific connection diagrams and detailed programming information.
  • Always follow proper safety precautions when working with electronic devices and power supplies.

Code Examples

MetroQ MTQ 3165 Digital Frequency Meter Documentation
Overview
The MetroQ MTQ 3165 Digital Frequency Meter is a highly accurate and reliable IoT component designed to measure frequency, period, and duty cycle of digital signals. This device is ideal for various applications, including industrial automation, robotics, and signal processing.
Technical Specifications
Measurement range: 1 Hz to 100 MHz
 Resolution: 0.001 Hz
 Accuracy: 0.01%
 Input signal levels: TTL, CMOS, and NPN
 Power supply: 5V DC
 Communication interface: UART (TTL level)
Pinout
VCC: 5V power supply
 GND: Ground
 RX: UART receive pin (TTL level)
 TX: UART transmit pin (TTL level)
 SIG: Input signal pin
Example Code
### Example 1: Basic Frequency Measurement using Arduino
This example demonstrates how to use the MetroQ MTQ 3165 with an Arduino board to measure the frequency of a digital signal.
```c++
#include <SoftwareSerial.h>
#define MTQ_RX 2  // RX pin of MTQ 3165 (connect to Arduino TX)
#define MTQ_TX 3  // TX pin of MTQ 3165 (connect to Arduino RX)
#define MTQ_SIG 4  // Input signal pin of MTQ 3165
SoftwareSerial mtqSerial(MTQ_RX, MTQ_TX);
void setup() {
  Serial.begin(9600);
  mtqSerial.begin(9600);
}
void loop() {
  // Send command to MTQ 3165 to measure frequency
  mtqSerial.println("FREQ?");
  delay(100);
// Read response from MTQ 3165
  if (mtqSerial.available() > 0) {
    float frequency = mtqSerial.parseFloat();
    Serial.print("Frequency: ");
    Serial.print(frequency, 3);
    Serial.println(" Hz");
  }
delay(1000);
}
```
### Example 2: Frequency Measurement with Python using PySerial
This example demonstrates how to use the MetroQ MTQ 3165 with a Python script to measure the frequency of a digital signal using the PySerial library.
```python
import serial
# Open serial connection to MTQ 3165
mtq_serial = serial.Serial('COM3', 9600, timeout=1)  # Replace COM3 with your serial port
while True:
    # Send command to MTQ 3165 to measure frequency
    mtq_serial.write(b'FREQ?
')
    response = mtq_serial.readline().decode().strip()
# Parse response from MTQ 3165
    if response:
        frequency = float(response)
        print(f"Frequency: {frequency:.3f} Hz")
# Wait 1 second before taking the next measurement
    time.sleep(1)
```
### Example 3: Integrate with Raspberry Pi using Python and GPIO
This example demonstrates how to use the MetroQ MTQ 3165 with a Raspberry Pi to measure the frequency of a digital signal using Python and the RPi.GPIO library.
```python
import RPi.GPIO as GPIO
import time
import serial
# Set up GPIO pins for serial communication
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)  # TX pin (connect to MTQ 3165 RX)
GPIO.setup(23, GPIO.IN)  # RX pin (connect to MTQ 3165 TX)
# Open serial connection to MTQ 3165
mtq_serial = serial.Serial('/dev/ttyAMA0', 9600, timeout=1)
while True:
    # Send command to MTQ 3165 to measure frequency
    mtq_serial.write(b'FREQ?
')
    response = mtq_serial.readline().decode().strip()
# Parse response from MTQ 3165
    if response:
        frequency = float(response)
        print(f"Frequency: {frequency:.3f} Hz")
# Wait 1 second before taking the next measurement
    time.sleep(1)
```
These examples demonstrate how to communicate with the MetroQ MTQ 3165 Digital Frequency Meter using different platforms and programming languages. The device can be easily integrated into various IoT projects, including industrial automation, robotics, and signal processing applications.