Hello,
using Torque I am able to monitor the DPF quantity with the following CUSTOM PID:
Mode OBD2 and PD = 22242C
Name = DPF quantity
min value = 0
max value = 600
scale factor = X1
units = Gr
Equation = (A*256+B)/100
Header OBD = 7E0
How can I implement my CUSTOM PID on Freematics UART v.2.1 ?
Regards,
Lucio
Freematics UART 2.1 Custom PID 22242C creation
-
- Posts: 11
- Joined: Fri Jan 31, 2020 8:00 pm
- Location: Italy
Re: Freematics UART 2.1 Custom PID 22242C creation
For any custom PIDs, you can try CAN sniffing mode.
-
- Posts: 11
- Joined: Fri Jan 31, 2020 8:00 pm
- Location: Italy
Re: Freematics UART 2.1 Custom PID 22242C creation
Hello Stanley,
Do you have an example as reference to follow?
Regards.
Lucio
Do you have an example as reference to follow?
Regards.
Lucio
-
- Posts: 11
- Joined: Fri Jan 31, 2020 8:00 pm
- Location: Italy
Re: Freematics UART 2.1 Custom PID 22242C creation
Hi Stanley,
do you have an example code to start?
Regards,
Lucio
do you have an example code to start?
Regards,
Lucio
-
- Posts: 11
- Joined: Fri Jan 31, 2020 8:00 pm
- Location: Italy
Re: Freematics UART 2.1 Custom PID 22242C creation
Hello Stanley,
after the following commands:
ATZ
ATDP
ATH1
ATS1
22242C
I retrieved the following hex codes
7E8 05 62 24 2C 01 63
how I can decode it order to calculare the right value by the formula:
(A*256 + B)/100
Regards.
after the following commands:
ATZ
ATDP
ATH1
ATS1
22242C
I retrieved the following hex codes
7E8 05 62 24 2C 01 63
how I can decode it order to calculare the right value by the formula:
(A*256 + B)/100
Regards.
-
- Posts: 11
- Joined: Fri Jan 31, 2020 8:00 pm
- Location: Italy
Re: Freematics UART 2.1 Custom PID 22242C creation
Sniffing done.
On serial monitor, if i write 222556 he reply to me
Correctly with right values.
He reply 62 25 54 01 FF so,
25 54 is pid and 01 FF are values.
Could you please update your library to work with
2byte pids?
Or, can I use obd.sendCommand ?
If yes, how I can do it?
thanks for your help.
Regards.
Lucio
On serial monitor, if i write 222556 he reply to me
Correctly with right values.
He reply 62 25 54 01 FF so,
25 54 is pid and 01 FF are values.
Could you please update your library to work with
2byte pids?
Or, can I use obd.sendCommand ?
If yes, how I can do it?
thanks for your help.
Regards.
Lucio