TCP socket communication between (RPi Pico+ESP-01S) and ESP32 via WiFi @AndroidEric
TCP socket communication between (RPi Pico+ESP-01S) and ESP32 via WiFi  @AndroidEric
Uploaded February 2021 | Updated November 2026, 1 day ago
- ESP32 MicroPython setup as WiFi Access Point, run a socket server on port 9999, wait connection from client, receive data, convert to upper case and echo back.
- Raspberry Pi Pico+ESP-01S join the ESP32 WiFi network, connect to 192.168.4.1 (the default IP of ESP32 SoftAP), port 9999, send data and wait response.
example code: helloraspberrypi.blogspot.com/2021/02/tcp-socket-communication-between-rpi.html

In my practice, a Raspberry Pi 4B is used as development host for both ESP32 and Pico using MicroPython. Firstly, in Thonny, save server code (upyESP32_AP_EchoSvr_20210224a.py) on ESP32, name main.py. Switch Thonny interpreter for Pico and port. Then open Putty as serial terminal connect to ESP32 as REPL to monitor the output from ESP32. Finally, run the client code (mpyPico_ESP-01S_TCPclient_20210224a.py) in Thonny.
TCP socket communication between (RPi Pico+ESP-01S) and ESP32 via WiFiRPi Pico/MicroPython + ILI9341 SPI Display, using rdagger/micropython-ili9341Install arduino-esp32 2.0.0 on Arduino IDE, to program ESP32-S2/C3.CircuitPython on Raspberry Pi PicoAdd Temperature Monitor to Task Bar, on Raspberry Pi OSInstall Seeeduino XIAO board to Arduino IDEPair HC-05 (Master & Slave) using Raspberry Pi Pico/MicroPythonRaspberry Pi Pico/MicroPython, read and set CPU Frequency (overclock)Install Arduino IDE 1.8.13 on Ubuntu 20.04Python detect Bluetooth Remote Shutter, on Raspberry Pi, part IRaspberry Pi Pico/CircuitPython + ssd1306 I2C OLED using adafruit_displayio_ssd1306 drivernanoESP32-S2/CircuitPython control on-board NeoPixel, using Adafruit CircuitPython Library Bundle
an Erik |

TCP socket communication between (RPi Pico+ESP-01S) and ESP32 via WiFi

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER