ESP-NOW 3.0
Posted: Thu Jul 25, 2024 9:24 am
Hello,
I use ESP-NAU as a clock/time synchronization.
For this I have an ESP32 as a transmitter and many (approx. 35) ESP8266 as receivers.
- One-to-many
- usually 1 transmitter and 3 - 5 receivers at the same time, constantly changing
- ESP32 package 2.0 so far
- Arduino IDE
- maximum distance 7 m
- transmitter and receiver "see each other"
- During reception, the ESP8266 waits in a while loop and has nothing else to do.
- all ESP8266s have so far been assigned the same MAC address
- No registration
- No encryption
- No response
Simply send a message (ping) to everyone at the same time with an interval of 1 second.
This enables me to trigger a process on the ESP32 and the currently active ESP8266 at the same time.
The transmission time is actually not important.
In order to calculate the transmission time, the differences in the transmission time between the individual pulses must be as small as possible. As few µsec difference as possible. At the moment I have achieved a maximum of 20-30 µsec difference.
How can I design this system with the ESP32 package 3.0?
The time difference between the individual transmissions should be as small as possible.
Of course you can now use the broadcast function.
Can ESP32 and ESP8266 still be combined?
Can the accuracy be increased by sending several pulses/messages in quick succession?
The ESP8266 also sends a response to the ESP32. This is solved by switching and is absolutely NOT time-critical.
Many thanks.
Regards Frank
I use ESP-NAU as a clock/time synchronization.
For this I have an ESP32 as a transmitter and many (approx. 35) ESP8266 as receivers.
- One-to-many
- usually 1 transmitter and 3 - 5 receivers at the same time, constantly changing
- ESP32 package 2.0 so far
- Arduino IDE
- maximum distance 7 m
- transmitter and receiver "see each other"
- During reception, the ESP8266 waits in a while loop and has nothing else to do.
- all ESP8266s have so far been assigned the same MAC address
- No registration
- No encryption
- No response
Simply send a message (ping) to everyone at the same time with an interval of 1 second.
This enables me to trigger a process on the ESP32 and the currently active ESP8266 at the same time.
The transmission time is actually not important.
In order to calculate the transmission time, the differences in the transmission time between the individual pulses must be as small as possible. As few µsec difference as possible. At the moment I have achieved a maximum of 20-30 µsec difference.
How can I design this system with the ESP32 package 3.0?
The time difference between the individual transmissions should be as small as possible.
Of course you can now use the broadcast function.
Can ESP32 and ESP8266 still be combined?
Can the accuracy be increased by sending several pulses/messages in quick succession?
The ESP8266 also sends a response to the ESP32. This is solved by switching and is absolutely NOT time-critical.
Many thanks.
Regards Frank