Skip to content

A simple example of using ESP-NOW for broadcast and peer to peer messaging

Notifications You must be signed in to change notification settings

IS512/ESPNowSimpleSample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project demonstrates how to use ESP-NOW to send messages to other ESP devices without using WiFi.

You can find an overview of ESP-NOW here.

And detailed documentation here.

Demo Video

The code has been written using platform.ide, but you it will work equally well in the Arduino IDE.

Setup

For the broadcast example just push the sketch to a couple of ESP32 devices. You should see that pushing the "boot" button on one of the devices turns the LED on and off on both devices.

To set up peer-to-peer communication make a note of the MAC address of one of the devices and use that instead of the broadcast address.

About

A simple example of using ESP-NOW for broadcast and peer to peer messaging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%