Difference between revisions of "ATORCH J7-c"
(source directory, resources section, example CLI invocation) |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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. | |||
{{Infobox energy meter | {{Infobox energy meter | ||
| 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 | ||
| features = measures USB devices; color display | | features = measures USB devices; color display | ||
| website = [http://atorch. | | website = [http://en.atorch.cn/ProDetail.aspx?ProID=4 en.atorch.cn] | ||
}} | }} | ||
== | == Hardware == | ||
It features the following connectors : | It features the following connectors : | ||
* USB-A male ( USB 2.0 only ) | * USB-A male ( USB 2.0 only ) | ||
Line 19: | Line 21: | ||
* USB-microB female | * USB-microB female | ||
A '''CH573F MCU''' is responsible for performing all the measurements and managing the user interface. | |||
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 ). | A small SOIC-8 IC (marking BP0D608-68A2) handles the Bluetooth communication (both RFCOMM and BLE). Might be [https://www.zh-jieli.com/upload/202204/AC63XN-datasheet/AC632N%E8%A7%84%E6%A0%BC%E4%B9%A6/datasheet/AC6328B_Datasheet_V1.0.pdf AC6328B] | ||
== | == Pictures == | ||
<gallery> | <gallery> | ||
Line 38: | Line 32: | ||
</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 == | |||
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 [https://github.com/syssi/esphome-atorch-dl24/blob/main/docs/protocol-design.md]. | |||
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 == | |||
* [http://atorch.aliexpress.com/ Aliexpress store] | * vendor software in the [http://atorch.aliexpress.com/ Aliexpress store] | ||
* [https://github.com/syssi/esphome-atorch-dl24/blob/main/docs/protocol-design.md protocol-design] | * github syssi esphome-atorch-dl24 [https://github.com/syssi/esphome-atorch-dl24/blob/main/docs/protocol-design.md protocol-design] text document | ||
[[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