[TUTO] Adaptateur pour SMEG/NAC/Matrice CAN2010 sur BSI CAN2004

Hello. My first post, please don't get mad at stupid questions :)
I have built my setup with the regular parts from vendors, but looking for more suffisitcated and almost-ready solutions I found this board, which uses a much more powerful MCU - PI2040, accepts VCC up to 28V and dual CAN interface:
Seeed Studio CANBed Dual - https://www.longan-labs.cc/1030019.html
My question is, because I am not knowledgeable at programing, would the code need to be thoroughly modified, or I just need to install the corresponding libraries?
Thank you!
 


Helloi, I installed Cirocco on my Citroen C5 X7(from ds7 2019), and everything works. I have an Android multimedia system instead of the RD4, and I wrote an app to manage suspension/personalization/cirocco. However, all I've managed to achieve is changing the color to yellow/blue/red. I was modifying ID 2E9 and tried incrementing each byte by 1, but there were no results—the left and right displays don't change. What am I doing wrong? Could I need a different ID?

Question 2: From the app, I would also like to send text information about the music being played. Any ideas on which ID I should try to use?
 
  • J'aime
Reactions: drumvlado

Helloi, I installed Cirocco on my Citroen C5 X7(from ds7 2019), and everything works. I have an Android multimedia system instead of the RD4, and I wrote an app to manage suspension/personalization/cirocco. However, all I've managed to achieve is changing the color to yellow/blue/red. I was modifying ID 2E9 and tried incrementing each byte by 1, but there were no results—the left and right displays don't change. What am I doing wrong? Could I need a different ID?

Question 2: From the app, I would also like to send text information about the music being played. Any ideas on which ID I should try to use?
I asked and answered: to make 2e9 work, it was necessary to send fake frames from telematics (1A9, 1E9), music on ID 328.
 
  • J'aime
Reactions: drumvlado

Hi, I have a C5 X7 on which I have installed NAC and Cirocco. Everything is working OK, except for a couple of adjustments that are made from the original combo and now have to be made from the NAC screen, but I still need to program the Arduino sketch to send the commands to the BSI but I don't know how to program it.
I have all the values both what the original combo sends and what NAC is sending.
Can anyone help me program the Arduino sketch to be able to recover those settings??
Thank you very much!
 

Привет, у меня есть C5 X7, на котором я установил NAC и Cirocco. Все работает нормально, за исключением пары настроек, которые сделаны из оригинальной комбинации и теперь должны быть сделаны с экрана NAC, но мне все еще нужно запрограммировать скетч Arduino, чтобы отправлять команды в BSI, но я не знаю, как это сделать.
У меня есть все значения, как те, которые отправляет исходная комбинация, так и те, которые отправляет NAC.
Может ли кто-нибудь помочь мне запрограммировать скетч Arduino, чтобы можно было восстановить эти настройки?
Большое спасибо!
you need to use id 0x1DB instead of 0x15B, work for me:
// Personalization settings change
canMsgSnd.data[0] = 0x01;
canMsgSnd.data[1] = personalizationSettings[0];
canMsgSnd.data[2] = personalizationSettings[1];
canMsgSnd.data[3] = personalizationSettings[2];
canMsgSnd.data[4] = personalizationSettings[3];
canMsgSnd.data[5] = personalizationSettings[4];
canMsgSnd.data[6] = personalizationSettings[5];
canMsgSnd.data[7] = 0xF0;
bitWrite(canMsgSnd.data[1], 1, driverWelcome);
bitWrite(canMsgSnd.data[1], 0, autoHandbrake); // Parking brake
bitWrite(canMsgSnd.data[2], 7, adaptiveHeadlamps); // Adaptative lighting
bitWrite(canMsgSnd.data[2], 5, guideMeToHome); // Guide-me home lighting
bitWrite(canMsgSnd.data[2], 1, guideMeHomeDurationHigh; // Guide-me home lighting (2b)
bitWrite(canMsgSnd.data[2], 0, guideMeHomeDurationLow; // Guide-me home lighting (2b)
canMsgSnd.can_id = 0x1DB; // id for changing personal settings from cmb c5x7
canMsgSnd.can_dlc = 8;
CAN0.sendMessage(&canMsgSnd); // work on c5x7
 

Peugeot 308cc 2012
Factory mounted NG4 + in the middle console for Matt_Mono.
Assembled and launched adapter can2010-can2004, arduino nano + https://github.com/ludwig-v/arduino-psa-comfort-can-adapter
I have several Matt_Color screens, they generally work.
The button does not work in everyone, only in the EEPROM in the address 9Ah I turn on the bit7 then the button works.
The menu lacks "Vehicle Parameters" - I managed to get off and I already have.
I only have a problem with changing the settings, e.g. Ambiance Lighting On/Off - does not work and does not remember.
MATT_COLOR.jpg
No item works on the "Vehicle Parameters" menu.
Only color change works and nothing more.
But on the original Matt_Mono screen everything is OK.
Gentlemen, where can there be a problem?
Thank you very much
 


Muchas gracias compañero. Ahora la pregunta es, en el sketch de Arduino, ¿dónde tengo que pegar el texto que me has facilitado?
¿Importa qué línea o tengo que pegarlo en una línea específica?
¡¡Muchas gracias!!
If you change settings in NAC, then where
“//Change personalization settings” line 1816 in the original sketch, change
canMsgSnd.can_id = 0x15B; on canMsgSnd.can_id = 0x1DB;
should work
 

If you change settings in NAC, then where
“//Change personalization settings” line 1816 in the original sketch, change
canMsgSnd.can_id = 0x15B; on canMsgSnd.can_id = 0x1DB;
should work
Thank you very much for your help, my friend. I now have all the potions working from the NAC screen. The only fault I have at the moment is that when selecting the time that the guide me home light stays on, the times you select on the screen do not match the actual time that the headlights stay on. Does this option work correctly for you? If so, could you send me your sketch by email please? Here is my email: [email protected] Thank you very much, my friend!
 

Thank you very much for your help, my friend. I now have all the potions working from the NAC screen. The only fault I have at the moment is that when selecting the time that the guide me home light stays on, the times you select on the screen do not match the actual time that the headlights stay on. Does this option work correctly for you? If so, could you send me your sketch by email please? Here is my email: [email protected] Thank you very much, my friend!

I don't have a NAC, can't help here
 


Matrix Mono 2004 (orginal)
Can Logger connected between BSI and Matrix
STANDARD|1DBh|8|04 00 00 00 00 00 00 F0 - 01:47:03:069
STANDARD|1DBh|8|05 00 00 00 00 00 00 F0 - 01:47:04:458
STANDARD|1DBh|8|01 03 A2 C0 00 D0 00 F0 - 01:47:04:633 Ambiance lighting ON
STANDARD|1DBh|8|01 03 A2 C0 00 D0 00 F0 - 01:47:04:115 Ambiance lighting ON
STANDARD|1DBh|8|01 03 A2 C0 00 D0 00 F0 - 01:47:05:665 Ambiance lighting ON
STANDARD|1DBh|8|01 03 A2 C0 00 D0 00 F0 - 01:47:05:117 Ambiance lighting ON
STANDARD|1DBh|8|01 03 A2 C0 00 D0 00 F0 - 01:47:06:634 Ambiance lighting ON
STANDARD|1DBh|8|01 03 A2 40 00 D0 00 F0 - 01:47:07:812 Ambiance lighting OFF
STANDARD|1DBh|8|01 03 A2 40 00 D0 00 F0 - 01:47:08:313 Ambiance lighting OFF
STANDARD|1DBh|8|01 03 A2 40 00 D0 00 F0 - 01:47:08:832 Ambiance lighting OFF
STANDARD|1DBh|8|01 03 A2 40 00 D0 00 F0 - 01:47:09:314 Ambiance lighting OFF
STANDARD|1DBh|8|01 03 A2 40 00 D0 00 F0 - 01:47:09:833 Ambiance lighting OFF
STANDARD|1DBh|8|01 03 A2 40 00 D0 00 F0 - 01:47:10:315 Ambiance lighting OFF
STANDARD|1DBh|8|01 03 A2 40 00 D0 00 F0 - 01:47:10:831 Ambiance lighting OFF
Everything works ok

Matrix Colour 2010
Can Logger connected between BSI and converter2004-2010 Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:08:280
STANDARD|15Bh|7|24 1C 8F C0 A5 40 00 - 02:05:08:280 Ambiance lighting ON
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:09:779
STANDARD|15Bh|7|24 1C 8F C0 A5 40 00 - 02:05:09:779 Ambiance lighting ON
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:09:251
STANDARD|15Bh|7|24 1C 8F C0 A5 40 00 - 02:05:09:251 Ambiance lighting ON
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:10:749 Enter Menu Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:10:235 Enter Menu Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:11:766 Enter Menu Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:11:252 Enter Menu Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:12:751 Enter Menu Matrix
STANDARD|15Bh|7|24 1C 8E C0 A5 40 00 - 02:05:12:938 Ambiance lighting OFF
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:12:253 Exit Menu Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:13:767 Exit Menu Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:13:268 Exit Menu Matrix
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:14:756 Exit Menu Matrix
STANDARD|15Bh|7|24 1C 8F C0 A5 40 00 - 02:05:14:756 Ambiance lighting ON
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:14:256
STANDARD|15Bh|7|24 1C 8F C0 A5 40 00 - 02:05:14:277 Ambiance lighting ON
STANDARD|15Bh|8|05 00 00 00 00 00 00 00 - 02:05:15:755
STANDARD|15Bh|7|24 1C 8F C0 A5 40 00 - 02:05:15:784 Ambiance lighting ON

Everything is available on the Matrix menu.
For example, I turn off "Ambiance lighting", but this doesn't change anything,
and after entering the "Ambiance lighting" menu again, it is turned on again.
In fact, "Ambiance lighting" cannot be turned off.

Help how to fix it?
 
  • Love
Reactions: drumvlado

Salut à tous,
Je suis en train de réfléchir pour installer un Nac et I-cockpit dans ma 407 Coupé.
j'ai déjà rassemblé tout le matériel.
Je me pose quand même une question, j'ai l'option JBL dans ma voiture et je n'ai pas trouvé de correspondance pour le fil de commande de l'ampli
Broche 9 sur le connecteur 12 pin noir du quadlock RT5 vers broche 15 de l'ampli.
Si vous avez des tuyaux ;-)
Merci

Audio JBL.jpg
 

Hello. I successfully installed CIROCCO from late C5 Aircross in my 2007 C5 (facelift), so far without a NAC. I had a problem with the language - with the Arduino disconnected it was in English, but when the Arduino was working it was going to Vietnamese and none of the language related settings in the sketch seemed to be changing this. Obviously they are for the NAC.
Anyway, I found the solution and wanted to share it:
You need to reset the EEPROM once (changing resetEEPROM to true) and after that change back to false.
 
Dernière édition:

Code:
__u8 checksumm0E6(const __u8* frame)
{
    /* Autors:
        organizer of the bacchanal: styleflava
        algorithm: Ilia
        code: Pepelxl
    */
    static __u8 iter = 0;
    __u8 cursumm = 0;
    for (__u8 i = 0; i < 7; i++)
    {
        cursumm += (frame[i] >> 4) + (frame[i] & 0x0F);
    }
    cursumm += iter;
    cursumm = ((cursumm ^ 0xFF) - 3) & 0x0F;
    cursumm ^= iter << 4;
    iter++;
    if (iter >= 16) iter = 0;
    return cursumm;
}
Hi Pepe,
How do you use/where do you put this code? Thanks
 
Dernière édition:


Hello again, everyone! I'm here with another question, hoping someone can help me.
On my Citroen C5 X7, the hazard warning button is illuminated through the instrument panel, but since I replaced the original instrument panel with a Cirocco, it now remains off.
Does anyone know how to restore the illumination and flashing when activating the hazard lights through Arduino?

Thank you very much!
 

Hello. I have a certain light flashing on my C5 Aircross CIRROCO that I installed on my 2007 C5, which is for "Electrical system fault". I bought a SEEED Can Analyzer that I want to use for inspecting CAN messages, but I cannot make it work on pins 3 and 8 (CAN DIAG) on the OBD. I changed to 6/14 (CAN I/S) and I can see messages, but there are no messages for the CAN Comfort there. When I connect back to 3/8, again, I see nothing. I checked connections million times. Can you please look if there is some problem with my settings?
Or maybe I am wrong trying to access this info from the OBD?
Thank you!
 

Pièces jointes

  • Screenshot 2025-04-05 114434.png
    Screenshot 2025-04-05 114434.png
    79.6 Ko · Affichages: 24

Helloi, I installed Cirocco on my Citroen C5 X7(from ds7 2019), and everything works. I have an Android multimedia system instead of the RD4, and I wrote an app to manage suspension/personalization/cirocco. However, all I've managed to achieve is changing the color to yellow/blue/red. I was modifying ID 2E9 and tried incrementing each byte by 1, but there were no results—the left and right displays don't change. What am I doing wrong? Could I need a different ID?

Question 2: From the app, I would also like to send text information about the music being played. Any ideas on which ID I should try to use?
Hi mate, I also have a C5 X7 with a Cirocco from the C5 Aircross. Could you send me some info on that app to control the suspension? It's a pain to have lost it when changing the combination. Now I can't see what position the suspension is in.
Best regards!!
 

Hello. I have a certain light flashing on my C5 Aircross CIRROCO that I installed on my 2007 C5, which is for "Electrical system fault". I bought a SEEED Can Analyzer that I want to use for inspecting CAN messages, but I cannot make it work on pins 3 and 8 (CAN DIAG) on the OBD. I changed to 6/14 (CAN I/S) and I can see messages, but there are no messages for the CAN Comfort there. When I connect back to 3/8, again, I see nothing. I checked connections million times. Can you please look if there is some problem with my settings?
Or maybe I am wrong trying to access this info from the OBD?
Thank you!
else if (id == 0xE6 && len < 8) {
canMsgSnd.data[0] = canMsgRcv.data[0];
canMsgSnd.data[1] = canMsgRcv.data[1];
canMsgSnd.data[2] = canMsgRcv.data[2];
canMsgSnd.data[3] = canMsgRcv.data[3];
canMsgSnd.data[4] = canMsgRcv.data[4];
canMsgSnd.data[5] = canMsgRcv.data[5];
canMsgSnd.data[6] = 0x80; // this
canMsgSnd.data[7] = checksumm0E6(canMsgSnd.data);
do this, it will solve your problem. in citroen c5x7 0xe6 dlc = 6 and there is no data[6]
 
  • J'aime
Reactions: drumvlado


else if (id == 0xE6 && len < 8) {
canMsgSnd.data[0] = canMsgRcv.data[0];
canMsgSnd.data[1] = canMsgRcv.data[1];
canMsgSnd.data[2] = canMsgRcv.data[2];
canMsgSnd.data[3] = canMsgRcv.data[3];
canMsgSnd.data[4] = canMsgRcv.data[4];
canMsgSnd.data[5] = canMsgRcv.data[5];
canMsgSnd.data[6] = 0x80; // this
canMsgSnd.data[7] = checksumm0E6(canMsgSnd.data);
do this, it will solve your problem. in citroen c5x7 0xe6 dlc = 6 and there is no data[6]
Hi. Thank you so much!
This is already done in my sketch. I have tried all the fixes I found, before writing for advise.
This solution is for the battery light, and it does work, but my problem is with "Hybrid system fault" or something, which is another problem. It might be connected, but I cannot find how. The light is a red car with exclamation mark.
 


Built one with boost converter . Boosting the USB 5v to 7.4V and feeding that into the VIN pin of the arduino. Works perfect.
 

Pièces jointes

  • WhatsApp Image 2025-05-06 at 17.28.17.jpeg
    WhatsApp Image 2025-05-06 at 17.28.17.jpeg
    942.7 Ko · Affichages: 32

Salut à tous,
Je suis en train de réfléchir pour installer un Nac et I-cockpit dans ma 407 Coupé.
j'ai déjà rassemblé tout le matériel.
Je me pose quand même une question, j'ai l'option JBL dans ma voiture et je n'ai pas trouvé de correspondance pour le fil de commande de l'ampli
Broche 9 sur le connecteur 12 pin noir du quadlock RT5 vers broche 15 de l'ampli.
Si vous avez des tuyaux ;-)
Merci

Voir la pièce jointe 40255
Salut! As tu réussi l'intégration ?
Car moi j'ai installé un wave 2 dans ma 407 coupé mais pas le icockpit parcontre... tu as réussi pour le JBL ?
 
  • J'aime
Reactions: Jo Le Vulcain

Olá a todos!
para miniaturizar a interface eu estava procurando por algo não tão grande e possivelmente não funcionasse em 8mhz... e finalmente encontrei na Amazon esta interface:

https://www.amazon.it/gp/product/B08CRMX3D1/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

Ele foi projetado para Raspberry, mas funciona perfeitamente com Arduino, tem 2 canais na mesma placa e funciona a 16 MHz.

Em conjunto com o Arduino Nano, ele ajuda a reduzir dimensões sem perder desempenho.
Voir la pièce jointe 19912

Essa é a caixa completa com RTC e uma fonte de alimentação.
Voir la pièce jointe 19913

Atualmente estou trabalhando no transplante de um painel DS5 (sempre gostei dele) no meu C4... então estou mapeando todos os sinais CAN para fazer um painel de instrumentos CAN2010 e para funcionar completamente em um CAN2004... Ainda tenho que consertar uma coisa...
Voir la pièce jointe 19914
Work ?
 

Salut! As tu réussi l'intégration ?
Car moi j'ai installé un wave 2 dans ma 407 coupé mais pas le icockpit parcontre... tu as réussi pour le JBL ?
Salut Raphael , pour l'instant , je n 'ai pas eu le temps d'avancer sur le projet cause boite de vitesse qu'il a fallu que je change rapidement et un autre projet en cours ( moteur PSA HDI dans un Opel Frontera ) , les seuls essais que j'ai pu faire n'ont pas été concluants pour l'instant mais ça finira par fonctionner .
Je mettrai mes avancées et expérience ici ;-)
A bientôt
 

Bonjour à tous ;) Est que il y a quelqu'un qui pourra m'aider pour activer l'affichage de consommation instantanée et l'autonomie comme sur la photo de Vlud sur l'afficheur matriciel de ma peugeot 508. J'arrive pas de trouver les bons bites via arduino.

P.S l'afficheur est bien compatible.

QhsFbwDnUzOZGnjgbSsT.jpg
 

Salut! As tu réussi l'intégration ?
Car moi j'ai installé un wave 2 dans ma 407 coupé mais pas le icockpit parcontre... tu as réussi pour le JBL ?

Yes, apparently JBL amp is turned on from 12v supply to one of the pins, so you can use a 12v source from a switched supply. You will need to test if this is true!