PersonalHardware and networking

ESP32 messaging network over ESP-NOW

A Raspberry Pi sends messages through a gateway ESP32, which relays them over ESP-NOW to a cluster of listening ESP32 boards.

Type
Personal project
Status
Complete
Raspberry Pisends packets over TCP and UDP
Gateway ESP32relays to ESP-NOW
ESP-NOW
ESP32 node
ESP32 node
ESP32 node
The gateway bridges the Pi's IP network and the ESP-NOW radio network.

What it does

ESP-NOW is a connectionless radio protocol for ESP32 boards that works without a Wi-Fi network. A Raspberry Pi cannot speak it directly, so a gateway ESP32 connected to the Pi receives the Pi’s packets and relays them to a cluster of listening ESP32 boards over ESP-NOW.

How I built it

  • The Pi and the gateway exchange data over TCP and UDP.
  • I debugged the connections over SSH on Linux.

This was one of several Arduino and Raspberry Pi projects I have built.

Stack

  • ESP32
  • ESP-NOW
  • Raspberry Pi
  • TCP and UDP
  • Linux
  • SSH