Python library for reading data from the DER EE DE-5000 LCR meter.
-
Debian/Ubuntu
$ sudo apt-get install python3 python3-pip
-
macOS with HomeBrew (tested on macOS 10.14 Mojave)
Install HomeBrew:$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install Python3:
$ brew install python3
see pySerial Docs
-
Debian/Ubuntu
$ sudo apt-get install python3-serial
-
macOS
$ python3 -m pip install pyserial
The LCR meter transmits data via its IR port. You'll either need the original IR-to-USB Adapter or build your own.
An example for how build your own adapter can be found here: IR-to-USB Adapter for DER EE DE-5000 LCR Meter
The cli_de5000.py
script is run from command line using the following command:
$ python cli_de5000.py COM_PORT
where COM_PORT
is the name of serial port where your IR receiver is connected.
Linux: e.g. /dev/ttyUSB0
, /dev/ttyUSB1
, ...
Windows: e.g. COM1
, COM2
, ...
To output the data from the meter to a CSV file:
$ python cli_de5000.py --csv FILENAME COM_PORT
To see all available options:
$ python cli_de5000.py --help
example-capacitor.csv
example-inductor.csv
example-resistor.csv
2022-05-01 15:55:27.372845
Frequency: 1 KHz
LCR AUTO
AUTO RNG
Primary: Cs = 6.4730 uF
Secondary: D = 0.0864
2022-05-01 15:57:53.559141
Frequency: 100 KHz
AUTO RNG
Primary: Ls = 48.2600 uH
Secondary: Q = 21.1200
2022-05-01 16:18:38.510388
Frequency: 120 Hz
AUTO RNG
Primary: Rs = 0.1900 Ohm
2022-05-01 16:22:47.329857
Frequency: 100 Hz
Primary: Cp = 5.4470 mF
Secondary: Theta = -85.2000 deg
2022-05-01 16:25:24.567118
Frequency: DC
Primary: DCR = 50.2200 Ohm