Page 1 of 2

CJ125 error code on homemade shield

Posted: 05 Jun 2020 01:19
by cristian2020
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!,

Re: CJ125 error code on homemade shield

Posted: 05 Jun 2020 22:41
by Christian_Bylund
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!

Re: CJ125 error code on homemade shield

Posted: 06 Jun 2020 02:29
by cristian2020
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,

Re: CJ125 error code on homemade shield

Posted: 06 Jun 2020 10:27
by Christian_Bylund
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).

Re: CJ125 error code on homemade shield

Posted: 11 Jun 2020 05:31
by cristian2020
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,

Re: CJ125 error code on homemade shield

Posted: 11 Jun 2020 08:06
by Christian_Bylund
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.

Re: CJ125 error code on homemade shield

Posted: 12 Jun 2020 23:52
by cristian2020
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!

Re: CJ125 error code on homemade shield

Posted: 13 Jun 2020 00:03
by Christian_Bylund
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?

Re: CJ125 error code on homemade shield

Posted: 13 Jun 2020 16:21
by cristian2020
bosch 0258988001

Re: CJ125 error code on homemade shield

Posted: 13 Jun 2020 17:13
by Christian_Bylund
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.