Products > Test Equipment

OWON CM2100B, is Uni-t ut210e inspired?

<< < (3/4) > >>

linux-works:
update: code is now generalized to run with three types of owon meters!  it turns out that the protocol is nearly the same, with only a few differences.  the new code is still beta but most things seem to work.  testing still needed.

rauldm:
Looks nice these owon instruments, what is your main use for them? For automotive applications can be safe its use

linux-works:
yet another update.

turns out, they all pretty much use the same protocol, with minor changes.  got hold of a 4th owon model type (ow18e) and this one also matches the others (is more like the cm2100b since it uses the same ble handle-id).

updated source for all four:

https://github.com/sercona/Owon-Multimeters




linux-works:
btw, the way to find out how to talk to these is to run gatttool (three 'T's in that word, sigh...)


--- Code: ---$ gatttool -b A6:C0:80:E5:84:0C -I
[A6:C0:80:E5:84:0C][LE]> connect
Attempting to connect to A6:C0:80:E5:84:0C
Connection successful
Notification handle = 0x001b value: 24 f0 04 00 00 00
Notification handle = 0x001b value: 24 f0 04 00 00 00
Notification handle = 0x001b value: 24 f0 04 00 00 00
Notification handle = 0x001b value: 24 f0 04 00 00 00
Notification handle = 0x001b value: 24 f0 04 00 00 00
Notification handle = 0x001b value: 24 f0 04 00 00 00
Notification handle = 0x001b value: 24 f0 04 00 00 00
Notification handle = 0x001b value: 24 f0 04 00 00 00
[A6:C0:80:E5:84:0C][LE]> quit
$

--- End code ---

that 0x001b is the key.  it can be that value or 0x002e.

from what I've seen, just by sniffing the BLE output, is that meters that use 1b are the cm2100b and the ow18e.  the two B meters (b35 and b41) use the 2e handle.

the 6 bytes are 99% the same between the meters.  I still need to find all the diffs (I think on the clamp meter vs the others, what continuity_open means is what the others see as continuity_closed.  some things are not the same, for some reason).  but the basics are there and it should be usable for all four of these models.

linux BLE has a habit of getting stuck, for some reason.  I found a resetter that you might need to use, if your commands are not working.


--- Code: ---$ sudo python3 ./hci-resetter.py --now
Resetting HCI hci0
HCI hci0 has been reset

--- End code ---

you can tell if you need that by trying a ble scan:


--- Code: ---$ sudo hcitool lescan
Set scan parameters failed: Input/output error

--- End code ---

if you see that error, try the resetter.


--- Code: ---$ sudo hcitool lescan
LE Scan ...
12:A7:CE:34:9E:47 (unknown)
64:07:F6:96:0A:03 (unknown)
B2:5C:DA:F7:BC:B5 (unknown)
67:15:BB:2D:90:56 (unknown)
C8:69:CD:51:7B:A1 (unknown)
E8:49:8E:26:D1:5C (unknown)
...

--- End code ---

linux-works:
not sure if I'll keep all the new Owon's I bought.  I will likely keep the clamp meter and the b35t+ (best backlight).

here is all that I've collected over the years.  some, I bought new back when I was in college (80's). 

the two IBM flukes are my favorites and I dont use them; they only come out for photos.



but lately, I only buy meters that have remote access of some kind (serial, ble, whatever).

my eventual goal is to provide an ESP8266 (or esp32) web front end to all of the ones I can, so that multiple clients could poll multiple devices, as long as everyone's on the same wifi net.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod