esp-idf-can2mqtt icon indicating copy to clipboard operation
esp-idf-can2mqtt copied to clipboard

Connect Network with LAN

Open drdigital-ips opened this issue 1 year ago • 8 comments

Hello, Many thanks for the great project. I would like to use it on an Olimex EVB. I got it running via WiFi. But I would like to use the LAN interface. I've tried adding code for LAN but without success so far. Unfortunately, I don't know enough about the ESP IDF. Would it be possible to include a choice in the code as to whether you want to connect to the network via WIFI or LAN?

drdigital-ips avatar Feb 17 '24 07:02 drdigital-ips

Is the Ethernet you want to use EMAC or SPI?

nopnop2002 avatar Feb 17 '24 07:02 nopnop2002

Hello, it musst be EMAC https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE/ESP-IDF%20examples/ESP32-EVB_Ethernet_v5.1.1 The Olimex EVB Bord have Canbus directly onbord and LAN + Wifi.

drdigital-ips avatar Feb 17 '24 07:02 drdigital-ips

Thanks for the useful link. I'll try testing this code over the weekend.

https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE/ESP-IDF%20examples/ESP32-EVB_Ethernet_v5.1.1

nopnop2002 avatar Feb 17 '24 08:02 nopnop2002

Thank you. I find the Olimex board for Canbus applications very interesting, because it comes with a lot of things on board.

drdigital-ips avatar Feb 17 '24 08:02 drdigital-ips

Have you had time to test the code?

drdigital-ips avatar Feb 25 '24 16:02 drdigital-ips

It seems like my LAN8720 is broken.

nopnop2002 avatar Feb 26 '24 00:02 nopnop2002

Can I help you? Or do you have some tips for me on what I could try?

drdigital-ips avatar Feb 26 '24 19:02 drdigital-ips

thank you. A large amount of modification is required to support Ethernet.

nopnop2002 avatar Feb 26 '24 21:02 nopnop2002