CJ125 error code on homemade shield

Support forum for the Lambda Shield designed to connect Bosch LSU 4.9 wideband oxygen sensors to Arduino projects.
cristian2020
Posts: 8
Joined: 05 Jun 2020 00:28

CJ125 error code on homemade shield

Post by cristian2020 » 05 Jun 2020 01:19

HI!, I manufactured and assembled the lambda shield according to the schematic (http://www.bylund-automotive.com/educat ... index.html). this schematic is correct? I have a question about gnd of MCP14E10-E/SN, This must connect to comon GND?

Image

I tryed work to an arduino UNO and NANO, powered by 12 volts from an external source. Arduino serial displays for CJ125_DIAG_REG_REQUEST: 0x28BF. What could be happening?

28BF
0,0,10431,305,872,788,12396


Regards!,

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: CJ125 error code on homemade shield

Post by Christian_Bylund » 05 Jun 2020 22:41

Hi Cristian,
cristian2020 wrote:
05 Jun 2020 01:19
I manufactured and assembled the lambda shield according to the schematic
Interesting you made your own. If you don't mind me asking, how come you did not order one from our website?
cristian2020 wrote:
05 Jun 2020 01:19
I have a question about gnd of MCP14E10-E/SN, This must connect to comon GND?
That is correct, the GND pin on the MOSFET-driver is connected to common ground.
cristian2020 wrote:
05 Jun 2020 01:19
I tryed work to an arduino UNO and NANO, powered by 12 volts from an external source. Arduino serial displays for CJ125_DIAG_REG_REQUEST: 0x28BF. What could be happening?
You are getting an error code from the CJ125 controller. The low byte (0xBF) is the diagnostic status register.

The DIAG_REG is defined in the CJ125 - Datasheet.

0xBF = 10 11 11 11 = Ext heater - Short circuit to Vbat

I hope this helps you find the problem, good luck!
Best Regards,
Christian Bylund
Bylund Automotive AB

cristian2020
Posts: 8
Joined: 05 Jun 2020 00:28

Re: CJ125 error code on homemade shield

Post by cristian2020 » 06 Jun 2020 02:29

Hi Christian,
thanks for your quick answer
Interesting you made your own. If you don't mind me asking, how come you did not order one from our website?
because I need read o2 for urgent project and imports to my country are slow due to the pandemic.


It is rare, I checked the schema over and over again and did it the same as published, I see no difference.

the published schema is correct?

thanks you!
Regards,

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: CJ125 error code on homemade shield

Post by Christian_Bylund » 06 Jun 2020 10:27

cristian2020 wrote:
06 Jun 2020 02:29
It is rare, I checked the schema over and over again and did it the same as published, I see no difference. The published schema is correct?
Hi Cristian, the schematics is the originals used for the PCB. Can you make sure when the MOSFET is off you get 0x28FF from the CJ125 with 12V supply? On the original lambda shield HEATER_OUTPUT_PIN (digital pin 5) shall be low until CJ125 DIAG_REG shows CJ125_DIAG_REG_STATUS_OK (0x28FF).
Best Regards,
Christian Bylund
Bylund Automotive AB

cristian2020
Posts: 8
Joined: 05 Jun 2020 00:28

Re: CJ125 error code on homemade shield

Post by cristian2020 » 11 Jun 2020 05:31

Hi Christian, very thank you, the error is MOSFET driver...
I assembled a mcp14e9 instead of mcp14e10. checking the datasheet of this, I see that it gives a reverse output. i can't get mcp14e10 quickly. Could it work if I invert the input signal (digital pin 5) mcp14e9 with a transistor?

Regards,

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: CJ125 error code on homemade shield

Post by Christian_Bylund » 11 Jun 2020 08:06

cristian2020 wrote:
11 Jun 2020 05:31
Could it work if I invert the input signal (digital pin 5) mcp14e9 with a transistor?
Great, problem solved! Have a look at our Lambda Shield 2 on how you can skip the driver completely.
Best Regards,
Christian Bylund
Bylund Automotive AB

cristian2020
Posts: 8
Joined: 05 Jun 2020 00:28

Re: CJ125 error code on homemade shield

Post by cristian2020 » 12 Jun 2020 23:52

Very thanks you Christian!.

now the circuit is working.
but all time serial print shows heating sensor, is normal?

I copy a register.

1,1,10495,324,859,822,12502
1,1,10495,329,860,825,12511
1,1,10495,334,860,805,12496
1,1,10495,339,860,797,12493
1,1,10495,345,858,804,12504
1,1,10495,352,858,809,12516
1,1,12031,303,296,860,13492
1,1,10495,339,859,859,12554
1,1,10495,331,859,859,12546
1,1,10495,323,859,860,12539


best regards!

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: CJ125 error code on homemade shield

Post by Christian_Bylund » 13 Jun 2020 00:03

cristian2020 wrote:
12 Jun 2020 23:52
but all time serial print shows heating sensor, is normal?
No that is not normal, your values indicate a cold sensor. This is typical for certain aftermarket sensors. What sensor are you using?
Best Regards,
Christian Bylund
Bylund Automotive AB

cristian2020
Posts: 8
Joined: 05 Jun 2020 00:28

Re: CJ125 error code on homemade shield

Post by cristian2020 » 13 Jun 2020 16:21

bosch 0258988001

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: CJ125 error code on homemade shield

Post by Christian_Bylund » 13 Jun 2020 17:13

cristian2020 wrote:
13 Jun 2020 16:21
bosch 0258988001
As long as it is a genuine Bosch sensor and not an aftermarket one there should be no issue with he sensor.

Well, lets start analysing your output.

1,1,10495,323,859,860,12539
1 = This is actually a problem, it sounds like you are using the original Lambda Shield, but this hardware id indicates Lambda Shield 2. Make sure you are using the correct source code.

1,1,10495,323,859,860,12539
10495 = CJ125 Status OK (0x28FF).

1,1,10495,323,859,860,12539
859 = Indicates cold sensor.

My guess is you are using Lambda Shield 2 GUI Code, try Lambda-Shield-GUI-Example instead.
Best Regards,
Christian Bylund
Bylund Automotive AB

Post Reply