I want to know the way to reduce power consumption more and ensure ESP-NOW communication.
Posted: Fri Oct 18, 2019 2:00 am
- I have questions about ESP-NOW utilization.
- Background :
- I want to make a system that several battery-powered sensor modules, i.e., master, from ESP32 , and a slave that receive data from all sensor modules of ESP32 , of which communication is by esp-now.
- The sensor modules should have batteries so we would like to reduce active times as much as possible for reducing power consumption.
- Data is sent from each master to the slave once every 10 minutes.
- Therefore, we plan to deep sleep during this period.
- Question :
- ①
- There are concerns about radio interference.
- We know that the number of ESP-NOW connections is limited to six for encrypted communications and up to 20 for both encrypted and unencrypted communications.
- Does it means that if there are no devices using Wifi channels other than the ESP32 involved in this system, data transmitting from the master to the slave is done without any fail ?
- ②
- Questions related to Question 1.
- If only one channel is used for communication by ESP-NOW between the master group and the slave, radio waves tend to interfere with each other.
- I think that the more a number of master is increased, the heigher frequency of failed data transmissions is , but how many master can be handled by one channel in the first place?
- The assumption here is that more than one master will transmit at the same time.
- ③
- Questions related to Question 2.
- If there are restrictions on the number of master that can be handled by a single channel, if we can allocate a master group to each channel and receive ESP-NOW communications from all channels on the slave side, we think that the number of channels that can be handled will increase, but can we implement the slave side in ESP-IDF?
- If possible, please tell us how to write code specifically.
- ④
- Questions related to Question ①.
- In order to reliably deliver data from the master to the slave, only a method such as the CSMA/CA method is considered to be successful.
- Does the esp-now originally include CSMA/CA functions from the beginning, as in normal wifi communications?
- I don't know, so please tell me.
- If we can reduce the frequency of failed transmissions as much as possible, as described in Question 3, we believe that this will reduce the master's active times and, consequently, further reduce power consumption.
- Please tell us if you have a way to reduce power consumption more and ensure ESP-NOW communication.
- thank you.