elm327 CAN命令打开车灯 [英] elm327 CAN command to switch headlights pernament ON

查看:360
本文介绍了elm327 CAN命令打开车灯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发送AT命令在日产Leaf切换我的车灯。

I want to send AT command to switch my headlights pernament ON in Nissan Leaf.

它位于ID 625

0x00 - OFF
0x60 - ON
0x40 - Parking lights ON
0x68 - Headlights & fog lights ON

如何通过终端发送命令来改变这一点

how to change this by sending commands through Terminal Can you help step by step?

推荐答案

如果你的Nissan正在说CAN(即你的ELM 327设备会回复一个6到9之间的数字,发送 AT DPN ),那么您可以:

If your Nissan is talking CAN (i.e. your ELM 327 device will reply with a number between 6 and 9 when you send AT DPN), then you can:

AT Z
E0
AT L1
AT SP 0
0100
AT SH 625

到这里,您有:


  1. 重置芯片组( AT Z

  2. 阻止它回显您所写的任何内容( AT E0

  3. AT L1

  4. 将协议设置为auto c $ c> AT SP 0 )

  5. 初始化公车( 0100 ,但这有助于芯片组确定协议)

  6. 将CAN消息头设置为625( AT SH 625

  1. reset the chipset (AT Z)
  2. stopped it from echoing back whatever you write (AT E0)
  3. turned line endings on, so its reply doesn't overwrite your command in temrinal (AT L1)
  4. set protocol to "auto" (AT SP 0)
  5. initialize the bus (0100) (okay, not really, but this helps the chipset determine the protocol)
  6. set the CAN message header to 625 (AT SH 625)

现在,你知道哪个字节必须更改为0x40才能打开头灯?你可以尝试直接发送 40 00 ,但我真的怀疑它有帮助。

Now, do you know which of the bytes do you have to change to 0x40 to turn headlights on? You could try to send 40 00 directly, but I really doubt it helps.

请注意:不要尝试在总线上发送CAN消息,除非你知道你在做什么。如果你的车开始表演怪异,不要让任何人负责。此外,驾驶时不要发送消息。

Note: don't try to send CAN messages on the buss unless you know what you are doing. Don't hold anybody liable if your car starts acting weird. Also, don't send messages while driving.

这篇关于elm327 CAN命令打开车灯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆