Recently reverse engineered headlights status in MS CAN messages. Already used in my other CAN project - CAN relay. But also can be used for this controller.
Status | CAN ID | b0 | b1 | b2 | b3 | b4 | b5 | b6 | b7 |
---|---|---|---|---|---|---|---|---|---|
Off | 3C3 | 14 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
Low Beam | 3C3 | 14 | 39 | 0 | 0 | 1 | 1 | 0 | 0 |
Autolamp | 3C3 | 14 | 2 | 0 | 0 | 1 | 1 | 0 | 0 |
Autolamp (night) | 3C3 | 14 | 3B | 0 | 0 | 1 | 1 | 0 | 0 |
Marker light | 3C3 | 14 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
High beam | 3C3 | 16 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
Messages frequency - 0.2-1 Hz
Or, more meaningful by bits
Marker lights | bit 0 of byte b1 - 0 - off, 1 - on | .......M |
Low beam | bits 3,4,5 of byte b1 - 000 - off, 111 - on | ..LLL... |
Autolamp | bit 1 of byte b1 - 0 - off, 1 - on | ......A. |
High beam | bit 1 of byte b0 - 0 - off, 1 - on | ......H. |
b0 | b1 |
000101H0 | 00LLL0AM |
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.