Hi,
After some reading in the forums here there is isn't much info on how CAN bus messages get into the unit.
My unit (Eonon GA5180F) comes with a GM Canbus decoder which works an decodes the ignition, lights, reverse into hardware signals i.e. all the normal inputs. But other data also makes it into the headunit e.g. steering wheel angle changes the reverse overlay and the doors opening/closing shows up on the display.
Would someone be able to point me to a more detailed description of how the can bus messages get decoded in the unit both hardware (does it go in via Key1 wire?) and software. Interestingly with all of the functions that do work my steering wheel controls don't - so I need to figure it out.
Thanks for any help!
Regards
Glenn
I am also interested in such a thing.
I wonder where the principle works show the climate, open doors....and similar messages that can be displayed on android car unit.
Something like this
FF to 0:55 min
https://www.youtube.com/watch?v=ttZVhiLqAEw
Hi,
In fact, there is a can-BUS decoder box, that is read.written through serial port on Android.
Nova8316 said:
Hi,
In fact, there is a can-BUS decoder box, that is read.written through serial port on Android.
Click to expand...
Click to collapse
Hi,
I recently bought an Erisin ES2507B unit for my car.
I installed it and it works perfectly except an annoying
Issue with the swc. In general it works, but if for example i want to switch between screens in the car's dashboard, using the swc, and if i run the radio or another app that can be controlled with the swc, it also changes the radio station or the cd track. So i change the screen in the dash and the radio station at the same time. Annoying isnt it?
So as a developer i decided to try and "fix" that issue, somehow. The unit came with an external canbus decoder which i installed.
I am trying to find out how the headunit reads/writes to this decoder box.
Is this box a serial to canbus converter?
Is it a canbus to canbus converter, ie changes the car protocol to the HU protocol?
Is it a canbus to analog converter that converts the canbus messages in analog voltage? I think that the KEY1 and KEY2 are voltage inputs? (Not connected in my HU).
So if i am correct and this is a serial to canbus converter, how can i read/write to it?
The carservice app is not what suits in my case.
The ideal thing would be an app that catches the correct canbus messages and triggers the correct actions in the HU and HU transmitting to car dashboard.
Can you provide some info on my questions please?
Thank you in advance
Can Bus decoding
Have a look at this guys work on CANBUS control in a mercedes.
honeysw.com/canproject.php
This mat give you a helping hand to get started or realise that it may be bigger than what you think.
Anthony
Aj240 said:
Have a look at this guys work on CANBUS control in a mercedes.
honeysw.com/canproject.php
This mat give you a helping hand to get started or realise that it may be bigger than what you think.
Anthony
Click to expand...
Click to collapse
Well compared to my everyday job, this is nothing. I have been analysing vehicle canbus protocols the last few years so this is not the hard part for me. The hard part is that i dont know where to start in the head unit. How does it handle the canbus? How can i set the baudrate, the filters, the 11bit or 29bit. There are no clues on that, or at least i havent found any yet. That is why i am asking for help.
My everyday job is the development of ecu tuning tools.
psychegr said:
Well compared to my everyday job, this is nothing. I have been analysing vehicle canbus protocols the last few years so this is not the hard part for me. The hard part is that i dont know where to start in the head unit. How does it handle the canbus? How can i set the baudrate, the filters, the 11bit or 29bit. There are no clues on that, or at least i havent found any yet. That is why i am asking for help.
My everyday job is the development of ecu tuning tools.
Click to expand...
Click to collapse
I can only give some hints. Looking at the lower part of the picture I've uploaded you will see TXD RXD. Which most likely
is the series bus going from the can-bus decoder to the head unit. In my loom for KLD there are two wires going
from the can-bus decoder to the HU. One green, one white, ground is also supplied. Looks like a RS-232-bus. They are
present in the big black main connector. You should be able to catch that stream if you have the can-bus decoder for your
car.
Don't look at the upper part because this is a non can-bus version. Normally in Hyundai/KIA it's pin 1-13 or 2-14
being Can H and Can L.
halloj said:
I can only give some hints. Looking at the lower part of the picture I've uploaded you will see TXD RXD. Which most likely
is the series bus going from the can-bus decoder to the head unit. In my loom for KLD there are two wires going
from the can-bus decoder to the HU. One green, one white, ground is also supplied. Looks like a RS-232-bus. They are
present in the big black main connector. You should be able to catch that stream if you have the can-bus decoder for your
car.
Don't look at the upper part because this is a non can-bus version. Normally in Hyundai/KIA it's pin 1-13 or 2-14
being Can H and Can L.
Click to expand...
Click to collapse
I am attaching a photo of the wiring diagram of my unit. You can clearly see that it says CANRX and CANRX. So i guess that this has a canbus tranceiver in the board and the external canbus decoder only transforms the vehicle canbus protocol to the HU canbus protocol. Or it is serial rx/tx and it transforms the canbus to serial.
First thing is to figure out what the CANRX and cantx signals really are and then how these are handled from the HU.
Thank you for your time.
Edit : I cant upload the photo.
saw this
http://m.eonon.com/Accessories/Kits-Harness/A0575.html
I open my can bus decoder (VW) and only have one canbus transceiver, the CANRX, CANTX from head unit connect directly to MCU (STM32F072C8T6) USART1 pins (PB6, PB7) on can bus decoder. I'm able to replicate can bus messages with arduino and MCP2515 can bus board, but I can't figure what protocol for serial comunication use the head unit yet.
As far as I saw there is a process running on the unit responsible for canbus
Sent from my H60-L02 using XDA-Developers mobile app
bcostea said:
As far as I saw there is a process running on the unit responsible for canbus
Sent from my H60-L02 using XDA-Developers mobile app
Click to expand...
Click to collapse
This is what I know about my KLD unit with mcu.img MTCB-KLD2-v2.77.
Note: my head unit (Pumpkin KD-C0235) is a "generic" version which supports resistive-ladder type steering wheel buttons. My unit as sold does NOT support CANbus. However the main board is the same board used on many other models and I believe the MTCB-KLD2-v2.77 image will support CANbus.
1) There is a standard RS232 serial port, 38.4 k baud which is present on the main black connector (pins 2 and 12?) on the back of the unit. If you connect a terminal to this you can see data packets go out the TXD line when you power up and power down the unit.
2) The basic format of a data packet is a start byte (often 0x2E, but other values are possible too) followed by a "command" byte, then a byte count "n" followed by a block of "n" bytes, and terminated with a checksum across the command and data bytes.
3) This data packet format is apparently very common. You can see it in the Android apks for mtc serial interface (even though the actual serial connection to Android does NOT use packets of this format). You can also see it in the STC tools for programming the mcu itself.
4) The mcu software can receive and process packets of this format. Depending on the packet's command and data bytes, the packet can change mcu variables directly, or it can send a command to the Android CPU.
5) The mcu software also supports a second, PWM-encoded serial interface. If enabled, it comes in on the same wire as the UART TXD signal. The basic format is a start sequence, followed by 32 bits where a "1" is detected as a "long" pulse and a "0" is a shorter pulse width. If the format of the PWM frame does not in any way meet the timing spec, the entire frame is ignored.
6) The mcu can also send similar 32 bit PWM blocks out another wire; I believe it is pin 5 of connector "E" on my unit. The format of these PWM blocks is essentially the same as what can come in on the UART TXD line.
GlennLogan said:
My unit (Eonon GA5180F) comes with a GM Canbus decoder which works an decodes the ignition, lights, reverse into hardware signals i.e. all the normal inputs. But other data also makes it into the headunit e.g. steering wheel angle changes the reverse overlay and the doors opening/closing shows up on the display.
Click to expand...
Click to collapse
Can you post some pics of the steering wheel angle features, specifically how it changes the reverse overlay?
I'm asking because my car (BMW e53 X5) also has a steering angle sensor) and I want to see if it's possible to show steering angle overlay on the backup camera on my HU (which is an XTRONS unit for the BMW models - one of the newer oct-core ones).
Mazda 6
I have a Mazda 6 2gen and a headunit with Canbus input. One wire CANRX and one CANTX. I’m wondering if I can connect directly can-/+ from car to those wires?
The unit came with the decoder box for Mazda 6 but as far as I see there goes only reverse and brake wires to the head unit from the decoder. Steering wheel controls does not work, even if you try to connect K1 K2 wires from decoder to key1/2 or canrx/tx in the unit.
From the factory setting of the unit you can choose the Canbus protocol so is the decoder basically useless?
There are tons of topics about steering wheel controls and it’s not what I’m looking for. I want to see those climate and door opening infos on the screen.
How have you guys wired the Canbus to the unit?
Kheissi said:
I have a Mazda 6 2gen and a headunit with Canbus input. One wire CANRX and one CANTX. I’m wondering if I can connect directly can-/+ from car to those wires?
The unit came with the decoder box for Mazda 6 but as far as I see there goes only reverse and brake wires to the head unit from the decoder. Steering wheel controls does not work, even if you try to connect K1 K2 wires from decoder to key1/2 or canrx/tx in the unit.
From the factory setting of the unit you can choose the Canbus protocol so is the decoder basically useless?
There are tons of topics about steering wheel controls and it’s not what I’m looking for. I want to see those climate and door opening infos on the screen.
How have you guys wired the Canbus to the unit?
Click to expand...
Click to collapse
Sorry to bump this old thread. This is exactly what I want to know!
Why is there a list to chose protocols in HU settings when they give an external box which is said to be specific for a car maker?
I just bought the new PX6 unit for my VW T5 (2009 with CAN H & L wires in the harness).
The can box decoder (model: "Raise") doesn't interpret any CAN message correctly, not even the ignition on/off and I just don't know which protocol to chose in the HU settings or if that would make a difference at all...
Please help ?
cflaviu said:
Sorry to bump this old thread. This is exactly what I want to know!
Why is there a list to chose protocols in HU settings when they give an external box which is said to be specific for a car maker?
I just bought the new PX6 unit for my VW T5 (2009 with CAN H & L wires in the harness).
The can box decoder (model: "Raise") doesn't interpret any CAN message correctly, not even the ignition on/off and I just don't know which protocol to chose in the HU settings or if that would make a difference at all...
Please help
Click to expand...
Click to collapse
What did the reseller suggest the unit be set to?
I remember that I tried the same on a ES2709ge some years ago. I used list open files (lsof) to find out the port that the canbus app uses. Was something under /dev like you'd normally expect.
Second thing was to read from that port using cat or cu. When you kill the canbus app you immediately need to open the port yourself, otherwise the canbus app will reopen the port as it is restarted automatically. No need to know the serial parameters (baud, stop, ...) when yoir reader just reuse the previous settings. But as we don't know the serial communication it is hard to use it in a custom way.
I'd like to forward Google maps notifications to my car's KI menu, but right now I'd say it is easier to connect a second canbus controller (hardware) to SPI, I2C or another UART, instead of understanding and rewriting the default canbus app communication.
cflaviu said:
Sorry to bump this old thread. This is exactly what I want to know!
Why is there a list to chose protocols in HU settings when they give an external box which is said to be specific for a car maker?
I just bought the new PX6 unit for my VW T5 (2009 with CAN H & L wires in the harness).
The can box decoder (model: "Raise") doesn't interpret any CAN message correctly, not even the ignition on/off and I just don't know which protocol to chose in the HU settings or if that would make a difference at all...
Please help
Click to expand...
Click to collapse
My Uniway / Asottu PX6 unit came with a red CANBUS/SPDIF box and I was curious how to know which protocol to choose - then I noticed that the plastic has the brand name molded into it. In my case, SimpleSoft, which was an option in the CAN settings. Maybe just look on the box for a brand?
So did you find out something in the end?
Chinese radio has TXD and RXD on the little white 8 pins connector on the back. These wires go to CAN box, that translates messages between RS232 TTL and CANBUS sides. Key1 and key2 use resistors with a different value for each button. Different radios require different resistor values and that is because Android radios have a learning dialog.
[PX5] Dasaita Head Unit or Peugeot 208 - 2014 - Radio & Steering Wheel not working
Hello all, I have an issue with my Android Head Unity for my Peugeot 208 from 2014. I have installed and attached everything accordingly and everything is (almost) working perfectly. Except for two issues...
Steering Wheel Study not working
None of my Steering Wheel keys are working currently. I have checked if the correct Canbus-option is selected in the settings (according to the seller it's the correct one), but I still have some cables hanging loose from the back of the head unity (KEY1 & KEY2), do I need to plug these into the canbus decoder, or just keep them hanging loose?
Radio FM not working great...
I got the radio working, but sadly, the connection/signal is static/bad. I have tried connected the antenna/radio cable to the white and/or blue connecters that fit from my car, but both should be connected I guess... But I only have one cable that fits it from my android head unit.
Hopefully someone can help me out... Since the guide from the seller is not helping at all...
berserkrico said:
Hello all, I have an issue with my Android Head Unity for my Peugeot 208 from 2014. I have installed and attached everything accordingly and everything is (almost) working perfectly. Except for two issues...
Steering Wheel Study not working
None of my Steering Wheel keys are working currently. I have checked if the correct Canbus-option is selected in the settings (according to the seller it's the correct one), but I still have some cables hanging loose from the back of the head unity (KEY1 & KEY2), do I need to plug these into the canbus decoder, or just keep them hanging loose?
Radio FM not working great...
I got the radio working, but sadly, the connection/signal is static/bad. I have tried connected the antenna/radio cable to the white and/or blue connecters that fit from my car, but both should be connected I guess... But I only have one cable that fits it from my android head unit.
Hopefully someone can help me out... Since the guide from the seller is not helping at all...
Click to expand...
Click to collapse
Hi! I have a Peugeot wir PX5 too. From what i know the canbus is the only thing you need to connect. So when the canbus is connected, you don't need to connect the KEY1 and KEY2.
The FM is working great by my head unit. Maybe you need to go to the factory settings and change the settings for canbus and for fm ?
Musti222 said:
Hi! I have a Peugeot wir PX5 too. From what i know the canbus is the only thing you need to connect. So when the canbus is connected, you don't need to connect the KEY1 and KEY2.
The FM is working great by my head unit. Maybe you need to go to the factory settings and change the settings for canbus and for fm ?
Click to expand...
Click to collapse
Thanks for the reply.. Sadly the seller is only responding with: "Connect key1 and key2 to your car wiring"... But I can't even find which wires are supposedly are the keys on my steering wheel, hehe. So I'm stuck! Thankfully, they're sending a replacement canbus, hopefully that one will do the trick.
Dear all
I hope you can help me! as I cannot get anymore support from the hardware supplier -> his on-line shop has disappeared.....
I recently bought a PX5 HU with Andoird 10 but I am experiencing some problems with my Peugeot 308 "Park Assist" Can Bus messages erroneously and erratically popping up on the screen of my Android HU (see video)
I have managed to enter into the factory setting (code126) to set-up the canbus such that I can control the HU with my steering wheel controls, bat as soon as I select a working canbus protocol working with my car, I get also these nasty and annoying park assist popping up messages ..
This is making my HU not very pratical to use., as these popping up messages are pretty frequent
I have no clue how to remove these messages .. shall it be with an additional software on the HU, or Hardware, or with the car manufacturer, or the canbus decoder that shall be change to a one more specific to my car (Peugeot 308 from 2010)
I have tried to also update my MCU file... but this didn't help
Any help /recommendations would be very much appreciated
Many thanks in advance
Is it an MTCD device, post MCU version
Hi Marchnz
Thank you for your message
It is a MTCE MCU
I had the version [email protected]_V3.57_1 when I bought my PX5 and just upgraded it to the latest one I could find on this forum, i.e. the MTCE_MX_V3.71 5 with car logo ! ;p
But this has not helped me and I still have the same strange problem with the brief and intermittent canbus park assist messages
I am just wondering where I should start looking for a solution ..
Shall it be the CanBus decoder to be changed... modify or upgrade the canbus app in my HU, or the car setting app ???
Or maybe can I attempt to reprogram the steering wheel controls ?
How can I stop these fake park assist canbus messages to reach and be decoded by my PX5 head unit???
any software to be recommended?
Thank you for any help / advice you could give !
Gari126 said:
Hi Marchnz
Thank you for your message
It is a MTCE MCU
I had the version [email protected]_V3.57_1 when I bought my PX5 and just upgraded it to the latest one I could find on this forum, i.e. the MTCE_MX_V3.71 5 with car logo ! ;p
But this has not helped me and I still have the same strange problem with the brief and intermittent canbus park assist messages
I am just wondering where I should start looking for a solution ..
Shall it be the CanBus decoder to be changed... modify or upgrade the canbus app in my HU, or the car setting app ???
Or maybe can I attempt to reprogram the steering wheel controls ?
How can I stop these fake park assist canbus messages to reach and be decoded by my PX5 head unit???
any software to be recommended?
Thank you for any help / advice you could give !
Click to expand...
Click to collapse
Sounds like canbus decoder, the role of the canbus decoder is to listen for vehicle specific canbus messages and signal the headunit.
Hi!
I have a wondefoo MTCE unit with MCU HXD v3.71_1, and i have doubts about rom installation. Its possible install other rom from other manufacturer, for example dasaita? How i can know what roms are compatible? Can i change MCU for other?
The second doubt is about can bus decoder. I have a can bus decoder for the car (Citroen Jumpy 2013), but the unit in factory settings has few optios for cars in canbus selection, and it doesn't work. It´s possible to increase or modify canbus cars selection?
Thanks a lot.
If MTCE/H-HXD you can