Difference between revisions of "EEVBlog 121GW"
(comment on "hackable firmware" and hardware connections) |
(example SD card logfile) |
||
Line 54: | Line 54: | ||
SD card logging generates CSV style files, with several header lines (non-comments) describing the test setup and start of recording, followed by data lines, and a final (non-comment) line when recording stops. | SD card logging generates CSV style files, with several header lines (non-comments) describing the test setup and start of recording, followed by data lines, and a final (non-comment) line when recording stops. | ||
Example SD card logfile: | |||
START,2016/10/04,03:15:27, | |||
ID,170800000, | |||
INTERVAL,000,sec, | |||
,MAIN,,,SUB-1,,,SUB-2,,,Remark, | |||
No. ,Func. ,Value,Unit,Func. ,Value,Unit,Func. ,Value,Unit, | |||
1,DCV,00.0003,V,,,,,,,, | |||
2,DCV,-00.0009,V,,,,,,,, | |||
3,DCV,-00.0106,V,,,,,,,, | |||
4,DCV,-00.0005,V,,,,,,,, | |||
--- 8< --- snip snip --- >8 --- | |||
890,DCV,-00.0002,V,,,,,,,, | |||
891,DCV,00.0004,V,,,,,,,, | |||
MAX,865,DCV,00.0752,V, | |||
MIN,537,DCV,-00.0558,V, | |||
=== BLE === | === BLE === |
Revision as of 17:49, 1 October 2018
Status | planned |
---|---|
Counts | 50000 |
IEC 61010-1 | CAT III (600V) |
Connectivity | BLE, SD card |
Measurements | voltage, current, power, resistance, capacitance, diode, continuity, frequency, duty cycle, period, temperature |
Features | autorange, true-rms, auto hold, min/max, 1ms peak, 1kHz lowpass, relative, bargraph, backlight, 3V/15V diode, SD card logging |
Website | eevblog.com |
The EEVBlog 121GW is a 50000 counts, CAT III (600V) handheld digital multimeter with SD card (firmware update, data logging) and BLE connectivity.
The EEVBlog host Dave Jones participated in the design of the device which gets manufactured by UEi. Some features are rare, or their combination has not been seen in other devices (15V diode test, builtin uCurrent to reduce burden voltage in current measurement, open schematics and hackable firmware).
Hold the 1ms PEAK button to enable BLE communication.
Hardware
- HY3131 DMM
- AD8436 TRMS
- ADR3412 Reference
- MAX4238 Opamp (uCurrent)
- STM32L152ZDT6 MCU
- BLE122 BLE module
- NJU6350R RTC, CR1220 battery
- Split terminals and opamp for plug detection
- Several 4052/4053 muxes
The Uni-T UT171A and Keysight U1282A meters are said to use the same HY3131 multimeter chipset.
The 121GW meter's schematics is open, as is the source code for the mobile app.
The meter is announced as having "hackable firmware" but its source code is not available and probably never will. Alternative OpenSource firmware is possible but would have to start at square one. There are connector pads to program the MCU and the BLE module.
The STM32 MCU communicates to the HY3131 chip via SPI, and to the BLE112 module via UART. The BLE112 passes the MCU's serial data in verbatim form (port extender mode). Which means that one might as well grab the meter's serial output at the MCU to BLE connection.
Photos
Protocol
SD
SD card logging generates CSV style files, with several header lines (non-comments) describing the test setup and start of recording, followed by data lines, and a final (non-comment) line when recording stops.
Example SD card logfile:
START,2016/10/04,03:15:27, ID,170800000, INTERVAL,000,sec, ,MAIN,,,SUB-1,,,SUB-2,,,Remark, No. ,Func. ,Value,Unit,Func. ,Value,Unit,Func. ,Value,Unit, 1,DCV,00.0003,V,,,,,,,, 2,DCV,-00.0009,V,,,,,,,, 3,DCV,-00.0106,V,,,,,,,, 4,DCV,-00.0005,V,,,,,,,, --- 8< --- snip snip --- >8 --- 890,DCV,-00.0002,V,,,,,,,, 891,DCV,00.0004,V,,,,,,,, MAX,865,DCV,00.0752,V, MIN,537,DCV,-00.0558,V,
BLE
Several firmware versions implemented different protocol versions, as lessons were learned during development of the BLE communication and apps for mobile devices. Recent versions use packets of 19 bytes each with binary data, to reduce the probability of data loss in the communication, and to slightly increase throughput since BLE is considered "low speed". The "Revised-Packet-Format-Blob-V2" PDF outlines the frame layout.
BLE communication is reported to be slow (some two samples per second), and occassionally flaky (truncated packets, reduced rate including gaps of non-activity, increasing error counts after longer periods of logging). The firmware and the protocol provide basic functionality, but may see some more development before becoming full featured and stable, or before more performance increases are seen.
To enable BLE communication hold the 1ms PEAK button until the BT indicator changes. The meter needs a write trigger before it starts sending subsequent samples by means of notifications (BLE has no common or standard concept of serial communication, like Bluetooth Classic does). This trigger is not needed for each sample (like some serial DMMs do), but it'd be required to re-establish communication after connection was lost (gsi, my assumption, not sure whether the write suffices or re-connect and write is due).
Each 19-byte packet communicates data for three displays ("main", "sub", and "bar", i.e. the two displays and the bargraph) as well as some "icon" state (indicators).
At the time of this writing sigrok does not support BLE communication. Possible workarounds would involve disguising the BLE communication as a COM port (users are reported to run gateways on ESP or nRF hardware), or to "replay" recordings of previously observed communication.
Quick experiment, manual inspection of BLE communication:
$ hcitool lescan $ gatttool -b DEV_ADDR --char-write-req -a 9 -n 0300 --listen
Resources
- Vendor product page (download links for firmware, user manual, schematics, mobile apps, packet format, as well as an issue report form)
- Welectron (European distributor)
- Mobile app repo (maintained by Dave2)
- Dozens of forum threads with hundreds of pages on the EEVBlog site
- lygte-info.dk Review and teardown