My man, ESP32 boards get you 802.11 WiFi for like $5 these days.
Zigbee is the kind of protocol designed for even simpler, more power efficient microcontrollers. Think closer to a $1 microcontroller instead.
There is a reason we have lol WiFi light bulbs. The uC that powers the smarts are really cheap these days.
OTOH I remember that ZigBee is somehow more buttoned-up than BT and even wi-fi, so it's not commonly seen on likes of ESP32 and other small MCUs.
This is a good example of tradeoffs: slower and less throughput, but way more robustness.
Higher MCS levels of 802.11 cut down on error correction to 25% or 10%, achieving more throughput but less robustness.
I dunno how Zigbee does it, but I assume it has more error correction at slower (ie: more reliable) speeds than even WiFi MCS 1.
Do they all talk to each other in a mesh network, or do they all connect to your router in WIFI infrastructure mode?
> ESP-WIFI-MESH is a wireless communication network with nodes organized in a mesh topology using the simultaneous AP-STA feature on Espressif SoCs. It provides a self-forming and self-healing network, with ease of deployment. The network topology of ESP-WIFI-MESH can scale up to 1000 nodes in large areas.
https://www.espressif.com/en/products/sdks/esp-wifi-mesh/ove...
https://randomnerdtutorials.com/esp-mesh-esp32-esp8266-painl...
---
I didn't know that home WiFi routers have difficulty with more than a dozen connections, but I imagine ESP MESH could be a way around it, where a few devices connect to your router and act as access points for the rest of them.
https://www.espressif.com/en/products/software/esp-now/overv...
And if anyone figures outbhow to use that NPU you could even do some inference to get some trends or something. Or even a classifier that could detect a short or water leak perhaps.
I dunno radios (skipped that class way back in college). I'm guessing that although 802.11 and Zigbee use 2.4 Ghz, you might need 2x radios physically tuned for the correct frequencies, and listening at the same time.
Looks like channel 1 802.11 is different than channel 15 Zigbee for instance, so bridging the two might need two different radios.
So you'd need a 802.11 radio + Zigbee Radio working as a team (even if ESP32 has enough CPU power to handle both, there are likely physical limitations to radio designs).
And I'm pretty sure that the radios use more power than the microcontroller in any case.
------
In any case, there seem to be many 802.11 to Zigbee bridges already available. So you should only attempt the project as a learning experience.