ã¯ããã«
ELM327ã¯è¤æ°PIDãåæã«æ±ããã¨ãã§ããæçã«ãªãã¾ãã
è»ä¸¡ã対å¿ãã¦ããã°ãæ大6byte(6å)ã®pidãåæã«åãåããå¯è½ã§ãã
ã½ãªãªã¯å¯¾å¿ãã¦ãæ§ã§ãã
è¿çãã¼ã¿ã6byte以ä¸ã ã¨ãELM327 ãã¼ã¿ã·ã¼ãã®Multiline Responses (p44/82)ã«è¨è¼ãããããã«è¤æ°è¡ã§è¿ã£ã¦ãã¾ãã
使ç¨ãããã®
ELM327 v1.5
çµæ
PIDãä¸ã¤ãã¤å¢ããã¦ãããæåã確èªãã¾ããã
PID 1byte(1種é¡)(é常)
> 0105 41 05 7A
- éä¿¡ : 0x05 (Engine coolant temperature)
- åç : 0x7A
- 0x7A = 0d122
- å¤ : 122 - 40 = 82â
PID 2byte(2種é¡)
> 01050c 41 05 7A 0C 0A 16
é çªã¯ service(01) PID1(05) PID1ã®data(7A) PID2(0C) PID2ã®data1(0A) PID2ã®data2(16)
- PID1 : 0x05
- PID2
- éä¿¡ : 0x0c (Engine speed)
- åç : 0x0A16
- 0x0A = 0d10
- 0x16 = 0d22
- å¤ : (256 * 10 + 22) / 4 = 645rpm
PID 3byte(3種é¡)
> 01050c0d 008 0: 41 05 7A 0C 0B AE 1: 0D 00 00 00 00 00 00
åçã2è¡ã«ãªãã¾ã
0x008 = 0d8 â ãã¼ã¿æ°8byte(8å)
0Dã®åçã®00ã¾ã§ã§8åã§ã
ãã®å ã¯13åã¾ã§00ã§åã¾ã£ã¦ãã¾ã
(ELM327ã®Multiline Responsesãåç §)
- PID1 0x05
- PID2 0x0c
- PID3
- éä¿¡ : 0x0d (Vehicle speed)
- åç : 0x00
- å¤ : 0km/h
PID 4byte(4種é¡)
> 01050c0d0f 00A 0: 41 05 7A 0C 0A 06 1: 0D 00 0F 4A 00 00 00
- 0x00A = 0d10 â ãã¼ã¿æ°10byte
- PID1 0x05
- PID2 0x0c
- PID3 0x0d
- PID4
- éä¿¡ : 0x0f (Intake air temperature)
- åç : 0x4A
- å¤ : 74 - 40 = 34â
PID 5byte(5種é¡)
> 01050c0d0f1f 00D 0: 41 05 7A 0C 0B B0 1: 0D 00 0F 4B 1F 0A AB
- 0x00D = 0d13 â ãã¼ã¿æ°13byte
- PID1 0x05
- PID2 0x0c
- PID3 0x0d
- PID4 0x0f
- PID5
- éä¿¡ : 0x1f (Run time since engine start)
- åç : 0x0AAB
- 0x0A = 0d10
- 0xAB = 0d171
- å¤ : 256 * 10 + 171 = 2731
PID 6byte(6種é¡)
> 01050c0d0f1f11 00F 0: 41 05 7A 0C 0A 1C 1: 0D 00 0F 4B 1F 0A B2 2: 11 22 00 00 00 00 00
- 0x00F = 0d15 â ãã¼ã¿æ°15byte
- PID1 0x05
- PID2 0x0c
- PID3 0x0d
- PID4 0x0f
- PID5 0x1f
- PID6
- éä¿¡ : 0x11 (Throttle position)
- åç : 0x22
- 0x22 = 0d34
- å¤ : (100 / 255 ) * 34 = 13.3%
PID 7byte(7種é¡)
> 01050c0d0f1f1142 ?
ãããã«ãªã
- PID1 0x05
- PID2 0x0c
- PID3 0x0d
- PID4 0x0f
- PID5 0x1f
- PID6 0x11
- PID7
- éä¿¡ : 0x42