Page 1 of 1

W5200 and Lampda shield

Posted: 15 Apr 2024 09:28
by Nettenergy
Hi

I am trying to stack a W5200 ethernet shield on top of a MEGA and then the lambda shield. The W5200 is communicating properly until the lambda shield is added. Then the W5200 is not even found anymore. Communication is with the standard 6 SPI pins.
The lambda shield directly on the MEGA works fine.

Already done the route using a MEGA and UNO with each one of the shields and communicating values with SCL/SDA but that is not what I want. RS 485 shield is not an option as they don't pass the SPI pins to the lambda shield.

What could be the solution?

The ultimate aim is to approach the Lambda shield for its values by ethernet (not WIFI) so I can use that in my control logic.

Rob

Re: W5200 and Lampda shield

Posted: 15 Apr 2024 21:28
by Christian_Bylund
Hi Rob,

It seems both shields use the same default chip select pin for the SPI communication, D10. This is likely why neither shield works when stacked.

Hope it helps.

Re: W5200 and Lampda shield

Posted: 15 Apr 2024 22:39
by Nettenergy
Hi Christian

Spotted that too. Did someone ever get a ethernet shield to work with the lambda shield? I cannot imagine i am the first to stumble on this issue.

Rob

Re: W5200 and Lampda shield

Posted: 25 Apr 2024 11:14
by Nettenergy
Hi Christian,

Just an update from my end.

I resulted in using a Arduino Ethernet module ENC28J60.

That allows me change the select pin.

With ModbusEthercard library I can now access the lambda sensor data with TCP/IP

Regards, Rob

PS: Any chance that the LAmbda shield with pin connection on top comes back into the shop?