Hi,
I had the opportunity to reverse engineer the official Diagbox telemetry protocol that is used on my 208 GTi BPS.
Using any OBD2 scantool based on the ELM327 ic, now I can read any of the data in realtime, as does the official Diagbox (e.g. measured MAF and requested MAF, measured MAP and requested MAP, oil pressure, turbo wastegate opening ratio, etc…)
If anyone is interested, I can share some info about that…
You can share info. thank youHi,
I had the opportunity to reverse engineer the official Diagbox telemetry protocol that is used on my 208 GTi BPS.
Using any OBD2 scantool based on the ELM327 ic, now I can read any of the data in realtime, as does the official Diagbox (e.g. measured MAF and requested MAF, measured MAP and requested MAP, oil pressure, turbo wastegate opening ratio, etc…)
If anyone is interested, I can share some info about that…
Envoyé de mon SM-G930F en utilisant Tapatalk
The car ECU use the CAN bus ISO 15765-4 (11 bit ID, 500 kbit/s) to communicate.
(all the numerical data, if not specified, are in hexadecimal format)
For example, this is the raw data packet to request the engine RPM:
6A8 4 03 22 D4 00
6A8 is the ECU address
4 (byte) is the length of the message
03 22 D4 00 is the command to request the instantaneous RPM value
And the reply by the ECU is:
688 6 05 62 D4 00 05 13
688 is the ECU address modified to tell you that this is a reply from the ECU
6 (byte) is the length of the message
05 62 D4 00 is the command modified to tell you that this is the reply to the RPM command request
05 13 is the RPM value
If we convert 0513 from hexadecimal to decimal, the result is 1299 RPM
If you want to try this procedure, you need to use a terminal emulator software (I personally use TeraTerm)
From the terminal, connect to the OBD2 scantool and type the following commands:
AT Z (to reset the ELM327)
AT H1 (to enable the header visualization)
AT D1 (to enable the visualization of the data length)
AT CAF0 (to disable automatic formatting of the reply)
AT SH 6A8 (to select the ECU address)
03 22 D4 00 (to request the RPM)
And your ECU will reply with: 688 6 05 62 D4 00 xx yy
where xxyy is a 2 byte hexadecimal number with the RPM value
Do you have a PIDs for oil?
not the PID of the OBD2, but I have the custom Peugeot command to request the oil temperature and pressure:
Oil Temperature
request command:
6A8 4 03 22 D4 7D
the ECU always reply:
688 5 04 62 D4 7D 28
hex 28 = decimal 40 which is 0°C (you need to subtract 40°C to the value to have the correct temperature in °C) (the temperature sensor is not installed on my car, the ECU report always 0°C)
Oil Pressure:
6A8 4 03 22 D4 29
the ECU will reply:
688 6 05 62 D4 29 xx yy
to trasform xxyy to Bar you will need to multiply the value for 0.0078
for example:
688 6 05 62 D4 29 04 17
hex 0417 = 1047 decimal
1047*0.078=8.2Bar
I put it in the torque application
Envoyé de mon SM-G930F en utilisant Tapatalk
Dernière édition par darkjojo78; 28/05/2019 à 18:25
I haven't Torque app to try this now, but the 2 commands are:
03 22 D4 7D for the oil temperature
03 22 D4 29 for the oil pressure
you need to write these on the first field, but remember that are custom Peugeot command and not standard OBD2 PID...
(28 and 0417 are the returned data of my exemple)
Dernière édition par mfc; 17/04/2017 à 16:51
So sorry for waiting, an other subject. For your 2 questions, the remaped BPS take 182 g/ s on MAF value, between 4000 to 6000 Rmp. This is the limit of turbo / cata couple. That's why power climb down neer the end the turbo can' t give enouth. For second, i haven't got the ori, i have forgoten to ask him.
Dear pichnaute, thanks for the infos: do you know if any other member of this forum have an original file of the 208 BPS ECU?
Les en-tête
commande 7DF = réponse 7E8 , 7E9 , 7EA, 7B8, 7C8, 7EB, 7CC, etc...
commande 6A8 = réponse 688 ecu engine
Le langage :
0123456789ABCDEF
Les commandes:
commande a utiliser dans une application elm327 terminal bluetooth android
AT Z "réinitialisation" (général)
AT D1 "active l'affichage du nombre de bits " (CAN)
AT H1 "active l'affichage de l'en-tête " (OBD)
AT S1 "active les espaces " (OBD)
AT SH 7DF "sélection du ecu" (OBD) yzz ou xx yy zz
01 05 "demande obd adressée a la voiture mode 01 pid 05 température liquide moteur"
AT MA affiche tout les réponse de tout les calculateur
AT MR xx affiche des calculateur cible les xx correspond a un nombre a 2 chiffres: 01, 02, 03, 04, 05, 06, 07, 08,etc
tout les lien utile
http://twisting-roads.com/2017/11/cu...in-a-terminal/
https://www.elmelectronics.com/wp-co...1/ELM327DS.pdf
https://www.elmelectronics.com/wp-co...mand_Table.pdf
https://www.sparkfun.com/datasheets/...T_Commands.pdf
https://en.wikipedia.org/wiki/OBD-II_PIDs
https://www.csselectronics.com/scree...er/language/en
Dernière édition par darkjojo78; 01/05/2020 à 15:59
Liens sociaux