Difference between revisions of "LanModule W5500"

From Open Hard- & Software
Jump to navigation Jump to search
 
(20 intermediate revisions by 3 users not shown)
Line 6: Line 6:




[[file:21xxxxxxxx_LanW5500.png | Bild vom W5500-Module 350px]]
[[file:2110161037_ModuleW5500png.png | Module W5500 | 350px]]


== Quelle ==
== Quelle ==


Alternative: [https://www.aliexpress.com/wholesale?trafficChannel=main&d=y&CatId=0&SearchText=w5500&ltype=wholesale&SortType=price_asc&groupsort=1&page=1 AliExpress Search: W5500]
Alternative: [https://www.aliexpress.com/wholesale?trafficChannel=main&d=y&CatId=0&SearchText=w5500&ltype=wholesale&SortType=price_asc&groupsort=1&page=1 AliExpress Search: W5500]
== Vorgabe ==


== Hardware ==
== Hardware ==
   
   


Technische Daten:
[https://docs.wiznet.io/img/products/w5500/w5500_ds_v109e.pdf Datasheet W5500]


[https://www.wiznet.io/product-item/w5500 Specification W5500]


Pinout:
=== 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 ===
{| class="wikitable"
|-
|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 ==
== Software ==
Line 38: Line 99:


* Spezielle im Projekt erfolgte lokale Integration der '''Ethernet2-Library''', dabei Umbenennung des Verzeichnisses '''lib/LanW5500''':
* Spezielle im Projekt erfolgte lokale Integration der '''Ethernet2-Library''', dabei Umbenennung des Verzeichnisses '''lib/LanW5500''':
[[file:2110161021_LibLan5500Integration.jpg | 2110161021_LibLan5500Integration | 350px]]
[[file:2110161021_LibLan5500Integration.jpg | 2110161021_LibLan5500Integration | 450px]]


* Include-Path '''Ethernet.h''' in '''main.cpp''':
* Include-Path '''Ethernet.h''' in '''main.cpp''':
[[file:2110161020_IncludeEthernet2Main.jpg | 2110161020_IncludeEthernet2Main | 350px]]
[[file:2110161020_IncludeEthernet2Main.jpg | 2110161020_IncludeEthernet2Main | 450px]]




Line 47: Line 108:
|-
|-
|Datum   
|Datum   
|Uhrzeit  
|Uhrzeit  
|Projekt             
|Projekt             
|Version  
|Version  
|Download
|Download
|-
|......
|....
|Library(for Esp32): Ethernet2
|.....
|'''[[:File:Ethernet2forEsp32.zip | Ethernet2forEsp32.zip]]'''
|-
|-
|211016
|211016
Line 60: Line 127:
|}
|}


== Angegliederte Projekte ==
== Erweiterte Projekte ==


[[MID-MultiInterfaceDispatcher | MID - MultiInterfaceDispatcher]]
[[MID-MultiInterfaceDispatcher | MID - MultiInterfaceDispatcher]]

Latest revision as of 16:54, 16 October 2021

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

Übersicht[edit]

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


Module W5500

Quelle[edit]

Alternative: AliExpress Search: W5500

Hardware[edit]

Datasheet W5500

Specification W5500

Technische Daten[edit]

  • 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[edit]

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[edit]

Programmierung des LanModuls W5500 erfolgt über:

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

Download[edit]

Minimal-Projekt: Esp32VscEthernetServerEthernet2[edit]

  • 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
...... .... Library(for Esp32): Ethernet2 ..... Ethernet2forEsp32.zip
211016 0817 Esp32VscEthernetServerEthernet2 01V05 2110160817_Esp32VscEthernetServerEthernet2_01V05_libLanW5500.zip

Erweiterte Projekte[edit]

MID - MultiInterfaceDispatcher



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