CanBox versions

Search This thread

Csabo80

Member
Mar 23, 2023
8
1
I had to replace the canbus box in my head unit because it wasn't working properly. The previous software is also used for the new canbus box. In such a case, should the first canbus software be deleted? If so, how and where can I find it? The two canbus boxes are not from the same manufacturer, so they are different.
The car's EV menu was not visible with the canbus set supplied with the aftermarket head unit. That's why I bought another canbus set, but I can't see the EV menu either. However, the second canbus set also runs the same can software as the first. It is fine?
My car is Hyundai ioniq electric. Out of curiosity, I set a completely different brand of car in the canbus setting, then the EV menu was visible. Why is that?
 
Last edited:

MegaBytesMe

Member
Jun 21, 2018
45
3
Thank you so much for your help. You were the only one to try to help me. Thank you very much

I have got all buttons swc working and doors and temperature show on the screen in my hu isudar

Solution: new canbus and new pinout
Hi, sorry for reviving this thread, however I have bought a very similar head unit for my Alfa Romeo 159 (PX6 with the DVD drive and the same Alfa fascia as yours).

I was wondering if your one worked without the key in the ignition? I like to use the radio without having the key in (as having it in the MAR position drains the battery much faster) however the unit turns off as soon as the key is removed or the engine turns off, unlike my OEM radio (which could be turned on or off at any time regardless if the key was present).

I think the canbox adaptor controls this, or the software side of the headunit does. I have the bagoo alfa-bg-01 adaptor which otherwise fully works with my steering wheel buttons.

Any ideas on how I could get the radio to work with the car off or without the key in the ignition? Thanks!
 

Anton TNT

Senior Member
Sep 24, 2020
1,099
185
Croatia
Android Automotive OS
Hi, sorry for reviving this thread, however I have bought a very similar head unit for my Alfa Romeo 159 (PX6 with the DVD drive and the same Alfa fascia as yours).

I was wondering if your one worked without the key in the ignition? I like to use the radio without having the key in (as having it in the MAR position drains the battery much faster) however the unit turns off as soon as the key is removed or the engine turns off, unlike my OEM radio (which could be turned on or off at any time regardless if the key was present).

I think the canbox adaptor controls this, or the software side of the headunit does. I have the bagoo alfa-bg-01 adaptor which otherwise fully works with my steering wheel buttons.

Any ideas on how I could get the radio to work with the car off or without the key in the ignition? Thanks!
Impossible, as key ACC turns unit and starts canbus box which operates with car.

It qould be possible if red / yellow wires are to be swapped, meaning if you swap yellow wire which is memory or 12V constant battery wire with red one ACC key ignition it could activate but will be and stay activated even if car engine is off, possibly will drain its battery and battery will go dead.
 

MegaBytesMe

Member
Jun 21, 2018
45
3
Impossible, as key ACC turns unit and starts canbus box which operates with car.

It qould be possible if red / yellow wires are to be swapped, meaning if you swap yellow wire which is memory or 12V constant battery wire with red one ACC key ignition it could activate but will be and stay activated even if car engine is off, possibly will drain its battery and battery will go dead.
Interesting, thanks. How does the OEM unit do it then? As it seemingly always has power (regardless of car power state) however turns off automatically when the doors are opened or when the key is removed AFTER the ignition turns off (remains on otherwise). I know the steering wheel controls did not work unless the key was inserted or the engine was on (after being shut off)...

Would be great to know how the aftermarket headunits work regarding turning on and off. Is it all controlled by the canbox? Or is it controlled by the software/hardware on the headunit? Is it as basic as a 12v input acting as a switch? I'd imagine it wouldn't be too hard for me to make some form of relay circuit/adaptor which could make it function as I desire while letting itself turn off at the right time.

Also, I know it has a sleep mode function as it lasts about an hour until it needs to do a full bootup (which takes a minute annoyingly each time). In theory it must have some power coming in to keep it in sleep mode? And if it does then surely it must have some ability to turn on?

Thanks
 

Anton TNT

Senior Member
Sep 24, 2020
1,099
185
Croatia
Android Automotive OS
Interesting, thanks. How does the OEM unit do it then? As it seemingly always has power (regardless of car power state) however turns off automatically when the doors are opened or when the key is removed AFTER the ignition turns off (remains on otherwise). I know the steering wheel controls did not work unless the key was inserted or the engine was on (after being shut off)...

Would be great to know how the aftermarket headunits work regarding turning on and off. Is it all controlled by the canbox? Or is it controlled by the software/hardware on the headunit? Is it as basic as a 12v input acting as a switch? I'd imagine it wouldn't be too hard for me to make some form of relay circuit/adaptor which could make it function as I desire while letting itself turn off at the right time.

Also, I know it has a sleep mode function as it lasts about an hour until it needs to do a full bootup (which takes a minute annoyingly each time). In theory it must have some power coming in to keep it in sleep mode? And if it does then surely it must have some ability to turn on?

Thanks
All I know of these aftermarket units that car ECU and canbus (dependent of car model) controls unit behaviour.
Canbus settings are to be correct with car model in factory settings in order to function correctly. As far as car settings and unit timeout, this is only to keep it in memory and run faster every time you stop like on five minutes or so and then go on again.
Canbus boxes and its software can't be edited or changed. They are fabricly set up for each car model.
One thing you can do only is to go to mechanic and perform diagnostic of car, put it on computer and then edit some car options like radio switching on /off etc.
For example my car Peugeot 308 has a battery life savior, it is called safe mode or something like that, thing is if radio works for like 15 min that system deactivcates radio and cuts electricity to it so basically goes offline and saves battery for startup of car. Unit can drain battery faster if non-stop online, remember that.
 

laser01

Member
Jul 21, 2023
6
4
Hello guys, i have a big problem with my radio 2 din on my alfa 159....my canbus decoder Bagoo Alfa-bg-01 has emitted smoke due to a court-circuit and it's not anymore working, the car radio is working but i lost all my steering wheel comand, reverse camera, door open.

how can i buy this decoder? it's really hard to find the same model online.

i have the v101
 
Last edited:

Anton TNT

Senior Member
Sep 24, 2020
1,099
185
Croatia
Android Automotive OS
Hello guys, i have a big problem with my radio 2 din on my alfa 159....my canbus decoder Bagoo Alfa-bg-01 has emitted smoke due to a court-circuit and it's not anymore working, the car radio is working but i lost all my steering wheel comand, reverse camera, door open.

how can i buy this decoder? it's really hard to find the same model online.

i have the v101
Hi, buy a new canbus box, this one is fried and cannot be saved. You can ask your seller to provide you with new one or buy it from ali express on your own.
 

laser01

Member
Jul 21, 2023
6
4
my seller unfortunately is not selling this canbus anymore also is not selling either the radio it self.....did someone know how can i buy? searched on aliexpress but the same model is not available....the other canbus work well?
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,605
7
3,828
gitlab.com
yes, but you need to find proper replacement. share some pics and get macro shoots of pcb inside.
 

Anton TNT

Senior Member
Sep 24, 2020
1,099
185
Croatia
Android Automotive OS
my seller unfortunately is not selling this canbus anymore also is not selling either the radio it self.....did someone know how can i buy? searched on aliexpress but the same model is not available....the other canbus work well?
take image of both sides of your original canbus box and post here, we will find suitable canbus. name model of canbus also (go to info in settings and read canbus info there)
 

laser01

Member
Jul 21, 2023
6
4
Here the photos
 

Attachments

  • IMG_20230724_102718.jpg
    IMG_20230724_102718.jpg
    4 MB · Views: 28
  • IMG_20230724_102731.jpg
    IMG_20230724_102731.jpg
    3.4 MB · Views: 31
  • IMG_20230724_102759_1.jpg
    IMG_20230724_102759_1.jpg
    3.1 MB · Views: 30
  • IMG_20230724_102810_1.jpg
    IMG_20230724_102810_1.jpg
    3.3 MB · Views: 43
  • Like
Reactions: alecxs

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,605
7
3,828
gitlab.com
Don't you have macro shoot on your camera app? I can barely read MCP2515 the picture is worse

IMG_20230724_111333.jpg
 

Anton TNT

Senior Member
Sep 24, 2020
1,099
185
Croatia
Android Automotive OS
According to the software version on board , similar device is this Chinese IDOING on Ali Express, but you have to contact this store / seller of this canbus device and ask him correct model for your car model (like M. BENZ C200 year xxxx)
LINK: https://es.aliexpress.com/w/wholesa...idoing+canbus&spm=a2g0o.productlist.1000002.0

Also , if your modelof car is Mercedes Benz C200 or something else find your canbus box also on Ebay , type in your car model and canbus box and search for best fit (must be for your car model!).
 
Last edited:
  • Like
Reactions: alecxs

laser01

Member
Jul 21, 2023
6
4
Nope it's an Alfa Romeo 159....in fact I was surprise when I read "benzg"

Btw the 2 MOSFET in the upped side and one is fried the number is 4803A, and the lower chip is 5CL8.....

I was thinking to buy only the fried MOSFET 4803A and try the connection pin one by one.
 
  • Like
Reactions: alecxs

Anton TNT

Senior Member
Sep 24, 2020
1,099
185
Croatia
Android Automotive OS
Nope it's an Alfa Romeo 159....in fact I was surprise when I read "benzg"

Btw the 2 MOSFET in the upped side and one is fried the number is 4803A, and the lower chip is 5CL8.....

I was thinking to buy only the fried MOSFET 4803A and try the connection pin one by one.
Here it is,
https://www.aliexpress.com/item/1005005231890172.html?spm=a2g0o.productlist.main.7.3eb745c4by4sgU&algo_pvid=d5718b2c-49ca-44e0-93f4-cbe1059d6cc7&algo_exp_id=d5718b2c-49ca-44e0-93f4-cbe1059d6cc7-3&pdp_npi=3@dis!EUR!43.28!34.62!!!47.01!!@211bd93f16901957854826337d0763!12000032293987375!sea!HR!2342727309&curPageLogUid=pSnETsFGzo6A

before purchase check with seller of this canbus if it is proper for your car model (pin connector of canbus and wiring connectors for radio unit, etc. - if is 16 pin for canbus).
I think this canbus will do great - HIWORLD model , best at the market and compatible with all car functions.
 

laser01

Member
Jul 21, 2023
6
4
you can try to repair. don't forget to reconnect drain on pin 7 on the left one.
i have speaked with the seller of that canbus box, he is looking if it's compatible....in the main moment I buy the mosfet 4803A and tomorrow i will solder with my air solder station with some flux paste......and i will solder also the pin 7 that has fried also.....
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    guesswork part 2. Am I stupid or this picture shows still nothing?

    The two chips at the top , one has burned trace and the other is really burned, These are TI 4803/A mosfets and are used to send the ACC/ILL/REV signals to the head unit or reversing camera when replacing a OEM head unit that receives CANBUS/J8135 K/KKL style databus messages for headunit switch on(e.g range rover when you open door or ford RS when you press brake or go into reverse) . It will normally come part of a loom that attaches to the android heat unit and the ACC and ILL wires (red and blue) will goto this box instead of connecting to the cars ILL/ACC ,

    Repairing the wire and replacing the two mosfets will fix this no doubt, also the reason it failed is no doubt a short on ACC/ILL between this unit and the head unit and ground. Also see my discussion on canbox's and reverse engineering to see possible ways to tell what box you have and which open source software might work on it to add/tweak features.

    The MCP2515 is CANBUS to spi chip and the JA1054 is to interface with K line and KKL line comms , 7805 is 5V power with another circuit to provide 3.3v and some small switching transistors.

    this attached picture 'should' be a match and as you can see it says ACC out

    Of the box types you will see there are 3 main types
    original 8/10 pin single row units providing SWC and k line/canbus only often stm8 MCU or a 8051 core mcu
    16 pin clones using STM32f103 or GDM clone arm chips (see my git repo for open source code for these)
    16 pin & 20 pin clones: originals using pic16/pic32 micros and clones using china clones of pic microchips as you have with your model.
    Also there is two sides to this coin.
    While the canboxes talk to the car they only act as a bridge to the right software on the droid side, originally it was a few companies who patched the current android to talk to a serial port (uart ) and query the canbus via the canbox as a bridge.
    So that brings up the droid side of the software, depending of what brand your choose ,e.g raise and what brand e.g vw and what car , eg golf would mean you see all the door open/close, ac controls, car data no problem but if you choose another brand like hiworld and leave the car make /model the same you will not see all the same info , you will only see the effect like speed control volume, dimmer when light on, steering controls only.
    This is seen in the source code for both the android app and the mcu in the canboxes

    Finally there are some exceptions to the above pinouts ,
    in toyota models the K-Line side is replaced with AVC-Lan circuit , in merc cars the K-line is replaced with inhouse tweak of j2354 standard so the electronics are different on those pins , in vw models there are two K-lines(SWC and AC controls) and canbus and canbus is readonly (door/window status)
    in nissan models there are 2k-lines 2 canbus systems in newer vehicles but old ones rely one pioneers AV lan style system if there was a cd player.

    ACC = accessory position of ignition
    ILL = illumination signal 12V from lights

    *edit*
    In some cases i have seen the mosfets ILL/reverse camera/ACC but normally i see only two, and it will vary on the device maker if they use a mosfet for the camera (allowing the box to power the camera fully) or not and use a darlington array to a trigger wire on the camera (eg the cheap 3 wire + video cable style) , the more modern units that also fitted to cars with radar and 360 cameras use a mosfet.

    hope this helps
    darkspr1te
  • 11
    I know there are a lot of versions of CanBox but it's hard to find a bit more information (except some photos). So I decided to do a small reverse engineering of my version.
    Someone will ask for what? Out of curiosity. Maybe will be helpful for someone in the future. Maybe someone will share what version he has.
    But most of all because maybe someone has a firmware for the MCU? Maybe @hotaudio has such firmware (bin file or CANBUS.UPDE file) to any version of Canbox and help us? :) For educational purposes, of course.

    That's how my CanBox looks like
    MyCanBox.jpg


    This is the effect of my reverse engineering:
    16_Pin_Box_HW2.jpg

    16_Pin_Box_HW2all.jpg



    I attached schematic diagram in PDF and schematic/pcb made in KiCAD (ver4 and ver5)

    And here other photos of CanBoxes what I found
    CanBox1.jpg

    CanBox2.jpg

    CanBox3.jpg
    3
    Ok, thanks, can you upload photos of your schematics ?

    I didn't save them. Anyway you can go ahead without schematics:

    There are two groups of cables: the ISO connector ones and the canbus box ones.

    The cables regarding the ISO connector is as simply as comparing the two wiring harness. For example for GND pin in ISO connector, you have to check that ends in the same pin in the unit connector. Most probably these cables will need a complete re-arrangement. Search for Alfa 159 ISO connector schematics on google and compare against the schematic wich is on the unit itself regarding the connector, you have to match all (GND->GND, RR speaker->RR speaker, etc...).

    Regarding canbus cables, you will need a voltage tester. The box will have more or less the following cables:

    • Power supply and GND, for powering the box. You will differente them because are tied to +12V and GND pins in ISO connector. These two cables won't need any modification.
    • Canbus cables to the ISO connector, for "talking" with the car. These cables won't need any modification.
    • Ignition signaling. You can identify this cable by testing it with the voltage meter. You will get 12V when ignition turns on. Double check it's connected to the Ignition pin in the unit connector.
    • Lights signaling. You can idenfity it by testing with the voltage meter. You will get 12V when low beam is on. Double check it's connected to the light signalig pin in the unit connector.
    • Can A and Can B, bus connection from the box to the unit. Make sure they are connected to the proper pins in the unit connector.

    In this way the specific unit schematics are not needed. I made the mod without them.

    Regards.
    2
    guesswork part 2. Am I stupid or this picture shows still nothing?

    The two chips at the top , one has burned trace and the other is really burned, These are TI 4803/A mosfets and are used to send the ACC/ILL/REV signals to the head unit or reversing camera when replacing a OEM head unit that receives CANBUS/J8135 K/KKL style databus messages for headunit switch on(e.g range rover when you open door or ford RS when you press brake or go into reverse) . It will normally come part of a loom that attaches to the android heat unit and the ACC and ILL wires (red and blue) will goto this box instead of connecting to the cars ILL/ACC ,

    Repairing the wire and replacing the two mosfets will fix this no doubt, also the reason it failed is no doubt a short on ACC/ILL between this unit and the head unit and ground. Also see my discussion on canbox's and reverse engineering to see possible ways to tell what box you have and which open source software might work on it to add/tweak features.

    The MCP2515 is CANBUS to spi chip and the JA1054 is to interface with K line and KKL line comms , 7805 is 5V power with another circuit to provide 3.3v and some small switching transistors.

    this attached picture 'should' be a match and as you can see it says ACC out

    Of the box types you will see there are 3 main types
    original 8/10 pin single row units providing SWC and k line/canbus only often stm8 MCU or a 8051 core mcu
    16 pin clones using STM32f103 or GDM clone arm chips (see my git repo for open source code for these)
    16 pin & 20 pin clones: originals using pic16/pic32 micros and clones using china clones of pic microchips as you have with your model.
    Also there is two sides to this coin.
    While the canboxes talk to the car they only act as a bridge to the right software on the droid side, originally it was a few companies who patched the current android to talk to a serial port (uart ) and query the canbus via the canbox as a bridge.
    So that brings up the droid side of the software, depending of what brand your choose ,e.g raise and what brand e.g vw and what car , eg golf would mean you see all the door open/close, ac controls, car data no problem but if you choose another brand like hiworld and leave the car make /model the same you will not see all the same info , you will only see the effect like speed control volume, dimmer when light on, steering controls only.
    This is seen in the source code for both the android app and the mcu in the canboxes

    Finally there are some exceptions to the above pinouts ,
    in toyota models the K-Line side is replaced with AVC-Lan circuit , in merc cars the K-line is replaced with inhouse tweak of j2354 standard so the electronics are different on those pins , in vw models there are two K-lines(SWC and AC controls) and canbus and canbus is readonly (door/window status)
    in nissan models there are 2k-lines 2 canbus systems in newer vehicles but old ones rely one pioneers AV lan style system if there was a cd player.

    ACC = accessory position of ignition
    ILL = illumination signal 12V from lights

    *edit*
    In some cases i have seen the mosfets ILL/reverse camera/ACC but normally i see only two, and it will vary on the device maker if they use a mosfet for the camera (allowing the box to power the camera fully) or not and use a darlington array to a trigger wire on the camera (eg the cheap 3 wire + video cable style) , the more modern units that also fitted to cars with radar and 360 cameras use a mosfet.

    hope this helps
    darkspr1te
    2
    I have an Alfa GT as well. The GT (and 147) has CAN Bus, but it has resistive steering wheel controls, the 159 has CAN Bus and the steering wheel controls are CAN Bus too. The CAN Bus you are using is really meant for an Alfa 159, not the Alfa GT (or 147). I use this CAN Bus box too because it also works with most of the functions on the GT, but not all functions because it is meant for the 159. You need to use @Hal9k_'s cutom ROM (you may have to downgrade to Android 9 until his 10 is ready) because his ROM lets you over ride the CAN Bus steering wheel controls - at the moment they are set to CAN Bus controls because it is an Alfa 159 box you are using.
    2
    Or more appropriately have Wheelkey Study disappear when that setting is set to SWC Key. I'm thinking maybe they mean "you can change the assignments" when set to "CAN key" but since it's so close to Canbus it gets confusing very quickly.

    Do they mean "use Canbus" or "can" (like "are able") to change/assign." I can see how other language speaking people have a hard time understanding some of our words that have many meanings in context.
    "CAN SWC on" and "CAN SWC off" would have been more logical. Still, I bet their English is better than our Chinese !
    Is the program on the display of the controls on the screen, is it part of Android 10 or is it something special?
    No, it appears on all Android versions, its MCU controlled, see @jlbooths's new thread linked to above.