3535 * [ Basic Operation] ( #basic-operations )
3636 * [ Advanced Options] ( #advanced-options )
3737 * [ Other Function Calls] ( #other-function-calls )
38- * [ How to connect W5500 to ESP32_S3 ] ( #How-to-connect-W5500-to-ESP32_S3 )
38+ * [ How to connect W5500 to ESP32_S2/S3 ] ( #How-to-connect-W5500-to-ESP32_S2S3 )
3939* [ Examples] ( #examples )
4040 * [ Original Examples] ( #original-examples )
4141 * [ 1. AdvancedWebServer] ( examples/AdvancedWebServer )
6262 * [ 4. MQTTClient_Basic on ESP32S3_DEV with ESP32_S3_W5500] ( #4-MQTTClient_Basic-on-ESP32S3_DEV-with-ESP32_S3_W5500 )
6363 * [ 5. WebClient on ESP32S3_DEV with ESP32_S3_W5500] ( #5-WebClient-on-ESP32S3_DEV-with-ESP32_S3_W5500 )
6464 * [ 6. UDPSendReceive on ESP32S3_DEV with ESP32_S3_W5500] ( #6-UDPSendReceive-on-ESP32S3_DEV-with-ESP32_S3_W5500 )
65+ * [ 7. AdvancedWebServer on ESP32S2_DEV with ESP32_S2_W5500] ( #7-AdvancedWebServer-on-ESP32S2_DEV-with-ESP32_S2_W5500 )
6566* [ Debug] ( #debug )
6667* [ Troubleshooting] ( #troubleshooting )
6768* [ Releases] ( #releases )
@@ -98,22 +99,32 @@ Library is providing similar functions to:
98991 . [ Ivan Grokhotkov's ESP32 WebServer] ( https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer )
991002 . [ HTTPClient Library] ( https://github.com/espressif/arduino-esp32/tree/master/libraries/HTTPClient )
100101
102+ ---
103+
101104Please also check these twin libraries
102105
1031061 . [ WebServer_WT32_ETH01] ( https://github.com/khoih-prog/WebServer_WT32_ETH01 ) for ESP32-based ` WT32_ETH01 ` using ` LwIP LAN8720 `
1041072 . [ WebServer_ESP32_ENC] ( https://github.com/khoih-prog/WebServer_ESP32_ENC ) for ESP32-boards using ` LwIP ENC28J60 `
1051083 . [ WebServer_ESP32_W5500] ( https://github.com/khoih-prog/WebServer_ESP32_W5500 ) for ESP32-boards using ` LwIP W5500 `
1061094 . [ WebServer_ESP32_SC_ENC] ( https://github.com/khoih-prog/WebServer_ESP32_SC_ENC ) for ESP32_S3-boards using ` LwIP ENC28J60 `
107110
111+ ---
108112
109113#### Currently supported Boards
110114
111115This [ ** WebServer_ESP32_SC_W5500** library] ( https://github.com/khoih-prog/WebServer_ESP32_SC_W5500 ) currently supports these following boards:
112116
113117 1 . ** ESP32_S3 boards** using ` LwIP W5500 Ethernet `
118+ 2 . ** ESP32_S2 boards** using ` LwIP W5500 Ethernet `
114119
115- Hopefully the ` ESP32_S2 ` and ` ESP32_C3-based ` boards will be supported in the near future to use ` LwIP W5500 or ENC28J60 Ethernet `
120+ Hopefully the ` ESP32_C3-based ` boards will be supported in the near future to use ` LwIP W5500 or ENC28J60 Ethernet `
121+
116122
123+ #### ESP32S2_DEV
124+
125+ <p align =" center " >
126+ <img src="https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/raw/main/pics/ESP32S2_DEV.png">
127+ </p >
117128
118129#### ESP32S3_DEV
119130
@@ -201,8 +212,6 @@ in many files. But be sure to use the following `.h` file **in just 1 `.h`, `.cp
201212
202213Check the new [ ** multiFileProject** example] ( examples/multiFileProject ) for a ` HOWTO ` demo.
203214
204-
205-
206215---
207216---
208217
@@ -253,7 +262,7 @@ Look in file [**adc_common.c**](https://github.com/espressif/esp-idf/blob/master
253262### Class Constructor
254263
255264``` cpp
256- WebServer server (80);
265+ WebServer server (80);
257266```
258267
259268Creates the `WebServer_ESP32_SC_W5500` class object.
@@ -408,7 +417,7 @@ size_t streamFile();
408417---
409418---
410419
411- ### How to connect W5500 to ESP32_S3
420+ ### How to connect W5500 to ESP32_S2/S3
412421
413422You can change the ` INT ` pin to another one. Default is ` GPIO4 `
414423
@@ -419,13 +428,6 @@ You can change the `INT` pin to another one. Default is `GPIO4`
419428
420429---
421430
422-
423- #### ESP32S3_DEV
424-
425- <p align =" center " >
426- <img src="https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/raw/main/pics/ESP32S3_DEV.png">
427- </p >
428-
429431#### W5500
430432
431433<p align =" center " >
@@ -436,6 +438,14 @@ You can change the `INT` pin to another one. Default is `GPIO4`
436438 <img src="https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/raw/main/pics/W5500_small.png">
437439</p >
438440
441+ ---
442+
443+
444+ #### ESP32S3_DEV
445+
446+ <p align =" center " >
447+ <img src="https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/raw/main/pics/ESP32S3_DEV.png">
448+ </p >
439449
440450
441451| W5500| <--->| ESP32_S3|
@@ -449,6 +459,26 @@ You can change the `INT` pin to another one. Default is `GPIO4`
449459| GND| <--->| GND|
450460| 3.3V| <--->| 3.3V|
451461
462+ ---
463+
464+ #### ESP32S2_DEV
465+
466+ <p align =" center " >
467+ <img src="https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/raw/main/pics/ESP32S2_DEV.png">
468+ </p >
469+
470+
471+ | W5500| <--->| ESP32_S2|
472+ | :-:| :-:| :-:|
473+ | MOSI| <--->| GPIO35|
474+ | MISO| <--->| GPIO37|
475+ | SCK| <--->| GPIO36|
476+ | SS| <--->| GPIO34|
477+ | INT| <--->| GPIO4|
478+ | RST| <--->| RST|
479+ | GND| <--->| GND|
480+ | 3.3V| <--->| 3.3V|
481+
452482
453483---
454484---
@@ -740,6 +770,40 @@ Unix time = 1670996705
740770The UTC time is 5:45:05
741771```
742772
773+ ---
774+
775+
776+ #### 7. AdvancedWebServer on ESP32S2_DEV with ESP32_S2_W5500
777+
778+ The following are debug terminal output and screen shot when running example [ AdvancedWebServer] ( examples/AdvancedWebServer ) on ` ESP32S2_DEV ` with ` ESP32_S2_W5500 ` . The ` built-in MAC address ` is used now instead of user-defined one.
779+
780+ <p align =" center " >
781+ <img src="https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/raw/main/pics/AdvancedWebServer_ESP32_S2.png">
782+ </p >
783+
784+ ``` cpp
785+ Start AdvancedWebServer on ESP32S2_DEV with ESP32_S2_W5500
786+ WebServer_ESP32_SC_W5500 v1.1.0 for core v2.0.0 +
787+ [EWS] Default SPI pinout:
788+ [EWS] SPI_HOST: 2
789+ [EWS] MOSI: 35
790+ [EWS] MISO: 37
791+ [EWS] SCK: 36
792+ [EWS] CS: 34
793+ [EWS] INT: 4
794+ [EWS] SPI Clock (MHz): 25
795+ [ EWS] =========================
796+ Using built-in mac_eth = 7E:DF:A1:08:32: C9
797+
798+ ETH Started
799+ ETH Connected
800+ ETH MAC: 7E:DF:A1:08:32: C9 , IPv4: 192.168.2.133
801+ FULL_DUPLEX, 100Mbps
802+ HTTP EthernetWebServer is @ IP : 192.168.2.133
803+ ...
804+ ```
805+
806+
743807---
744808---
745809
@@ -774,15 +838,15 @@ Submit issues to: [WebServer_ESP32_SC_W5500 issues](https://github.com/khoih-pro
774838### TO DO
775839
7768401 . Bug Searching and Killing
777- 2 . Add support to ** ESP32_S2 and ESP32_C3-based boards** using ` LwIP W5500 Ethernet `
841+ 2 . Add support to ** ESP32_C3-based boards** using ` LwIP W5500 Ethernet `
7788423 . Add support to ** ESP32_S2 and ESP32_C3-based boards** using ` LwIP ENC28J60 Ethernet `
779843
780844### DONE
781845
782846 1 . Add support to ** ESP32S3-based boards** using ` LwIP W5500 Ethernet `
783847 2 . Using ` SPI_DMA_CH_AUTO ` instead of manually selected
784848 3 . Add example [ multiFileProject]] ( https://github.com/khoih-prog/WebServer_ESP32_SC_W5500/tree/main/examples/multiFileProject )
785-
849+ 4 . Add support to ** ESP32S2-based boards ** using ` LwIP W5500 Ethernet `
786850
787851---
788852---
0 commit comments