LanModule W5500

From Open Hard- & Software
Revision as of 16:41, 16 October 2021 by 91.8.151.223 (talk) (→‎Download)
Jump to navigation Jump to search

WebSite: OH&SW || MediaWiki: - Software - Hardware - Elektronik - Mechanik

Übersicht

Das LanModule W5500 zusammen mit dem Esp32UnoBoard ermöglicht eine bidirektionale Kommunikation über das lokale Netzwerk mit PC / Handy / Tablet.


Module W5500

Quelle

Alternative: AliExpress Search: W5500

Hardware

Datasheet W5500

Specification W5500

Technische Daten

  • Festverdrahtete TCP/IP-Protokolle : TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE,
  • unterstützt 8 unabhängige sockets gleichzeitig,
  • unterstützt PowerDownMode,
  • unterstützt WakeOnLAN über UDP
  • unterstützt HighSpeedSerialPeripheralInterface(SPI MODE 0, 3),
  • Interner 32Kbytes Speicher für Tx/Rx-Buffer,
  • 10BaseT/100BaseTX Ethernet PHY,
  • unterstützt Auto Negotiation (Full and half duplex, 10 und 100-based),
  • keine IP Fragmentierung,
  • Voltage supply 3.3V mit 5V I/O signal tolerance,
  • LED outputs (Full/Half duplex, Link, Speed, Active),
  • Package: 48 Pin LQFP Lead-Free (7x7mm, 0.5mm pitch).

Pinout

Index Name Bemerkung
1 NC not connected
2 INT not used
3 RST not used
4 GND Digital Ground
5 5V Supply +5V (Alternative: Pin6)
6 3.3V Supply 3V3 (Alternative: Pin5)
7 MISO Spi Miso
8 MOSI Spi Mosi
9 CS Spi ChipSelect
10 SCK Spi SerialClock

Software

Programmierung des LanModuls W5500 erfolgt über:

  • ArduinoIDE : Arduino-C++-Compiler unter Windows/Linux für alle Arduino-(kompatiblen-)MicroController. (Homepage: Arduino)

Download

Minimal-Projekt: Esp32VscEthernetServerEthernet2

  • Ausklammern der Arduino-Library Ethernet2, Integration ins lib-Verzeichnis des VSCode-Projekts:
  • Spezielle im Projekt erfolgte lokale Integration der Ethernet2-Library, dabei Umbenennung des Verzeichnisses lib/LanW5500:

2110161021_LibLan5500Integration

  • Include-Path Ethernet.h in main.cpp:

2110161020_IncludeEthernet2Main


Datum Uhrzeit Projekt Version Download
Ethernet2 (for Esp32)
Ethernet2forEsp32.zip
211016 0817 Esp32VscEthernetServerEthernet2 01V05 2110160817_Esp32VscEthernetServerEthernet2_01V05_libLanW5500.zip

Erweiterte Projekte

MID - MultiInterfaceDispatcher



WebSite:OH&SW || MediaWiki - Software - Hardware - Elektronik - Mechanik - Anhang || Datenschutz - Impressum