Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›IoT & Wireless
  4. ›ESP-NOW
Step 7 of 16 in ESP32 and IoTPart of a learning path.
Next

How-to · Intermediate · 3 min read

ESP-NOW

Peer-to-Peer Messaging Between ESP32 Boards

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerSetting it upCommon patternsLimits and alternativesTry itStep by stepCommon mistakesFAQsParts and next steps
Short answer

ESP-NOW is Espressif's connectionless protocol that lets ESP32 and ESP8266 boards send short messages directly to each other with no router. Each message carries up to 250 bytes and is addressed by the receiver's MAC address. It starts in milliseconds and uses little power, so it suits remotes, sensor nodes and battery projects. Range is similar to Wi-Fi, typically tens to over a hundred metres in open air.

Key specs at a glance

Payload
Up to 250 bytes per message (larger in ESP-NOW v2 on recent ESP-IDF)
Addressing
MAC address of each peer, or broadcast FF:FF:FF:FF:FF:FF
Peers
Up to 20 paired peers; fewer when encrypted
Range
Similar to Wi-Fi: tens of metres indoors, 100 m or more line of sight
Boards
ESP32 family and ESP8266
With Wi-Fi
Works alongside Wi-Fi if both use the same channel
01

Setting it up

  1. 1
    On the receiver, print its MAC address with WiFi.macAddress() after WiFi.mode(WIFI_STA).
  2. 2
    On both boards, call WiFi.mode(WIFI_STA) and esp_now_init().
  3. 3
    On the sender, add the receiver as a peer with esp_now_add_peer() using its MAC and channel 0 (current channel).
  4. 4
    Define a struct for your data, for example temperature and battery voltage, and send it with esp_now_send(mac, (uint8_t*)&data, sizeof(data)).
  5. 5
    On the receiver, register a receive callback with esp_now_register_recv_cb() and copy the bytes back into the same struct.

The receive callback's signature changed in Arduino-ESP32 core 3.x; use the examples installed with your core version.

02

Common patterns

Remote control

a handheld ESP32 with buttons sends commands to a robot or relay board.

Battery sensor nodes

wake from deep sleep, read a sensor, send one message, sleep again. Each wake takes well under a second, far less than joining Wi-Fi.

Gateway

many nodes send to one ESP32 that is also on Wi-Fi and forwards data to MQTT and Home Assistant. Set the nodes to the router's Wi-Fi channel.

Broadcast

send to FF:FF:FF:FF:FF:FF so every nearby board receives it, useful for pairing.

03

Limits and alternatives

ESP-NOW only works between Espressif chips. Delivery confirmation means the radio acknowledged the packet, not that your code processed it, so add your own sequence numbers if order matters. For longer range use LoRa; for non-Espressif boards use nRF24L01 or Bluetooth. See choosing a wireless module.

04

Try it: Battery life calculator

Change the values and the diagram and results update as you type.

05

Send sensor data between two ESP32 boards with ESP-NOW

You need: Two ESP32 boards, A sensor such as a DHT22 (optional), USB cables · Tools: Computer with Arduino IDE and the ESP32 core

Get the parts2 of 3 found in our store · ₹477

  • Two ESP32 boardsESP32-H2 SuperMini Development Board₹449Closest match, check the specs
  • A sensor such as a DHT22 (optional)Find this part
  • USB cablesUSB Cable₹28
  1. 1
    Get the receiver MACUpload a sketch that prints WiFi.macAddress() and note it.
  2. 2
    Write the receiverInit ESP-NOW and register a receive callback that prints the struct.
  3. 3
    Write the senderInit ESP-NOW, add the receiver as a peer and send a struct every few seconds.
  4. 4
    TestOpen both serial monitors and watch messages arrive.
  5. 5
    Add deep sleepMake the sender sleep between messages for battery use.
06

Common mistakes to avoid

  • !Using a different Wi-Fi channel from the gateway's router.
  • !Different struct layouts on sender and receiver.
  • !Expecting ESP-NOW to talk to non-Espressif boards.
  • !Copying examples for the wrong core version callback signature.
  • !Sending more than 250 bytes in one message.
07

Frequently asked questions

Does ESP-NOW need a Wi-Fi router?

No. Boards talk directly to each other using their MAC addresses.

Can ESP32 and ESP8266 talk with ESP-NOW?

Yes. Both support it, though the ESP8266 API is slightly different.

Can I use ESP-NOW and Wi-Fi at the same time?

Yes, if the ESP-NOW peers use the same channel as the Wi-Fi network the board is connected to.

What is the range of ESP-NOW?

Similar to Wi-Fi: tens of metres indoors and 100 m or more line of sight with good antennas.

How much data can ESP-NOW send?

Up to 250 bytes per message with the classic API, which is plenty for sensor readings and commands.

Parts for this guide

  • Arduino Nano ESP32-S3 without Headers ABX00092
    ₹1,869View
Shop ESP32 & Wireless BoardsShop Wi-Fi & Bluetooth Modules

Calculators

Battery life calculator

Terms in this guide

Deep sleepA low-power mode where most of a microcontroller is switched off, cutting current to microamps between tasks.BLEBluetooth Low Energy: the low-power Bluetooth profile used by phones, fitness bands and the ESP32. It is not compatible with the HC-05's Bluetooth Classic serial profile.MQTTMessage Queuing Telemetry Transport: a lightweight publish/subscribe messaging protocol where devices send and receive messages on named topics through a broker.FrequencyHow many times per second a signal repeats, measured in hertz (Hz). 1 kHz is 1000 cycles per second.

Projects that use it

Put this into practice: 9 step-by-step builds in our project library use parts from this guide.

Beginner · 1–2 hoursWi-Fi smart switchView projectBeginner · 1–2 hoursWi-Fi door sensorView projectBeginner · 1–2 hoursWi-Fi fridge thermometerView project
Browse all 9 projects

Keep learning

Component guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & MicrocontrollersComponent guideBeginnerESP8266 NodeMCUThe ESP8266 is a 3.3 V Wi-Fi microcontroller, and NodeMCU is the most common board built around it.3 min read · Boards & MicrocontrollersConcept explainerIntermediateMQTT and Home Assistant for ESP32MQTT is a lightweight messaging system: devices publish messages to named topics on a broker, and anything subscribed to that topic receives them.3 min read · IoT & WirelessComparisonBeginnerWi-Fi vs Bluetooth vs LoRa vs ZigbeeCompare Wi-Fi, BLE, Bluetooth Classic, ESP-NOW, nRF24L01, 433 MHz, LoRa, Zigbee and 4G for projects by range, data rate, power and typical hardware.4 min read · IoT & WirelessHow-toIntermediatenRF24L01 2.4 GHz RadioThe nRF24L01 is a cheap 2.4 GHz radio that sends small packets (up to 32 bytes) between microcontrollers with automatic acknowledgements and retries.3 min read · IoT & Wireless

Sources

  • Espressif ESP-NOW documentation (ESP-IDF)
  • Arduino-ESP32 core ESP-NOW examples

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerSetting it upCommon patternsLimits and alternativesTry itStep by stepCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide1 item · ₹28

USB Cable

Ask the Community

Ask a question