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/?
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