Difference between revisions of "LanModule W5500"
Jump to navigation
Jump to search
(23 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
[[file: | [[file:2110161037_ModuleW5500png.png | Module W5500 | 350px]] | ||
== Quelle == | == Quelle == | ||
Alternative: [https://www.aliexpress.com/wholesale?trafficChannel=main&d=y&CatId=0&SearchText=w5500<ype=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<ype=wholesale&SortType=price_asc&groupsort=1&page=1 AliExpress Search: W5500] | ||
== Hardware == | == Hardware == | ||
[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 === | |||
{| 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 37: | Line 98: | ||
* Ausklammern der Arduino-Library Ethernet2, Integration ins lib-Verzeichnis des VSCode-Projekts: | * 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''': | |||
[[file:2110161021_LibLan5500Integration.jpg | 2110161021_LibLan5500Integration | 450px]] | |||
* Include-Path '''Ethernet.h''' in '''main.cpp''': | |||
[[file:2110161020_IncludeEthernet2Main.jpg | 2110161020_IncludeEthernet2Main | 450px]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
|Datum | |Datum | ||
|Uhrzeit | |Uhrzeit | ||
|Projekt | |Projekt | ||
|Version | |Version | ||
|Download | |Download | ||
|- | |||
|...... | |||
|.... | |||
|Library(for Esp32): Ethernet2 | |||
|..... | |||
|'''[[:File:Ethernet2forEsp32.zip | Ethernet2forEsp32.zip]]''' | |||
|- | |- | ||
|211016 | |211016 | ||
Line 57: | Line 127: | ||
|} | |} | ||
== | == 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.
Quelle[edit]
Alternative: AliExpress Search: W5500
Hardware[edit]
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)
- VisualStudioCode : Microsoft-C++-Compiler unter Windows/Linux für alle Arduino-(kompatiblen-)MicroController. (Homepage: VisualStudioCode)
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:
- Include-Path Ethernet.h in main.cpp:
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