Today with the Internet of Things (IoT), which is the connection to everyday objects (cars, refrigerators, televisions, lights, gates, etc.)? 802.11 ac USB wifi module always provides instantaneous information.
And being commanded anywhere in the world through the internet makes that there is persistent communication free from failures. However, some devices cannot reach the Wi-Fi signal provided by the routers, leaving this equipment offline or with a very large instability.
The 802.11 ac USB wifi module transmits and receives data at a certain frequency. It is called the Channel (channel). Also, for two or more transceiver modules to communicate. They must be on the same channel. This channel can be any frequency in the 2.4GHz ISM band or, to be more precise, it can be between 2400 to 2.525GHz.
A solution to solve this problem, although not so cheap, is to install more routers, spending more money on equipment and labor to manage the entire network.
But with Mesh technology we can take advantage of the equipment already installed and transform them into a Wi-Fi signal repeater at no cost, ensuring that the signal reaches all equipment
When creating a Mesh network, we can take advantage of 802.11 ac USB wifi modules that are already controlling equipment and assign one more function which is the bridge to provide Wi-Fi signals to those devices that are out of range of the central router.
traditional networks
In traditional Wi-Fi networks, there is a router called Access Point (AP) where the various points (stations) communicate exclusively with it.
The Access Point (AP) is responsible for managing the entire network. And prioritizing, providing IPs, connecting or disconnecting stations.
This concentration creates a disadvantage since the entire network depends exclusively on a central device to function.
And the distance of your 802.11 ac USB wifi module reach is the distance of the maximum network.
Thus, if a station is far from the AP, it may be out of range of the transmitted Wi-Fi signal, failing to communicate with the network
Traditional Network where it is possible to see that three devices cannot reach the Router's Wi-Fi signal
It is a cheap and creative solution to extend the connection of devices where, in addition to receiving the signal. They also become a data provider, serving as a bridge to other devices creating a mesh very similar to a spider's web that all points are connected to at least two points.
And that the disruption of a node does not cause the communication to drop, as there is another pre-configured connection point and making the network self-organize almost instantly.
The 802.11 ac USB wifi module is an innovative solution since that point that cannot receive the direct Wi-Fi signal from the AP can bridge to another nearby device working. And taking advantage of an existing structure, not requiring the purchase of new equipment.
And working with redundancy since a broken connection does not affect the system where the network works in mesh and the broken point will quickly connect to another point instantly and is self-managed
According to official documentation from Espressif, the Mesh network can connect up to 100 nodes without system breaks or instability
In the traditional 802.11 ac USB wifi module, the entire infrastructure is based on a true connection where the stations connect directly to the router.
And in the Mesh network, stations have a double function, obtaining. And providing data simultaneously, resulting in a network topology very similar to a spider's web. (in practice it is not the same as a web, but for didactic purposes. This definition embraces the idea of a Mesh network).
The developer of the Library used to create the Mesh Network painlessMesh. Homemade the programmer's life much easier, not having to worry about the structure or node breakage that might happen or in the management of the network, everything happens automatically.
The network is an Ad-Hoc network that does not require the management of new devices. The entry of a new device or the shutdown occurs automatically, organizing itself without warning or jumping to the administrator.
In our tests, the best solution was to install the painlessMesh library through GitLab, where we found the most updated and stable library.
Comments:
If some devices do not connect to the network. Also, check if the SSID name and password are correctly entered;
Scan the 802.11 ac USB wifi module Analyzer mobile app. And you'll see that the entire Mesh network shares the same channel. The discrepancy of channels as a router between the Esp prevents the exchange of data until the Esp changes channels, this happens automatically.
Thus, to avoid network failure and delay in data transmissions, the user must configure the router so that “NO” changes the Wi-Fi channel automatically.
In tests performed, the time to create the 802.11 ac USB wifi module is generally less than one minute.
The latency between hops is 10 to 30 milliseconds. And the time of this latency is directly related to the number of hops that exist within the Mesh network.
Optimize as much as possible the number of transmitted/received messages, remembering that our Esp modules are very limited both in processing and in memory, so we avoid messages and network breaks.
Copyrights© Shenzhen Skylab Co.,LTD All Rights Reserved.