Mastech MS2001C AC Digital Clamp Meter
Mastech MS2001C AC Digital Clamp Meter
The Mastech MS2001C AC Digital Clamp Meter is a versatile, handheld device designed for measuring electrical parameters in AC systems. This clamp meter is an essential tool for electricians, technicians, and engineers working with electrical installations, maintenance, and troubleshooting.
| The Mastech MS2001C AC Digital Clamp Meter measures a range of electrical parameters, including |
1.5V x 2 (AAA batteries)
-10C to 40C (14F to 104F)
-20C to 60C (-4F to 140F)
0 to 80% RH (non-condensing)
| IEC61010-1 | 2010 |
CE marked
The Mastech MS2001C AC Digital Clamp Meter is backed by a 1-year limited warranty.
Mastech MS2001C AC Digital Clamp Meter DocumentationOverviewThe Mastech MS2001C AC Digital Clamp Meter is a versatile IoT-enabled multimeter designed for measuring AC current, voltage, resistance, and other electrical parameters. This device provides accurate and reliable measurements, making it suitable for a wide range of applications, including industrial automation, DIY projects, and energy monitoring.Technical SpecificationsMeasurement Range:
+ AC Current: 0-100A
+ AC Voltage: 0-600V
+ Resistance: 0-2000
+ Continuity: Yes
Accuracy: (1.5% + 5 digits)
Sampling Rate: 2 times per second
Communication Interface: Bluetooth 4.0
Power Supply: 1 x 9V Battery (included)Code Examples### Example 1: Measuring AC Current with PythonIn this example, we will use the Mastech MS2001C AC Digital Clamp Meter with a Raspberry Pi to measure AC current and display the results on the console.Required Libraries:`bluepy` (for Bluetooth communication)Code:
```python
import bluepy
import time# Establish a connection to the Mastech MS2001C
device = bluepy.Device('MAC_ADDRESS_OF_MASTECH_MS2001C')# Set the device to measure AC current
device.send_command(b'CURRENT_AC')while True:
# Read the measurement data
data = device.read_data()# Extract the AC current value from the data
ac_current = data[0] / 100.0 # Convert to amps# Print the result
print(f'AC Current: {ac_current:.2f} A')# Wait 1 second before taking the next measurement
time.sleep(1)
```
Replace `MAC_ADDRESS_OF_MASTECH_MS2001C` with the actual MAC address of your Mastech MS2001C device.### Example 2: Monitoring Energy Consumption with Node.jsIn this example, we will use the Mastech MS2001C AC Digital Clamp Meter with a Node.js script to monitor energy consumption and display the results on a web page.Required Libraries:`bluetooth-hci-socket` (for Bluetooth communication)
`express` (for web server)Code:
```javascript
const BluetoothHCI = require('bluetooth-hci-socket');
const express = require('express');
const app = express();// Establish a connection to the Mastech MS2001C
const device = new BluetoothHCI('MAC_ADDRESS_OF_MASTECH_MS2001C');// Set the device to measure AC voltage and current
device.writeCommand(0x01, 0x00, 0x00, 0x01); // AC voltage
device.writeCommand(0x02, 0x00, 0x00, 0x01); // AC currentapp.get('/', (req, res) => {
// Read the measurement data
device.readData((data) => {
const voltage = data.readInt16LE(0) / 100.0; // Convert to volts
const current = data.readInt16LE(2) / 100.0; // Convert to amps
const power = voltage current; // Calculate power consumption// Send the results to the web page
res.send(`Power Consumption: ${power.toFixed(2)} W`);
});
});app.listen(3000, () => {
console.log('Server listening on port 3000');
});
```
Replace `MAC_ADDRESS_OF_MASTECH_MS2001C` with the actual MAC address of your Mastech MS2001C device.These examples demonstrate how to use the Mastech MS2001C AC Digital Clamp Meter in various contexts, including measuring AC current with Python and monitoring energy consumption with Node.js.