Difference between revisions of "LanModule W5500"

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


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]
 
=== 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:
=== Pinout ===


{| class="wikitable"
{| class="wikitable"
Line 28: Line 42:
|Bemerkung
|Bemerkung
|-
|-
|2
|1
|NC
|NC
|not connected
|not connected
|-
|2
|INT
|not used
|-
|-
|3
|3
|
|RST
|
|not used
|-
|-
|4
|4
|
|GND
|
|Digital Ground
|-
|-
|5
|5
|
|5V
|
|Supply +5V (Alternative: Pin6)
|-
|-
|6
|6
|
|3.3V
|
|Supply 3V3 (Alternative: Pin5)
|-
|-
|7
|7
|
|MISO
|
|Spi Miso
|-
|-
|8
|8
|
|MOSI
|
|Spi Mosi
|-
|-
|9
|9
|
|CS
|
|Spi ChipSelect
|-
|-
|10
|10
|
|SCK
|
|Spi SerialClock
|-
|-
|}
|}
Line 90: Line 108:
|-
|-
|Datum   
|Datum   
|Uhrzeit  
|Uhrzeit  
|Projekt             
|Projekt             
|Version  
|Version  
|Download
|Download
|-
|......
|....
|Library(for Esp32): Ethernet2
|.....
|'''[[:File:Ethernet2forEsp32.zip | Ethernet2forEsp32.zip]]'''
|-
|-
|211016
|211016
Line 103: 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