You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
### Releases v1.5.0
1. Add support to WizNet `WizFi360`, such as `WIZNET_WIZFI360_EVB_PICO` using `arduino-pico` core
2. Modify examples to Enable `IP MUX`
<ahref="https://www.buymeacoffee.com/khoihprog6"title="Donate to my libraries using BuyMeACoffee"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"alt="Donate to my libraries using BuyMeACoffee"style="height: 50px!important;width: 181px!important;" ></a>
11
11
<ahref="https://www.buymeacoffee.com/khoihprog6"title="Donate to my libraries using BuyMeACoffee"><imgsrc="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-orange.svg?logo=buy-me-a-coffee&logoColor=FFDD00"style="height: 20px!important;width: 200px!important;" ></a>
12
12
13
+
13
14
---
14
15
---
15
16
@@ -18,11 +19,13 @@
18
19
*[Why do we need this ESP_AT_Lib library](#why-do-we-need-this-esp_at_lib-library)
*[1. HTTPGET on RASPBERRY_PI_PICO with ESP8266-AT shield](#1-httpget-on-raspberry_pi_pico-with-esp8266-at-shield)
66
69
*[2. HTTPGET on MBED RASPBERRY_PI_PICO with ESP8266-AT shield](#2-httpget-on-mbed-raspberry_pi_pico-with-esp8266-at-shield)
70
+
*[3. TCPServer on WIZNET_WIZFI360_EVB_PICO](#3-TCPServer-on-WIZNET_WIZFI360_EVB_PICO)
67
71
*[Debug](#debug)
68
72
*[Troubleshooting](#troubleshooting)
69
73
*[Releases](#releases)
@@ -82,7 +86,7 @@
82
86
83
87
#### Features
84
88
85
-
This is an ESP8266/ESP32 wrapper library for Arduino providing an easy-to-use way to manipulate ESP8266/ESP32-AT shields.
89
+
This is an WizFi360/ESP8266/ESP32 wrapper library for Arduino providing an easy-to-use way to manipulate WizFi360/ESP8266/ESP32-AT shields.
86
90
87
91
This library is based on, modified and improved from [ITEADLIB_Arduino_WeeESP8266](https://github.com/itead/ITEADLIB_Arduino_WeeESP8266)
88
92
@@ -123,33 +127,60 @@ This [**ESP_AT_Lib** library](https://github.com/khoih-prog/ESP_AT_Lib) currentl
123
127
- Generic Flight Controllers
124
128
- Midatronics boards
125
129
126
-
7.**SIPEED_MAIX_DUINO** boards
130
+
7.**SIPEED_MAIX_DUINO** boards
131
+
132
+
8. RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040** using [**Earle Philhower's arduino-pico** core v1.4.0+](https://github.com/earlephilhower/arduino-pico) or [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
133
+
134
+
9. RP2040-based boards, such as **Nano_RP2040_Connect** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
127
135
128
-
8. RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040** using [**Earle Philhower's arduino-pico** core v1.4.0+](https://github.com/earlephilhower/arduino-pico) or [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
136
+
10.**WIZNET_WIZFI360_EVB_PICO** using [**Earle Philhower's arduino-pico** core](https://github.com/earlephilhower/arduino-pico)
129
137
130
-
9. RP2040-based boards, such as **Nano_RP2040_Connect** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
1.[`Arduino IDE 1.8.19+` for Arduino](https://www.arduino.cc/en/Main/Software)
168
+
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
140
169
2.[`Arduino AVR core 1.8.6+`](https://github.com/arduino/ArduinoCore-avr) for Arduino (Use Arduino Board Manager) for AVR boards. [](https://github.com/arduino/ArduinoCore-avr/releases/latest)
141
-
3.[`Arduino Core for STM32 v2.3.0+`](https://github.com/stm32duino/Arduino_Core_STM32) for STM32F/L/H/G/WB/MP1 boards (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.). [](https://github.com/stm32duino/Arduino_Core_STM32/releases/latest)
9.[`Adafruit nRF52 v1.3.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
148
-
10.[`Earle Philhower's arduino-pico core v2.6.3+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [](https://github.com/earlephilhower/arduino-pico/releases/latest)
149
-
11.[`Arduino mbed_rp2040 core 3.4.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as RASPBERRY_PI_PICO. [](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
176
+
9.[`Adafruit nRF52 v1.3.0`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
177
+
10.[`Arduino mbed_rp2040 core 3.5.4+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**.[](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
178
+
11.[`Earle Philhower's arduino-pico core v2.7.1+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [](https://github.com/earlephilhower/arduino-pico/releases/latest)
150
179
12.[`Ai-Thinker AT Firmware v1.5.4`](AT_Firmwares/At_firmware_bin1.54.zip) or [`AT Firmware v1.7.4.0`](AT_Firmwares/AT_Firmware_bin_1.7.4.0.zip) for ESP8266-AT shields.
151
180
13.[`AT version_2.1.0.0_dev`](AT_Firmwares/AT_version_2.1.0.0_dev.zip) for ESP32-AT shields.
152
-
14.`AT version_1.1.4` for WIS600-01S and W600-AT WiFi shields.
181
+
14.`AT version_1.1.4` for `WIS600-01S` and `W600-AT` WiFi shields
182
+
15.`AT version:1.1.1.7` for `WizFi360` WiFi shields
183
+
153
184
154
185
---
155
186
---
@@ -197,7 +228,20 @@ This [**ESP_AT_Lib** library](https://github.com/khoih-prog/ESP_AT_Lib) currentl
197
228
198
229
See instructions at [AT Command Core](https://github.com/espressif/esp-at) and [ESP_AT_Get_Started](https://github.com/espressif/esp-at/blob/master/docs/en/get-started/ESP_AT_Get_Started.md)
199
230
200
-
3. Upload [`AT Firmware v1.7.4.0`](https://github.com/khoih-prog/ESP8266_AT_WebServer/blob/master/AT_Firmwares/AT_Firmware_bin_1.7.4.0.zip) bin files to correct locations as follows:
231
+
232
+
#### 3. Firmwares tested OK with WizFi360 AT shields
4. Upload [`AT Firmware v1.7.4.0`](https://github.com/khoih-prog/ESP8266_AT_WebServer/blob/master/AT_Firmwares/AT_Firmware_bin_1.7.4.0.zip) bin files to correct locations as follows:
201
245
202
246
```
203
247
# BOOT MODE
@@ -216,9 +260,10 @@ This [**ESP_AT_Lib** library](https://github.com/khoih-prog/ESP_AT_Lib) currentl
216
260
blank.bin 0xfe000 & 0x1fe000
217
261
```
218
262
219
-
4. Test before using different AT-Firmware Version at your own risks. Just use any simple example to verify if the AT-firmware is OK.
220
-
5. Compatible AT-Firmare version will be updated. Check for all supported AT Firmwares and download them from [AT_Firmwares](https://github.com/khoih-prog/ESP8266_AT_WebServer/tree/master/AT_Firmwares).
221
-
6. Support to ESP32-AT-command shields will be added by using new library [ESP_AT_Lib](https://github.com/khoih-prog/ESP_AT_Lib) to replace [Blynk's BlynkESP8266_Lib](https://github.com/blynkkk/blynk-library/releases/Blynk_Release_v0.6.1.zip).
263
+
264
+
5. Test before using different AT-Firmware Version at your own risks. Just use any simple example to verify if the AT-firmware is OK.
265
+
6. Compatible AT-Firmare version will be updated. Check for all supported AT Firmwares and download them from [AT_Firmwares](https://github.com/khoih-prog/ESP8266_AT_WebServer/tree/master/AT_Firmwares).
266
+
7. Support to ESP32-AT-command shields will be added by using new library [ESP_AT_Lib](https://github.com/khoih-prog/ESP_AT_Lib) to replace [Blynk's BlynkESP8266_Lib](https://github.com/blynkkk/blynk-library/releases/Blynk_Release_v0.6.1.zip).
222
267
223
268
---
224
269
---
@@ -662,13 +707,14 @@ ESP8266 wifi(&Serial1);
662
707
663
708
The connection should be like these:
664
709
665
-
```
666
-
ESP8266_TX->RX1(D19)
667
-
ESP8266_RX->TX1(D18)
668
-
ESP8266_CH_PD->3.3V
669
-
ESP8266_VCC->3.3V
670
-
ESP8266_GND->GND
671
-
```
710
+
711
+
|ESP8266|<--->|MEGA, SAM DUE|
712
+
|:-:|:-:|:-:|
713
+
|TX|<--->|RX1(D19)|
714
+
|RX|<--->|TX1(D18)|
715
+
|CH_PD|<--->|3.3V|
716
+
|VCC|<--->|3.3V|
717
+
|GND|<--->|GND|
672
718
673
719
---
674
720
@@ -690,7 +736,7 @@ The `SERIAL_TX_BUFFER_SIZE` and `SERIAL_RX_BUFFER_SIZE` are already redefined to
690
736
#define SERIAL_RX_BUFFER_SIZE 256
691
737
#endif
692
738
#else
693
-
#if defined(SERIAL_TX_BUFFER_SIZE)
739
+
#if defined(SERIAL_TX_BUFFER_SIZE)
694
740
#undef SERIAL_TX_BUFFER_SIZE
695
741
#define SERIAL_TX_BUFFER_SIZE 2048
696
742
#endif
@@ -719,8 +765,13 @@ The `SERIAL_TX_BUFFER_SIZE` and `SERIAL_RX_BUFFER_SIZE` are already redefined to
#### 1. HTTPGET on RASPBERRY_PI_PICO with ESP8266-AT shield
731
782
732
-
This is the terminal output when running [HTTPGET](examples/HTTPGET) example on **RASPBERRY_PI_PICO with ESP8266-AT shield**, using [Earle Philhower's arduino-pico core](https://github.com/earlephilhower/arduino-pico)
783
+
This is the terminal output when running [HTTPGET](examples/HTTPGET) example on **RASPBERRY_PI_PICO with ESP8266-AT shield**, using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
733
784
734
785
735
786
```cpp
736
787
Start HTTPGET on RASPBERRY_PI_PICO
737
-
ESP_AT_Lib v1.4.1
788
+
ESP_AT_Lib v1.5.0
738
789
FW Version:AT+GMR
739
790
AT version:1.7.4.0(May 11202019:13:04)
740
791
SDK version:3.0.4(9532ceb)
@@ -797,7 +848,7 @@ This is the terminal output when running [HTTPGET](examples/HTTPGET) example on
This is the terminal output when running [TCPServer](examples/TCPServer) example on **WIZNET_WIZFI360_EVB_PICO**, using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
919
+
920
+
921
+
```cpp
922
+
Start TCPServer on WIZNET_WIZFI360_EVB_PICO
923
+
FW Version:AT+GMR
924
+
AT version:1.1.1.7(May 4202115:14:59)
925
+
SDK version:3.2.0(a0ffff9f)
926
+
compile time:May 4202115:14:59
927
+
AT+CWMODE?
928
+
Set AP/STA Mode OK
929
+
AT+CWJAP_DEF="
930
+
Connect to WiFi OK
931
+
IP: AT+CIFSR
932
+
+CIFSR:APIP,"192.168.100.1"
933
+
+CIFSR:APMAC,"02:08:dc:6d:9c:f0"
934
+
+CIFSR:STAIP,"192.168.2.125"
935
+
+CIFSR:STAMAC,"00:08:dc:6d:9c:f0"
936
+
AT+CIPMUX=
937
+
enableMUX OK
938
+
AT+CIPSERVER=1,
939
+
Start TCP server OK
940
+
AT+CIPSTO=
941
+
Set TCP server timeout 10 seconds
942
+
Done
943
+
Status:[AT+CIPSTATUS
944
+
STATUS:3
945
+
+CIPSTATUS:0,"TCP","192.168.2.30",34422,80,1
946
+
+CIPSTATUS:1,"UDP","192.168.2.30",5416,56469,0]
947
+
Received from :0
948
+
[GET / HTTP/1.1
949
+
Host: 192.168.2.125
950
+
Connection: keep-alive
951
+
Cache-Control: max-age=0
952
+
DNT: 1
953
+
Upgrade-Insecure-Requests: 1
954
+
Use]
955
+
AT+CIPSEND=
956
+
Send back OK
957
+
AT+CIPCLOSE=
958
+
Release TCP 0 OK
959
+
Status:[AT+CIPSTATUS
960
+
STATUS:3
961
+
+CIPSTATUS:1,"UDP","192.168.2.30",5416,56469,0]
962
+
Status:[AT+CIPSTATUS
963
+
STATUS:3
964
+
+CIPSTATUS:0,"TCP","192.168.2.30",34578,80,1
965
+
+CIPSTATUS:1,"UDP","192.168.2.30",5416,56469,0]
966
+
Received from :0
967
+
[GET / HTTP/1.1
968
+
Host: 192.168.2.125
969
+
Connection: keep-alive
970
+
Cache-Control: max-age=0
971
+
DNT: 1
972
+
Upgrade-Insecure-Requests: 1
973
+
Use]
974
+
AT+CIPSEND=
975
+
Send back OK
976
+
AT+CIPCLOSE=
977
+
Release TCP 0 OK
978
+
Status:[AT+CIPSTATUS
979
+
STATUS:3
980
+
+CIPSTATUS:1,"UDP","192.168.2.30",5416,56469,0]
861
981
```
862
982
863
983
---
@@ -880,9 +1000,9 @@ Debug is disabled by default on Serial. To enable, add at the beginning of sketc
880
1000
881
1001
### Troubleshooting
882
1002
883
-
If you get compilation errors, more often than not, you may need to install a newer version of the board's core, `ESP8266/ESP32-AT shield` AT-command or this library version.
1003
+
If you get compilation errors, more often than not, you may need to install a newer version of the board's core, `WizFi360/ESP8266/ESP32-AT shield` AT-command or this library version.
884
1004
885
-
Sometimes, the library will only work if you update the `ESP8266/ESP32-AT shield` core to the newer or older version because some function compatibility.
1005
+
Sometimes, the library will only work if you update the `WizFi360/ESP8266/ESP32-AT shield` core to the newer or older version because some function compatibility.
886
1006
887
1007
---
888
1008
---
@@ -903,20 +1023,22 @@ Submit issues to: [ESP_AT_Lib issues](https://github.com/khoih-prog/ESP_AT_Lib/i
903
1023
904
1024
### DONE
905
1025
906
-
1. Add ESP32-AT support
1026
+
1. Add `ESP32-AT` support
907
1027
2. Replace deprecated AT commands
908
1028
3. Add debug output with debug levels
909
1029
4. Increase TX/RX Hardware Serial Buffer size
910
1030
5. Test OK with supported boards, running Blynk, Config Portal
911
-
6. Add support to RP2040-based boards such as RASPBERRY_PI_PICO, using [Earle Philhower's arduino-pico core](https://github.com/earlephilhower/arduino-pico)
912
-
7. Add support to SIPEED_MAIX_DUINO
1031
+
6. Add support to `RP2040-based` boards such as `RASPBERRY_PI_PICO`, using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
1032
+
7. Add support to `SIPEED_MAIX_DUINO`
913
1033
8. Add Table-of-Contents
914
1034
9. Add Version String
915
-
10. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO boards** using [Earle Philhower's arduino-pico core](https://github.com/earlephilhower/arduino-pico)
916
-
11. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO boards** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
917
-
12. Add support to RP2040-based boards, such as **Nano_RP2040_Connect** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
918
-
13. Add support to Adafruit nRF52 core v0.22.0+
1035
+
10. Add support to `RP2040-based` boards, such as **RASPBERRY_PI_PICO boards** using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
1036
+
11. Add support to `RP2040-based` boards, such as **RASPBERRY_PI_PICO boards** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
1037
+
12. Add support to `RP2040-based` boards, such as **Nano_RP2040_Connect** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
1038
+
13. Add support to `Adafruit nRF52` core v0.22.0+
919
1039
14. Add astyle using `allman` style. Restyle the library
1040
+
15. Add support to WizNet `WizFi360`, such as `WIZNET_WIZFI360_EVB_PICO` using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
0 commit comments