Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Dusty
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 1
    • Groups 0

    Dusty

    @Dusty

    1
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Dusty Unfollow Follow

    Best posts made by Dusty

    • RE: T-Display-S3 + Ethernet W5500

      @teastain2 ... OMG ... I got it running ... and I am almost to embarrsed to tell the reason ... obviously the breadboard I was using for the T-Display was broken and did not have contact for pin 13 😞 Changing the breadboard solved the problem, Ethernet is now working correctly!

      posted in Technical Discussion
      D
      Dusty

    Latest posts made by Dusty

    • RE: T-Display-S3 + Ethernet W5500

      @teastain2 ... OMG ... I got it running ... and I am almost to embarrsed to tell the reason ... obviously the breadboard I was using for the T-Display was broken and did not have contact for pin 13 😞 Changing the breadboard solved the problem, Ethernet is now working correctly!

      posted in Technical Discussion
      D
      Dusty
    • RE: T-Display-S3 + Ethernet W5500

      @teastain2 Hi, unfortunately I still do not get it working.
      I made a minimal test-script as follows:

      #include <Arduino.h>
      #include <SPI.h>
      #include <Ethernet.h>
      #include <Wire.h>
      
      #define PIN_ETH_SS 10
      #define PIN_ETH_MOSI 11
      #define PIN_ETH_SCK 12
      #define PIN_ETH_MISO 13 
      
      
      byte ip[4]={ 0xc0, 0xa8, 0x7a, 0x7b };
      byte mac[]={ 0x1E, 0xE8, 0x09, 0xE7, 0x56, 0xD8 };
      
      
      void setup() {
        Serial.begin(9600);
        Serial.println("Starting ...");
        SPI.begin(PIN_ETH_SCK,PIN_ETH_MISO,PIN_ETH_MOSI,PIN_ETH_SS);
        Ethernet.init(PIN_ETH_SS);
        Serial.println("Initializing NIC");
        Ethernet.begin(mac,ip);
        if(Ethernet.hardwareStatus()==EthernetNoHardware) {
          Serial.println("Ethernet-Interface not found!");
        } else if (Ethernet.linkStatus() == LinkOFF) {
          Serial.println("Ethernet cable not connected");
        } 
        Serial.println(Ethernet.localIP());
      }
      
      void loop() {
        delay(100);
      }
      

      Unfortunately it only outputs:

      Ethernet-Interface not found!
      0.0.0.0

      On my ESP32-DEVKIT (with the correct ports ( SS = 5, MOSI = 23, SCK=18 and MISO =19) this code is working as expected.

      posted in Technical Discussion
      D
      Dusty
    • RE: T-Display-S3 + Ethernet W5500

      @teastain2 Sorry, as I struggled with the PIN-Selection I missed giving the details.

      • I am using VisualStudioCode with PIO.
      • The Board is a HW-243 (https://www.sunsky-online.com/de/p/TBD05722754/HW-243-W5500-Ethernet-Network-Module-Hardware-TCP-IP-51-STM32-Single-Chip-Program.htm)
        W5500-Library: Default Arduino-Ethernet-Library 2.0.2.
      • Yes it's a LilyGo T-Display-S3 Touch

      I am trying to port a Code which works fine on my ESP32-Devkit-V4 board, but the GPIOs I used there are not available on the T-Display.

      posted in Technical Discussion
      D
      Dusty
    • T-Display-S3 + Ethernet W5500

      I try to connect an ethernet W5500 port to my T-Display-S3 but I don't get it seen. Has anyone a suggestion which pins to use to get it running?

      posted in Technical Discussion
      D
      Dusty