These code is based on Adafruit's circuitpython ESP AT control to modified.
WizFi360 Firmware version: 1.1.1.9
If you are interested on the codes and commands, please refer to the links below.
1.ESP AT control - circuitpython
By using WIZnet's WizFi360-EVB-PICO, it required to use AT commands to control WizFi360 to communicate to the world
- Allow to change MQTT Publish topic after connected to adafruit IO
- Accept JSON method
- WizFi360 could accept Maximum 3 Subscribe topics
- Added Firmware upgrade for WizFi360
- Added Read_UART - Directly collect UART message from WizFi360 without any modification (in byte format)
- Circuit Python 7.0 or above (it required to use 1 MB from the flash)
- Adafruit circuit python bundle - Use the latest version from adafruit bundle page [ESP AT control or download from this github]
- adafruit_espatcontrol library or this library
- adafruit_request
- Secret.py -> Please modified the information to allow WizFi360 to connect your personal AP and adafruit IO.
- Example codes
Step 1: How to install circuit Python into WizFi360-EVB-PICO (same method as adding to Raspberry Pi Pico)
🟥Youtube: Linux install method
🟥Youtube: Window install method
It is used for saving your AP information and Adafruit IO information to allow WizFi360 to connect.
secrets = {
"ssid": "my access point", # Your AP's or router's name
"password": "my password", # The password for your AP/router
"timezone": -5, # this is offset from UTC
"github_token": "abcdefghij0123456789",
"aio_username": "myusername", #adafruit IO username
"aio_key": "abcdefghij0123456789", #adafruit IO
}
It is required to add libraries to the folder lib to allow the codes could run.
Draging the examples codes to the flash inside the pico board, it should run the software easily.
It is required to modify the GPIO PIN settings to allow the RP2040 coould communicate with WizFi360
RX = board.GP5 #TXD1 pin for WizFi360
TX = board.GP4 #RXD1 pin for WizFi360
resetpin = DigitalInOut(board.GP20)
rtspin = False
uart = busio.UART(TX, RX, baudrate=11520, receiver_buffer_size=2048)
- TCP Client
- Adafruit io (MQTT)
- Adafruit io (HTTP) - Used the same coding method as ESP AT control
- Ping - Used the same coding method as ESP AT control
- Blynk
- Adafruit io (MQTT- Multiple topics)