Open binginsin opened 1 year ago
Thanks for the message, I will definitely have a look at your TP 1.6 code. Hopefully I can figure out a way to use it in this project.
Unfortunately, my latest v3 cable failed over summer and now only works randomly. I am tired of pulling the dash apart and lost the motivation to fix it.
This might be just what I needed to get back into it...
Hey!
Very interesting project. I have in the past created an arduino module that registers itself as a phone on the MFD/CANBUS and can display it's own MFD screen with text and then react to button clicks that are sent specifically to it.
I was thinking you could use/examine my code to enhance your filter.
If your filter registered as a Radio on startup and register it's own menu, it then could respond to up/down arrows only when they are actually sent to the radio, instead of always responding to them.
My repository and arduino code is in: https://github.com/binginsin/VW-TP-1.6-CANBUS-Radio-Sim
Unfortunately I didn't write up any information about the boards I used, but I remember it was a simple arduino that was being connected to a custom CANBUS board over SPI, so perhaps not too different from your code. Either way, what matters is the TP 1.6 protocol not which libraries are used.
If you check the Functions.ino, there is a method called AddMainMenu which registers with the MFD and adds a new section that can be swapped into with the menu button. DisplaySingleTrack writes some text on the screen, DecodeFrame takes in incoming CAN messages and then acts on them if they were sent to us. This includes displaying the text in the screen when the Radio menu is entered as well as responding to button up/down presses.
I'm not sure if you are still working on this project but I thought I'd share this.
I would love to be able to control my songs on RCD330 from the steering wheel without changing the screens on MFD. Displaying the track would be nice but would probably be quite difficult to decode that information coming from RCD330.