SPI error lambda shield

Support forum for the Lambda Shield designed to connect Bosch LSU 4.9 wideband oxygen sensors to Arduino projects.
Post Reply
Prometheuss80
Posts: 3
Joined: 18 Nov 2020 16:14

SPI error lambda shield

Post by Prometheuss80 » 19 Nov 2020 08:08

I have a problem with Arduino Uno and shiled communication. I have this status on the serial monitor:
0,0,0,310,870,903,2083
Occasionally it appears:
0,0,14336,310,870,902,16418
0,0,30720,310,870,902,32802.

Another version of the code didn't help either. In the last GUI it corresponds to:
Error, CJ125, 0x00

I suspect a faulty shield. Power supply 14V, lambda probe two the same. Arduino Uno rev2 WIFI and Arduino Mega 2560. Everything behaves the same.

I don't know what to do anymore.
Last edited by Christian_Bylund on 19 Nov 2020 14:58, edited 1 time in total.
Reason: Renaming the title for a better explanation.

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

Re: Error lambda shiled

Post by Christian_Bylund » 19 Nov 2020 09:38

Hello,

Thank you for the diagnostic data, I can see that you are using an original Lambda Shield that you recently ordered.

There seems to be an issue with the SPI communication. The other values look good. The original Lambda Shield that you have ordered is not SPI-pin compatible with Arduino Mega 2560 and Arduino Uno WiFi (Unless you run with the specific smartphone code). Have you tested with the standard Arduino Uno?

If you are using an Arduino Mega 2560 you need to add two lead wires to make the SPI communication work properly, here is an example on how to do this.

Thank you.
Best Regards,
Christian Bylund
Bylund Automotive AB

Prometheuss80
Posts: 3
Joined: 18 Nov 2020 16:14

Re: Error lambda shiled

Post by Prometheuss80 » 19 Nov 2020 13:34

Great. Thank you very much. I compared PINout and it was clear to me.
I have it connected to Mega 2560 and softwear for shield 2. I'm a little confused by the warm-up time. The heating is still flashing. The probe heats up, but it never ends.

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

Re: Error lambda shiled

Post by Christian_Bylund » 19 Nov 2020 13:46

Prometheuss80 wrote:
19 Nov 2020 13:34
Great. Thank you very much. I compared PINout and it was clear to me.
I have it connected to Mega 2560 and softwear for shield 2. I'm a little confused by the warm-up time. The heating is still flashing. The probe heats up, but it never ends.
You can not use the software for Lambda Shield 2 on a Lambda Shield 1.

On the product website you find the right software links.

Please try that first.
Best Regards,
Christian Bylund
Bylund Automotive AB

Prometheuss80
Posts: 3
Joined: 18 Nov 2020 16:14

Re: Error lambda shiled

Post by Prometheuss80 » 19 Nov 2020 13:54

I'm so confused that I'm trying everything. Thank you. It already works as it should.
I'm satisfied.

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

Re: Error lambda shiled

Post by Christian_Bylund » 19 Nov 2020 14:56

Prometheuss80 wrote:
19 Nov 2020 13:54
I'm so confused that I'm trying everything. Thank you. It already works as it should.
I'm satisfied.
Excellent, I am glad to hear that the problem has been resolved.
Best Regards,
Christian Bylund
Bylund Automotive AB

Post Reply