2015 factory reverse camera while driving mod?
#11
Yes it's all can bus contolled. I am currently trying to figures this out myself I plan on using the cruise off button once I figure out the camera.
I figured out the hvac controls this weekend.
I used an arduino with a can bus shield to light the led based on the temp
I figured out the hvac controls this weekend.
I used an arduino with a can bus shield to light the led based on the temp
#12
Senior Member
http://www.seeedstudio.com/wiki/CAN-BUS_Shield
I bought this with a db9 to obd2 cable and just put it on the arduino. They have a library that you download which comes with examples. Pretty much I just took the receive examples and modified it. When you first hook it up and run the receive example there is a ton of data that goes across the console screen even more when the key is on. (Yet to try with it running) so I created a exclusion list of all of the can ids then took one id out of the list at a time and randomly tried a bunch of stuff. The first one that I found was the cruise control buttons. When a button is pressed you see the hex change. For the hvac when the temp is set to full warm the hex in the 6th position is FE (254) and 0 when on the coolest setting. So I wired up an rgb led that if the hvac is on it will turn red if the value is greater than 180ish and blue when lower than that value.
The following users liked this post:
dmilli (03-20-2020)
#13
This is very cool.
What arduino board are you using ?
Do you only connect thru the OBD2 connector or did you manage to hookup directly on the CAN bus ?
Are you willing to share you code so far ?
What arduino board are you using ?
Do you only connect thru the OBD2 connector or did you manage to hookup directly on the CAN bus ?
Are you willing to share you code so far ?
#14
Yes. I bought two different can bus shields but I have only tried the seeed stuido one. Let me back up an adruino is a micro contoller that has different pins that you can use as outputs. Some pins are analog, digital or digital pulse width modulation and shields are modules that attach on the top to give extra functionality.
http://www.seeedstudio.com/wiki/CAN-BUS_Shield
I bought this with a db9 to obd2 cable and just put it on the arduino. They have a library that you download which comes with examples. Pretty much I just took the receive examples and modified it. When you first hook it up and run the receive example there is a ton of data that goes across the console screen even more when the key is on. (Yet to try with it running) so I created a exclusion list of all of the can ids then took one id out of the list at a time and randomly tried a bunch of stuff. The first one that I found was the cruise control buttons. When a button is pressed you see the hex change. For the hvac when the temp is set to full warm the hex in the 6th position is FE (254) and 0 when on the coolest setting. So I wired up an rgb led that if the hvac is on it will turn red if the value is greater than 180ish and blue when lower than that value.
http://www.seeedstudio.com/wiki/CAN-BUS_Shield
I bought this with a db9 to obd2 cable and just put it on the arduino. They have a library that you download which comes with examples. Pretty much I just took the receive examples and modified it. When you first hook it up and run the receive example there is a ton of data that goes across the console screen even more when the key is on. (Yet to try with it running) so I created a exclusion list of all of the can ids then took one id out of the list at a time and randomly tried a bunch of stuff. The first one that I found was the cruise control buttons. When a button is pressed you see the hex change. For the hvac when the temp is set to full warm the hex in the 6th position is FE (254) and 0 when on the coolest setting. So I wired up an rgb led that if the hvac is on it will turn red if the value is greater than 180ish and blue when lower than that value.