• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 – how many boards can be connected over WiFi?

Q&A Forum › Category: ESP32 › ESP32 – how many boards can be connected over WiFi?
0 Vote Up Vote Down
Matthew Hattori asked 5 years ago

Is it possible to transmit sensor data from 11 ESP32 to a single ESP32 via ESP-NOW? I saw the tutorial here: https://randomnerdtutorials.com/esp-now-esp32-arduino-ide/. I wasn’t sure if there was a limit to how many devices could connect thru this communication protocol. I’d also like the single ESP32 to take in its own sensor data and push all this data to a web server. 
Additonally, each ESP32 would be driving its own solenoid valve. Could all of these valves be controlled asynchronously from a single web server similar to https://rntlab.com/module-4/asynchronous-web-server-control-outputs/?

2 Answers
1 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Matthew.

Accordingly to the ESP-NOW documentation:

  • Limited encrypted peers. 10 encrypted peers at the most are supported in Station mode; 6 at the most in SoftAP or SoftAP + Station mode;
  • Multiple unencrypted peers are supported, however, their total number should be less than 20, including encrypted peers;
  • Payload is limited to 250 bytes.

So, I think you can send the data from 11 to one ESP32. However, I’m not sure what happens if they all send information at the exact same time.

For an example of using ESP-NOW and a Wi-Fi for a web server, you can take a look at this project: https://randomnerdtutorials.com/esp32-esp-now-wi-fi-web-server/

Finally, yes, I think you can control the valves using the web server. You just need to trigger the right actions when you press the buttons on the web server.

Regards,
Sara

0 Vote Up Vote Down
Matthew Hattori answered 5 years ago

Thanks for the quick response Sara!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.