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

Salut, j'ai une question sur la résistance de 120 ohms. Dois-je les retirer de la petite carte Canbus (celle du premier message - Amazon)? Si oui, pouvez-vous dire où se trouve-t-il sur la carte? Merci.
bonjour entre l'interrupteur et la connexion can H il y a une résistance de valeur 121 (120 OHM) qui doit être éliminée ou inhibée, coupant à l'arrière de la carte (l'union entre P1)
 

[QUOTE = "Manuel Pérez, post: 2618491, member: 134152"] hello between the switch and the can H connection there is a resistor of value 121 (120 OHM) which must be eliminated or inhibited, cutting at the back of the card (the union between P1) [/ QUOTE]


Thanks Manuel, are you referring to this one on the photo marked in red?

[GALLERY = media, 2239] Card from BR308 posted on April 9, 2021 at 12:53 pm [/ GALLERY]
 

20556-10bccc657452f7ea7993355fb4c2aabd.jpg
 


[QUOTE = "Manuel Pérez, post: 2618517, member: 134152"] this is another plate model, it is at the bottom of the assembly next to the yellow connector it is black and it says 121 R2 [/ QUOTE]
st black and it says 121 R2 [/ QUOTE]

Thank you. I found it. Unfortunately, this did not solve my problems. The GPS compass is spinning like crazy and I can't reset the L/Km screen. I press and hold the button and nothing happens. The same button works to change screens. I have a Peugeot 308cc RR 2014 and I am installing a Matt2010 - 9805341480. Any help would be appreciated. Thank you and sorry for the poor French.

Mise à jour: J'ai résolu le problème de la boussole (GPS) en utilisant un ancien croquis du 17/10/2020 (grâce à eptcb post). Le problème de la réinitialisation du L / km sur les écrans 1 et 2 que je n'ai pas encore pu résoudre.

Mise à jour 2: problème de réinitialisation résolu. C'était un problème Diagbox.
 
Dernière édition:

Hi everyone,

I have observed that when I have removed the smegiv2 for Nac testing and left only the quadlock, it indicates a can bus error.
The first two times I start the car without smegiv2 the error does not appear.
The error appears in odometer when I start the car the third and subsequent times. (Motor defect !!! Have the vehicle repaired) Attached photo

To remove the bug I have to use Diagbox or put smegiv2 again and star the car two or three.
The error displayed by Diagbox is U1118 (Red Can Intersystems) Attached photo

Can someone help me to fix the problem?
Thanks
 

Pièces jointes

  • Error C5.jpg
    Error C5.jpg
    305 Ko · Affichages: 102
  • U1118.JPG
    U1118.JPG
    10.7 Ko · Affichages: 99

Has anyone tried to emulate VIN? It's working? I failed.

I just changed the lines:

Code:
bool emulateVIN = true;  //from false
char vinNumber[18] = "VF7RWRHF8xxxx5517";  //my VIN

What else should I change?

...or could i make it like this?
Code:
 } else if (id == 822 && len == 3 && emulateVIN) { // ASCII coded first 3 letters of VIN
        canMsgSnd.data[0] = 0x56; //V 0x56 Hex or 0x86 Dec
        canMsgSnd.data[1] = 0x46; //F 0x46 or 0x70
        canMsgSnd.data[2] = 0x37; //7 0x37 or 0x55
        canMsgSnd.can_id = 0x336;
        canMsgSnd.can_dlc = 3;
        CAN1.sendMessage( & canMsgSnd);
in place of this
Code:
} else if (id == 822 && len == 3 && emulateVIN) { // ASCII coded first 3 letters of VIN
        canMsgSnd.data[0] = vinNumber[0]; //V 0x56
        canMsgSnd.data[1] = vinNumber[1]; //F 0x46
        canMsgSnd.data[2] = vinNumber[2]; //7 0x37
        canMsgSnd.can_id = 0x336;
        canMsgSnd.can_dlc = 3;
        CAN1.sendMessage( & canMsgSnd);
 
Dernière édition:

I'm doing it like this:

Code:
//START INJECTING VIN     
 else if (id == 0x336) //VIN 0 - 2 | HEX: 0x336 | DEC: 822
      {
          canMsgSnd.data[0] = vintouse[0];
          canMsgSnd.data[1] = vintouse[1];
          canMsgSnd.data[2] = vintouse[2];
          CAN1.sendMessage( & canMsgSnd);
          canMsgSnd.can_id = 0x336;
          canMsgSnd.can_dlc = 3;
      }

      else if (id == 0x3B6) //VIN 3 - 8 | HEX: 0x3B6 | DEC: 950
      {
          canMsgSnd.data[0] = vintouse[3];
          canMsgSnd.data[1] = vintouse[4];
          canMsgSnd.data[2] = vintouse[5];
          canMsgSnd.data[3] = vintouse[6];
          canMsgSnd.data[4] = vintouse[7];
          canMsgSnd.data[5] = vintouse[8];
          canMsgSnd.can_id = 0x3B6;
          canMsgSnd.can_dlc = 6;
          CAN1.sendMessage( & canMsgSnd);
      }

      else if (id == 0x2B6) //VIN 9 - 16 | HEX:694 0x2B6 | DEC: 694
      {
          canMsgSnd.data[0] = vintouse[9];
          canMsgSnd.data[1] = vintouse[10];
          canMsgSnd.data[2] = vintouse[11];
          canMsgSnd.data[3] = vintouse[12];
          canMsgSnd.data[4] = vintouse[13];
          canMsgSnd.data[5] = vintouse[14];
          canMsgSnd.data[6] = vintouse[15];
          canMsgSnd.data[7] = vintouse[16];
          canMsgSnd.can_id = 0x2B6;
          canMsgSnd.can_dlc = 8;
          CAN1.sendMessage( & canMsgSnd);
      }

//END INJECTING VIN
 

I'm doing it like this:
Yes, i made lake this too (full vin lines in sketch), but it doesn't work in my C5 x7

Maybe there is a problem here in Dec/Hex? Because this is only one (three) difference between my and yours sketch
Code:
else if (id == 822 && len == 3 && emulateVIN) { // ASCII coded first 3 letters of VIN
Code:
else if (id == 0x336) //VIN 0 - 2 | HEX: 0x336 | DEC: 822
 
Dernière édition:

Try attached file. It works by my car.
Of course you need to edit this line:

//char vintouse[] = "VF38DAHWTHL028249"; //508


and of course DEC/HEX makes no difference.
 

Pièces jointes

  • working-inject-vin.txt
    32.3 Ko · Affichages: 39

Does anyone know why the dgt7 screen does not allow the three finger touch to access menu

Dgt7c and NAC wave 3 from 2020 dispatch van
If you connect a dgt8 screen the three finger method works but the Screen is way Too bright
Thanks
 


Bonjour,

Quelqu'un aurait les fichiers pour le boitier en 3d ? le lien wetransfert de @VLud est down

Merci d'avance
 


Hi,

I created a pull request with the fix for the buttons. These now work a 100% correct. I installed my NAC this weekend.
https://github.com/ludwig-v/arduino-psa-comfort-can-adapter/pull/4

@VLud can you merge this :)?

I have a few other problems.
  1. I have a U0140 error in my ECU, no idea where this is coming from
  2. Time does not work, i need to move the time to "0x276" under the 0x21F, then time works.
  3. BTA does not work, keeps saying no contract, the BTA came from the same car
I do need to fix U0140, if anyone has any idea...
 

I found some missing can messages that might be needed for the DS3 to work. I will implement them into the sketch and see how it goes.
I hope my trace i have has all the messages, i can't remember if i had engine running or not. Don't know if it will be a problem.

@VLud i will make the messages send on a specific time (period), i might need to change the sketch a bit (or alot) to have this working with a timer perhaps?
I can see one that my engine ECU is complaining about, 3F6 is time and my ECU is having problems that it doesn't receive the time...

If everyone that has a trace can share them (CAN2004, not NAC) with me, so i can search for missing messages.
This will make the arduino more part of the car, and not only an 'interface' module for the NAC. Means less room for error.
 
  • J'aime
Reactions: ArturHeise


@V3nn3tj3 : Out messages from Wipnav:

Code:
357  0x165   C0 00 40 00              ?.@.  (Radio status - Periodicity: 100ms)
361  0x169   11 3F FF 3F FF FF FF FF  ???????? (Personalization menu - Periodicity: 1000ms)
421  0x1A5   1E                       ?   (Sound volume - Periodicity: 500ms)
425  0x1A9   20                            (N/A - Periodicity: 200ms)
485  0x1E5   3F 3F 42 3F 3F 07 40     ??B???@ (Amplifier settings - Periodicity: 500ms)
1014 0x3F6   00 21 10 00 00 80 00     .!?..?. (Time - Periodicity: 1000ms)
1316 0x524   0D 00 05 00 05 74 00 00  ?.?.?t.. (N/A - Periodicity: 1000ms)

I would think the DTC is due to "Time" frame not sent on 0x3F6
 
Dernière édition:


I don't have a screen to change the date but I would say yes as it matches the reserved bytes : One day = 86400 = 0x15180
Easy to implement and test
 

@V3nn3tj3 : I powered the screen, result:
It is not the time (nor the date) at all but a counter increased every second, a running time counter ;)
The time format position bit is correct
 


@VLud the 3f6 frame did not solve it. I'll check my can bus messages again and look for the problem but i can't see any differences now. All the same messages are send so i'm guessing it has to do with the data inside the messages.

Oh and also, my parking sensors don't work, they don't even show up.
And i enabled the guide me home and enabled rear view wiper in car settings but they don't show up. Maybe because we filter these frames? Any idea how to replicate them?
 
Dernière édition:

@V3nn3tj3 : I powered the screen, result:
It is not the time (nor the date) at all but a counter increased every second, a running time counter ;)
The time format position bit is correct

Does it start from 0 each time you start the car? Is it counting on ignition or enginerunning? I might need to 'sync' the time with all other modules?
 

And i enabled the guide me home and disable rear view wiper in car settings but they don't show up.

In car or in NAC ?

Put 0xFF on each byte of 0x169 to be sure any coded setting is displayed on the NAC (but settings switches will not work until they are mapped)

Oh and also, my parking sensors don't work, they don't even show up.

You probably mess around 0x0F6 or BSI is not coded for it

Does it start from 0 each time you start the car? Is it counting on ignition or enginerunning? I might need to 'sync' the time with all other modules?

It starts from 0 each time the device is powered (ignition or not)
 

In car or in NAC ?

Both, car and nac. I'll put 0xFF on each byte of 0x169 to be sure any coded setting is displayed on the NAC (but settings switches will not work until they are mapped)



You probably mess around 0x0F6 or BSI is not coded for it



It starts from 0 each time the device is powered (ignition or not)

Both, car and nac. I'll try the FF, but where do i map them? You mean a correct 169 frame?

Parking sensors are enabled in BSI and were working on Smeg... I'll have a look at 0f6, did it change? The nac was configured for camera first (disabled it now) and it did show the camera when in reverse.

I'll make it 0 each time i see first message on car.

Any idea if i need 15b or 167? Those are also missing.
 
Dernière édition:

It starts from 0 each time the device is powered (ignition or not)

Error does come from this frame, but you also need to include (simulate) the frames send by the EMF on boot. The EMF sends 3 frames when starting each time, seems like the BSI does not want to except the frame as long as the EMF does not 'register' itself.
I'll update the interface with the frames once i get it stable, code is a bit messy right now.
 
  • J'aime
Reactions: Almeria63

Oh, and update. I was able to map some bits from 0x361. It works but for some reason all the bytes are set to 00 sometimes. And after restart of the car it's back. Really wierd.
 

Hello,

@ Vlud -> Thanks for your great project !!

Currently i´m testing the adapter on a BSI on workbench-> i want to get working SMEG+ on my 308 T7 from 2009.
  • I'm using two MCP2515 from here with an Arduino Uno
  • RTC is DS1302
In general I've traffic (RX on Arduinomis flashing quickly) but the SMEG doesn't boot up -> all frames in Terminal ar 00000 (Screenshot)-> what I've done wrong ?


upload_2021-8-1_20-10-36.png

Can everyone help me ?

best regards from austria :coucou: