From 2fe58fc2dac7e38d1fecaaf61e696ac30dd406ce Mon Sep 17 00:00:00 2001 From: adamz Date: Thu, 23 Dec 2021 12:57:03 +0100 Subject: [PATCH 1/2] IKE/18 Speed/RPM init --- ike/18.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 ike/18.md diff --git a/ike/18.md b/ike/18.md new file mode 100644 index 0000000..5639be7 --- /dev/null +++ b/ike/18.md @@ -0,0 +1,49 @@ +# `0x18` Speed/RPM + +Cluster `0x80` → Broadcast `0xbf` + +The cluster will periodically broadcast the current speed, and rpm, while the bus is active. + +### Example Frames + + 80 05 BF 18 1A 0E 22 + +## Parameters + +Fixed length. 3 data bytes. + +| Parameter | Index | Length | Type | Note | +| :-------- | :---- | :----- | :------ | :-------------------------------------------------------- | +| Speed | `0` | `1` | Integer | multiply by 2 (1A = 26, real speed is 26\*2 = 52 km/h) | +| RPM | `1` | `1` | Integer | multiply by 100 (0E = 14, real rpm is 14\*100 = 1400 rpm) | + +### Speed + +TODO : add information about the Speed sensor + +This value is a whole number (i.e. 26) to be multiplied by 2 to get the real speed value. + +### RPM + +TODO : add information about the RPM sensor + +This value is a whole number (i.e. 14) to be multiplied by 100 to get the real rpm value. +I did not find any way to get a more precise rpm number. + +## Example + + # Example Speed/RPM Frame 1 + 80 06 BF 19 17 37 00 00 + +| Property | Speed | RPM | NA | +| --------- | ------- | -------- | ---- | +| **Data** | `17` | `37` | `00` | +| **Value** | 46 km/h | 3700 rpm | -- | + +## Use Cases + +TODO : find descriptive uses cases + +### Check Control + +TODO : add information about check control From 5cbb172fc085e3bd71057120c573ae7779e7aeaa Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 25 Mar 2024 15:45:47 +0100 Subject: [PATCH 2/2] Updated readme with Speed IKE 0x18 target link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c0c304..5a4a1de 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ Command|Description `0x15`|[Language & Region](ike/15.md) `0x16`|Mileage Request `0x17`|Mileage -`0x18`|Speed +`0x18`|[Speed](ike/18.md) `0x19`|[Temperature](ike/19.md) `0x1a`|[Check Control Message](lcm/1a.md) `0x1b`|Check Control Priority