ESP32-POE-ISO with Arduino IDE 2.0

Started by ajward, October 12, 2022, 02:16:45 AM

Previous topic - Next topic

ajward

Hi,
I'm having trouble getting one of these boards working using the examples that come with the board support. I have the Board connected over USB, and I can program it and run programs successfully.

I know the Arduino IDE fairly well, but I can't get connected on a LAN. The Sketch seems to stall at

  // Wait for connection
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }


It seems a little confusing, since Wifi SSID and password are irrelevant on a LAN.

It also seems to try and flash an LED on Pin 13 that isn't there (as far as I can tell).

These are specifically examples for the ESP32-POE-ISO, or so it says.

What am I missing?

ajward

...A bit more progress. I've got the AdvancedWebServer example to function, but over WiFi. How do I alter the code to use wired Ethernet and turn WiFi off?

LubOlimex

Use the default Ethernet demo that is part of the Arduino IDE for ESP32. Load the default example for Ethernet, from File -> Examples -> Ethernet -> ETH_LAN8720. Compile and upload.
Technical support and documentation manager at Olimex

ajward

Thanks for the quick reply.

I have 3 versions of the Arduino IDE: 1.8.13, 1.8.19 (latest 1.x) and 2.0.0

None of them include File -> Examples -> Ethernet! Grrr! Somebody moved it I guess.

However, some extensive searching revealed File -> Examples -> WiFi -> ETH_LAN8720

In Ardiuno 2.0.0 AND IT WORKS! Maybe this'll help someone else!

Thanks again for your help. You guys do great work!

LubOlimex

Maybe it was changed, glad you got it working and thanks for the update.
Technical support and documentation manager at Olimex