Skip to content

A CID (Central Information Display) can bus simulator

License

Notifications You must be signed in to change notification settings

ulysse31/CID_Faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISCLAIMER :

THIS PROJECT IS A PATCH MADE BY MYSELF, FOR MYSELF, AND IT AIMS TO COMPENSATE, THE LACK OF BUG CORRECTIONS IN THIRD PARTY REPLACEMENT SCREENS (CHINESE ANDROID BASED SCREENS) THAT DO NOT HAVE IMPLEMENTED THIS PARTICULAR CASE ON THEIR MCU FIRMWARE...

WARNING !!! WE ARE TALKING ABOUT INJECTING DATA TO THE CAR NETWORK, THIS IS AT YOUR OWN RISK !!! I WILL NOT BE RESPONSIBLE FOR ANY HARM YOU MAY CAUSE TO YOUR CAR, YOURSELF, OR ANY OTHER

YOU HAVE BEEN WARNED !!!

CID_Faker

A CID can bus simulator:

CID (Central Information Display) on BMW cars from 2004 to 2011 is the designation for the car LCD screen. Some of those screens are connected to the can bus of the car (at least BMW flap screens). If you try to replace this type of screen with something else (like an Android Head Unit) you'll loose the ability to interact with the BMW original menu (no actions from idrive interpreted).

This project supposes that this is because of the absence of the can message id from the screen : "why take into account moves from idrive if no screen detected" ... thats what the engineer may have thought when implementing this on the CCC controller ...

This little code will so generate fake CID id messages on the can bus of the car, to simulate the presence of the CID. CID sends messages with id 0x33a (status) and 0x4f3 (network). All the main job will be to find the right messages, their combinations and timings.

Project uses platformIO for easy compilation and development.

For now, I'm using a Pro Micro board 5V@16Mhz, and a well known MCP2515 CAN Controller module, more precisely the MCP2515 CAN controller with a 8Mhz oscillator and TJA1050 CAN transceiver.

You'll find on "Hardware" folder 2 types of designs :

  • USB_Powered (tested working/recommended): this light version aims to be connected to the Android HU on its USB port, allowing it to be powered up once the Android is up (key car inserted), and powered off when Android goes off (key car taken out)

  • Standalone (not tested/under construction): this version aims to be more "unrelated" the Android HU, it is up the user to find a power cable source from the car (preferrably, a source that is NOT always on ...)

About

A CID (Central Information Display) can bus simulator

Resources

License

Stars

Watchers

Forks

Packages

No packages published