Difference between revisions of "ATORCH J7-c"
(Added RFCOMM channel / BLE parameters) |
(source directory, resources section, example CLI invocation) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
| image = [[File:ATORCH_J7-c.jpg|180px]] | | image = [[File:ATORCH_J7-c.jpg|180px]] | ||
| name = ATORCH J7-c | | name = ATORCH J7-c | ||
| status = | | status = supported | ||
| source_code_dir = atorch | |||
| connectivity = serial over Bluetooth, BLE | | connectivity = serial over Bluetooth, BLE | ||
| measurements = voltage, current, power, energy, voltage over USB data lines | | measurements = voltage, current, power, energy, voltage over USB data lines | ||
Line 30: | Line 31: | ||
File:ATORCH J7-c Board Back.jpg | Bottom side of the board | File:ATORCH J7-c Board Back.jpg | Bottom side of the board | ||
</gallery> | </gallery> | ||
== Example use == | |||
<small> | |||
$ sigrok-cli -d atorch:conn=COM5 --continuous | |||
$ sigrok-cli -d atorch:conn=bt/ac6328/12-34-56-78-9a-bc --show | |||
</small> | |||
== Protocol == | == Protocol == | ||
Line 41: | Line 49: | ||
The BLE transport can be made to work using the following parameters : handle_rx = 0x000C, handle_tx = 0x000F, handle_cccd = 0x000D, value_cccd = 0x0001 | The BLE transport can be made to work using the following parameters : handle_rx = 0x000C, handle_tx = 0x000F, handle_cccd = 0x000D, value_cccd = 0x0001 | ||
== | == Resources == | ||
* vendor software in the [http://atorch.aliexpress.com/ Aliexpress store] | * vendor software in the [http://atorch.aliexpress.com/ Aliexpress store] | ||
Line 48: | Line 56: | ||
[[Category:Device]] | [[Category:Device]] | ||
[[Category:Energy meter]] | [[Category:Energy meter]] | ||
[[Category: | [[Category:Supported]] |
Latest revision as of 12:29, 7 May 2023
The ATORCH J7-c is a USB load meter which can measure various properties for USB devices including their voltage, current, power, resistance, capacity, temperature, data line voltage, and charging mode. Communicates to the host by means of serial over bluetooth.
Status | supported |
---|---|
Source code | atorch |
Connectivity | serial over Bluetooth, BLE |
Measurements | voltage, current, power, energy, voltage over USB data lines |
Features | measures USB devices; color display |
Website | en.atorch.cn |
Hardware
It features the following connectors :
- USB-A male ( USB 2.0 only )
- USB-A female ( USB 2.0 only)
- USB-C male
- USB-C female
- USB-microB female
A CH573F MCU is responsible for performing all the measurements and managing the user interface.
A small SOIC-8 IC (marking BP0D608-68A2) handles the Bluetooth communication (both RFCOMM and BLE). Might be AC6328B
Pictures
Example use
$ sigrok-cli -d atorch:conn=COM5 --continuous $ sigrok-cli -d atorch:conn=bt/ac6328/12-34-56-78-9a-bc --show
Protocol
The device communicates through serial-over-Bluetooth (RFCOMM), appearing under the UC96_SPP name, and BLE, under the UC96_BLE name. The same protocol is used both on the BLE and Bluetooth link.
The manufacturer provides an app named "E_Test" for Android and iOS, but no protocol documentation, although it appears that the protocol has been fully reverse-engineered [1].
The RFCOMM transport uses channel number 2. The BLE transport can be made to work using the following parameters : handle_rx = 0x000C, handle_tx = 0x000F, handle_cccd = 0x000D, value_cccd = 0x0001
Resources
- vendor software in the Aliexpress store
- github syssi esphome-atorch-dl24 protocol-design text document