XDA2 coder wanted (ref: BMW Steering Wheel Buttons) - MDA II, XDA II, 2060 General

Hi all,
I'm working on a BMW Steering Wheel button interface for my XDA2 in its car kit (E-Leads). I am a hardware kind of guy and have built an interface that will read the codes that the car generates when the buttons are pressed. I can then generate my own serial codes over rs-232 to send to the XDA2 when in its car kit cradle.
I'm after some help from someone who can / has experiance / is willing to give it a bash... and write a new phone dialler app that not only has the usual buttons on the screen, quick dial list etc but will also listen to the com port and when I send in serial codes from the steering wheel buttons into it, it can then answer a call, hangup, move up and down the speed dial list etc.
I'm only doing this as a personal project but if said programmer wants we could try and sell the package as one hardware + software ???
Like I say I'm not a programmer so I'll leave that up the an expert...
So anyone up for the challenge ?? ? ? ? ?
Cheers
Kev/.
P.S. If the suscellful applicant (!) happens to own a BMW with I-Bus (circa 1997 onwards) then I'm sure I can chuck one in the post to you... :wink:

Any luck on this so far?

Hi,
I've not longer got my XDA2 and now have a TomTom Go 500. But I have done the same thing with the BMW Steering Wheel buttons to operate the Bluetooth phone features on the TomTom!
Cheers
Kev/.

Related

Handsfree Car mode Question

Hi we are in the middle of building a car kit that will be made avail in kit form or prebuilt very soon but does anyone know if you can or can you simulate the answer and hang-up function through the connecter on the bottom or can a small program be made to monitor the serial port on the bottom so to execute these functions. Alo when the unit is in car mode does bluetooth still funtion? Any one interested in helping please respond
Thank you
Robert

Fiat Bravo & Canbus messages

Hello!
I´ve recently got a Witson HU (MTCD 1.97a) with the Canbus adapter for my Fiat Bravo (2013).
The steering wheel controls function ok (vol up, vol down,...) but i´ve seen another HU displaying "door opened" or other msgs (displayed in center car display), overwritten on HU display that look like the ones that appear when you change volume...
I tried various canbus settings (i found 2 different for the Fiat Bravo) but neither of them works as aspected. One is ok for the steering wheel controls and the other does nothing. But again... no extra msgs on screen.
Is it ok like this? Maybe the canbus decoder only works for those msgs, and ignore the rest of the canbus data...
any ideas would be appreciated!! thanks in advance!
greetings from Argentina!
_javi_ said:
Hello!
I´ve recently got a Witson HU (MTCD 1.97a) with the Canbus adapter for my Fiat Bravo (2013).
The steering wheel controls function ok (vol up, vol down,...) but i´ve seen another HU displaying "door opened" or other msgs (displayed in center car display), overwritten on HU display that look like the ones that appear when you change volume...
I tried various canbus settings (i found 2 different for the Fiat Bravo) but neither of them works as aspected. One is ok for the steering wheel controls and the other does nothing. But again... no extra msgs on screen.
Is it ok like this? Maybe the canbus decoder only works for those msgs, and ignore the rest of the canbus data...
any ideas would be appreciated!! thanks in advance!
greetings from Argentina!
Click to expand...
Click to collapse
That feature doesnt necessarily work on all cars, look for an app like "Car settings" or "Car service" in the apps when you have it set on the 2 Fiat Bravo CAN Bus setting, if you cant find it anywhere, go through all apps, if you still cant find anything, then that feature is not supported. You could also try any other Fiat CAN Bus setting, or maybe Lancias, Alfa or even some Chrysler vehicles theyre all made by FCA so there is a possibility it may work, probably not but worth trying.
You could also try the menu on the car, I know on the Bravo you can control some stuff on the factory nav unit, if you didnt ahve nav in the car it may be a case of turning the feature on via the car before it will work.
After typos1 tip, i set the canbus mode to ALFA ROMEO. The display shows an overhead view of a car, with the doors or boot being opened. Great!!! BUT... i lost steering wheel controls. Bad!!
So i´ll wait for an OS update to fix this thing.
The calibration screen for steering wheel controls doesnt show any option, in any case.
thanks again!
_javi_ said:
After typos1 tip, i set the canbus mode to ALFA ROMEO. The display shows an overhead view of a car, with the doors or boot being opened. Great!!! BUT... i lost steering wheel controls. Bad!!
So i´ll wait for an OS update to fix this thing.
The calibration screen for steering wheel controls doesnt show any option, in any case.
thanks again!
Click to expand...
Click to collapse
Ah, thats annoying.
The OS has nothing to do with it, its the MCU that deals with this sort of stuff, so an OS update for wont help, an MCU update may do IF they add full support for the Bravo and theres no guarantee that they will.
Some cars have CAN Bus but use resistive SWC (my Alfa is like this, but some Alfas do have CAN Bus SWC) which could explain it.
There may be a way round it if you buy an SWC adapter for your car. These headunits supposedly use the same SWC protocol as Pioneer, so if you got a Pioneer/Fiat Bravo SWC adapter, disconnected the 2 SWC wires from your CAN Bus box and attached them to the SWC adapter it would convert the CAN Bus SWC signal from your car into resistive so the stereo can understand them. AFAIK this has not been done before but it should work.
EDIT : didnt spot the bit about the SWC calibration not showing up, damn, I guess you could extract the SWC app using the app "APKextractor" and see if it installs when the stereo is in Alfa Romeo CAN Bus mode.
typos1 said:
EDIT : didnt spot the bit about the SWC calibration not showing up, damn, I guess you could extract the SWC app using the app "APKextractor" and see if it installs when the stereo is in Alfa Romeo CAN Bus mode.
Click to expand...
Click to collapse
browsing other threads i saw there are users with the same issue. SWC app shows just a blank screen (with save and reset buttons on top).
I´m still studying this (among other things... the mtcd HU is nice.. but it looks like it needs polishing)
hi, is your witson still working?

Steering wheel control problem between Autoradio 8227L and Toyota Yaris II series

Hi everyone, I hope to be writing in the appropriate section.
I bought an 8227L android car radio:
- http://imageupper.com/s12/1/6/M1568803747176376_8.jpg
- http://imageupper.com/s12/1/6/M1568803747176376_6.jpg
And I have a Toyota Yaris II series:
- http://imageupper.com/s12/1/6/M1568803747176376_7.jpg
This morning I successfully mounted the 8227L stereo in my car
- http://imageupper.com/s12/1/6/M1568803747176376_5.jpg
and everything works fine except the steering wheel controls.
The old original car radio (where steering wheel controls worked) was so connected:
- http://imageupper.com/s12/1/6/M1568803747176376_4.jpg
And when mounting the new autoradio 8227L, I just inserted the cables in the appropriate adapters.
The fact is that as soon as I enter the steering wheel configuration menu, I press START and select a command to associate with a physical steering wheel button, I get an error:
- http://imageupper.com/s12/1/6/M1568803747176376_3.jpg
even trying to reboot:
- http://imageupper.com/s12/1/6/M1568803747176376_2.jpg
- http://imageupper.com/s12/1/6/M1568803747176376_1.jpg
I still get the same error.
Can u help me in some way? Thank u all in advance!
As a first step, I would put a voltmeter onto the sense wires while pressing each of steering wheel buttons- to confirm that different voltages are available for the head unit to learn
This wil prove or otherwise that the wiring is in order.
Hi Pxdev,
First of all thank you very much for your attention.
At the moment I do not have the possibility to use a voltmeter, however I am sure that the steering wheel controls work (tested up to a few hours before the installation of the new radio) and also the installation of the new radio has simply consisted in disconnecting the 3 connectors ( http://imageupper.com/s12/1/6/M1568803747176376_4.jpg the blue and the two whites) visible in the picture and insert them in the appropriate adapters of the new car radio and insert a single connector in the special housing and everything worked, except, of course, for the steering wheel controls. Is there anything else I could try to do? Many thanks in advance.
Hi,
Have you bought it with the Canbus and cables for your car? I have the exact same unit and the steering wheel works well.
I get the same error , found a video saying ground one wire to radio ground and any one key wire ground radio but doesn't work. If anybody has any solution or troubleshoot guide please let me know .
Checked voltage , voltage from headunit around 3.5v , checked resisitance from each key shows different value for each key. Now what to do?
Did you find a solution to your problem as I'm having the same problem with mine. Same head unit with a Raise can bus installed. The steering wheel controls worked fine when I first bought the car but I decided to delete some of the unused apps and since then the steering wheel controls don't work. I can't even remember the name of the app I deleted. Any help would be grateful.

Strange problems with SWC

Hello!
I have Nedehe TS18 head unit for my Fiat Bravo. I can use basic buttons from steering wheel, for example MUTE, VOL UP, VOL DOWN but I can't change it in SWC app. For example I click "home" function and when I'm trying to assign some button from steering wheel nothing happens. What is important "door open" alert is working. Anyone had problem like that?
I have Simplesoft RP5-FT-001 can bus adapter.
You can not change the buttons as they are provided by CAN. That is the reason that nothing can be changed.
rigattoni said:
You can not change the buttons as they are provided by CAN. That is the reason that nothing can be changed.
Click to expand...
Click to collapse
But if buttons provide different codes why I can't change interpretation of these codes on my device? I want for example that "ARROW UP" button from my wheel do "hang up" function in my device. Seller told I can change functions using SWC app so here is my question :c
May be there is some setting in the settings menu to switch/change buttons, but normally you only can change buttons if they are resistant ones, connected to Key1 and Key2 lines in the radio cable tree.
Unfortunately rigattoni tells the truth.
Sanrian said:
Hello!
I have Nedehe TS18 head unit for my Fiat Bravo. I can use basic buttons from steering wheel, for example MUTE, VOL UP, VOL DOWN but I can't change it in SWC app. For example I click "home" function and when I'm trying to assign some button from steering wheel nothing happens. What is important "door open" alert is working. Anyone had problem like that?
I have Simplesoft RP5-FT-001 can bus adapter.
Click to expand...
Click to collapse
Cause of you connect your head unit with car through the Can bus adapter then you cannot change function of those buttons.
Without Can bus box, you can customize those button as you want.
quangtiens said:
Cause of you connect your head unit with car through the Can bus adapter then you cannot change function of those buttons.
Without Can bus box, you can customize those button as you want.
Click to expand...
Click to collapse
Sorry, but if the buttons are CANbus driven, you are not able to change the function without CANbox, you are even not able to use them.
You only can change the buttons if they are resistant related.
The CANbox does not provide these resistant buttons and disconnecting the CANbox does not influence the resistant buttons.
But it may be possible to use one button for AppSwitcher
AppSwitcher - smart SWC launcher (for Junsun, Xtrons and similar devices) incl. autostart
AppSwitcher SWC (Steering Wheel Control) app launcher Stay focused on the street and don't touch the head units display to switch between apps. Support the development of this free app via ko-fi.com/appswitcher Please note: This app is...
forum.xda-developers.com
Currently it does not work on devices with SWC controlled by canbus because I don't have canbus. That means (according to first post) I need support to check if it's possible. Until now, no one cared enough about that functionality to support me.
TorstenH said:
But it may be possible to use one button for AppSwitcher
AppSwitcher - smart SWC launcher (for Junsun, Xtrons and similar devices) incl. autostart
AppSwitcher SWC (Steering Wheel Control) app launcher Stay focused on the street and don't touch the head units display to switch between apps. Support the development of this free app via ko-fi.com/appswitcher Please note: This app is...
forum.xda-developers.com
Currently it does not work on devices with SWC controlled by canbus because I don't have canbus. That means (according to first post) I need support to check if it's possible. Until now, no one cared enough about that functionality to support me.
Click to expand...
Click to collapse
That is all possible even to reconfigure all buttons, but there is a problem... You need that:
You need to have a CAN-sniffer to find the CAN signal which is used for each button.
You need to use some sort of micro computer (Arduino, Raspi) and the hard will to do what you want.
You need to find the CAN message which you want to switch.
You need to be able to develop an app which receives the message and translate this to the message you want to get.... like switching the app.
A lot of time and you need to be frustration tolerant.
May be you should have a look at this page: https://www.instructables.com/CAN-Bus-Sniffing-and-Broadcasting-with-Arduino/ to give you some background what it means to work with CAN related things.
There are also a lot of good videos for CAN sniffing.
I got all these things, but I am still not willing to invest the time just to get more information out of the CAN.
My SWC are working on resistance and it works as I want to have it.
rigattoni said:
That is all possible even to reconfigure all buttons, but there is a problem... You need that:
You need to have a CAN-sniffer to find the CAN signal which is used for each button.
You need to use some sort of micro computer (Arduino, Raspi) and the hard will to do what you want.
You need to find the CAN message which you want to switch.
You need to be able to develop an app which receives the message and translate this to the message you want to get.... like switching the app.
A lot of time and you need to be frustration tolerant.
May be you should have a look at this page: https://www.instructables.com/CAN-Bus-Sniffing-and-Broadcasting-with-Arduino/ to give you some background what it means to work with CAN related things.
There are also a lot of good videos for CAN sniffing.
I got all these things, but I am still not willing to invest the time just to get more information out of the CAN.
My SWC are working on resistance and it works as I want to have it.
Click to expand...
Click to collapse
Another approach could be to block an Android activity (temporarily) and run another app instead. It may be easy if a SWC button starts the set navigation app in its default configuration.
My SWC is working on resistance basis, too. So I need no support and no time from you.
Any my plan is not to analyse CAN protocol or other things on this level of complexity. And to be honest my answer was not addressed to you because you already have a working configuration and your are not the starter of this thread.
TorstenH said:
Another approach could be to block an Android activity (temporarily) and run another app instead. It may be easy if a SWC button starts the set navigation app in its default configuration.
My SWC is working on resistance basis, too. So I need no support and no time from you.
Any my plan is not to analyse CAN protocol or other things on this level of complexity. And to be honest my answer was not addressed to you because you already have a working configuration and your are not the starter of this thread.
Click to expand...
Click to collapse
Sorry, but the ticket creator seems to have issues with CAN-related SWC.
So That has nothing to do with your app. I know your app and I am following this thread.
Don´t get me wrong... I really appreciate that you came up with this app, and I would like to see that more people get aware of it and use it.
May be the TC can help you in getting this app also working for CAN SWC.
It looks like we have some real expertise here. I have curiousity (but no CANBUS, only OBD1 because it's a 1995).
Do CAN boxes (like Simplesoft RP5-FT-001) just do CAN level/bitstuffing/filtering and spit out simplified messages or do they do any mapping?
Since they can do "Door open" as well as "Volume up", the serial input is clearly probably not just a /dev/input stream (although that would be possible too).
Is VolUp done by key injection or some API?
I presume that what goes over the serial link (between CAN box and HU) is standardized?
Does the HU ever transmit?
My own Bluetooth SWC (which steals power from the horn) uses an app (service) that sends Intents to switch apps and injects keys for volume/brightness/power.
Renate said:
It looks like we have some real expertise here. I have curiousity (but no CANBUS, only OBD1 because it's a 1995).
Do CAN boxes (like Simplesoft RP5-FT-001) just do CAN level/bitstuffing/filtering and spit out simplified messages or do they do any mapping?
Since they can do "Door open" as well as "Volume up", the serial input is clearly probably not just a /dev/input stream (although that would be possible too).
Is VolUp done by key injection or some API?
I presume that what goes over the serial link (between CAN box and HU) is standardized?
Does the HU ever transmit?
My own Bluetooth SWC (which steals power from the horn) uses an app (service) that sends Intents to switch apps and injects keys for volume/brightness/power.
Click to expand...
Click to collapse
Hi Renate,
not that easy to answer...
Each single car model has it´s own CAN signal setup.
If you own a well known make like VW, Ford, Mercedes, BMW, most probably it works in both directions as long as the CAN provides these data. There is at least nothing standardized, Even a switch between a Golf 6 and Golf 7 shows up with a different setup and own possibilities.
The CAN box provided from some Chinese seller don´t care much about all different setups. They just provide standard features like volume, clamp 30, RVC and reverse gear, Fast forward, fast backwards, next title, Hang up phone, so the standards, nothing else. May be the CAN signal that the front lights are turned on to switch the unit into some sort of night mode.
Even the output of the CAN box is not standardized. For this reason you need to set the used CAN box in the system settings of your head unit and chose the right car to be able to get the CAN SWC working. Means, these CAN boxes only provide intents which are hardcoded in there. Not that comfortable and not that easy. You really need to analyze the data output of each single CAN box to see what they get, what they transfer and what is implemented in the firmware.
There are some units with a special car form factor which have the CAN integrated in the head unit. These are mostly able to read and send all available CAN signals which are implemented by the car manufacturer, incl. ACC, doors, car settings like alarm, Coming Home light... you name it.
Well, addressing the OP's problem: You definitely can remap all the SWC CAN buttons by re-engineering the app (service) that handles the serial input.
Yes, that is probably different code for each HU. If someone wants to post an .apk I'll take a look.
Like every other Android usage I'm sure that there are major differences in people's needs, usage.
I don't even use the SWC for audio. I use them to switch between mapping apps (Google, camping, National Forest maps), GPS app (to see altitude), accelerometer app (to find a level place) and OBD1 app. Also brightness +/-, volume +/-. I especially like the sleep button to turn off the display.
Does the "Coming Home light" alert the mother spaceship?
Renate said:
Does the "Coming Home light" alert the mother spaceship?
Click to expand...
Click to collapse
No... that keeps the lights at the car on for around 30 sec, to prevent the driver from walking through the darkness. Same procedure for "Leaving Home". You press the open button on your remote and the car switches the lights on. Modern stuff, but available in a lot of cars now.
Renate said:
Well, addressing the OP's problem: You definitely can remap all the SWC CAN buttons by re-engineering the app (service) that handles the serial input.
Yes, that is probably different code for each HU. If someone wants to post an .apk I'll take a look.
Click to expand...
Click to collapse
Appreciate your offer to have a look at the service.

Help Needed with CanBus decoding/Key1 Button Mapping

Hello,
I am new to this and read alot, but still i hope i don´t do this wrong, please forgive me if I do.
- I have a Mustang 2010 Base model (no Buttons on Steering Wheel)
- I have this Android Head Unit: https://www.zwnav.net/products/tesl...4-gps-navigation-audio-radio-stereo-head-unit
- I bought these Physical buttons and connected them to "Key1" Ground and ACC: https://www.joyingauto.eu/joying-ne...oller-universal-remote-for-android-radio.html
My Question: I don´t get them to work AT ALL. No i saw something that might be the problem:
"The universal Steering wheel control remote only compatible with the universal head unit, it cannot work with the special radio that comes with the canbus adapter."
This might be the problem? As my Unit has a CAN-Bus Decoder for Ford. Is there any way you can think of to make these Buttons work? Any help would be great!
Wishes,
Maria
some head units won't use key 1/key 2 if canbus is present, I'd message seller for advice and research px6 head units as someone may have made a mod to allow it.
ALso, if you have multimeter, tests the resistance across key1 and gnd when you press a steering wheel button it should change on button press, if not, might just be dead battery (or if the battery has an isolator tab)
​
Thanks for the answer! The Battery is ok. The chineese seller is not answering at all (sadly).
What do you mean with: "nd research px6 head units as someone may have made a mod to allow it."
Is there a special subforum for PX6 units? I am new to this maybe i did oversee that.
Thanks in advance!

Categories

Resources