When the Bluetooth® 5.0 specification launched in 2016, it provided significantly higher data rates than previous standards and paved the way for the introduction of a number of Bluetooth Low Energy (BLE) networking features, particularly those with an emphasis on the emerging requirements of Internet of Things (IoT) applications. Just a year later, on July 31, 2017, the Bluetooth mesh Device Properties 1.0 was launched, enabling the provisioning of Bluetooth-based many-to-many communications. The mesh specification allows for up to 32,767 (215) nodes, making it well-suited for deployment in a wide range of IoT and smart home applications in which there are large numbers of individual devices that need to be connected.
For smart home and home automation applications, Bluetooth mesh networking opened up the opportunity for many new products. A good example is the rise of Bluetooth-controlled light bulbs that are now available to buy. Consumers can start with just a few or replace all of the bulbs in their home, and the Bluetooth mesh will take care of provisioning them into a particular group or groups of lights (such as the hallway, dining room, kitchen, bedroom, etc.). Another attribute that allows Bluetooth mesh to be successfully adopted in home automation applications is that Bluetooth mesh works on top of the BLE protocol. This enables Bluetooth mesh to be backward compliant with Bluetooth 4.0 and ensures consumers can incorporate legacy devices into a mesh network.
Rather than restricting communications through a single network hub or star topology, mesh networking allows messages to be sent and relayed through multiple nodes. Mesh networking also enables addressing and controlling multiple devices in a network simultaneously. The Bluetooth mesh approach extends the network’s physical range beyond Bluetooth distance limitations, adds network resilience through redundancy, and offers the ability to significantly scale deployment. The mesh can continue to extend the operating range, overcoming the range limitations encountered with a traditional Bluetooth device. Also, the very nature of messages relayed across the network “fabric” means there is no single point-of-failure, which gives it a self-healing capability.
Within Bluetooth, mesh nodes are categorized into four distinct types: Relay, low power, friend, and proxy (Figure 1):
Figure 1: An example Bluetooth mesh network including all node types: Relay, low power, friend, and proxy. (Source: Cypress)
The mesh operates using a broadcast-to-all or “flooding” technique to send messages to every node within the network until the message reaches its destination. A message can target an individual node, a node group, or all nodes. For instance, a group address can be used to turn on all the lights in the dining room, with each light receiving the command with virtually no latency. A publish and subscribe technique links different node types within a mesh network. For example, the group of lights in the dining room “subscribe” to the on/off commands “published” by the light switch(es) located in the room.
Embarking on the design of a new Bluetooth mesh-based product can be daunting for even the most seasoned engineer. The Bluetooth Special Interest Group (SIG) helps by publishing a list of suppliers of modules and system-on-chips (SoCs) that have passed the Bluetooth Qualification Process, but beyond that, the engineer will have a host of questions relating to component specifications, software stacks, development tools, and reference designs. In that context, Cypress stands out as a supplier that has the answers and provides all the critical elements to enable completion of a Bluetooth mesh design.
The Cypress EZ-BT™ Mesh Evaluation Kit (CYBT-213043-MESH) is an excellent example of a complete evaluation platform designed to implement and assess Bluetooth SIG Mesh functionality (Figure 2). The kit consists of four separate evaluation boards, each comprising a Cypress CYW20819-based CYBT-213043-02 module, a thermistor, light sensor, and PIR motion sensor. The CYW20819 is an ultra-low-power, dual-mode Bluetooth 5.0 SoC certified to the Bluetooth mesh 1.0 specification. The evaluation platform is ideally suited for designs that require a Bluetooth Low Energy (BLE) mesh capability, such as sensor nodes, lighting, and smart home applications.
Figure 2: The Cypress CYBT-213043-MESH evaluation kit enables you to quickly evaluate your Bluetooth SIG Mesh designs. (Source: Cypress)
Cypress provides a comprehensive list of devices, reference designs, and helper applications for implementing all node types, making it possible to speed the prototyping, development, and testing of Bluetooth mesh products as quickly and cost-effectively as possible. Cypress’ fully certified modules and SoCs, firmware, and development kits remove the complexity of working with the underlying protocols of the mesh stack specification, leaving the development team to concentrate on bringing the end product to market in the shortest time possible. An example is the range of Microsoft Windows, Android, and Apple iOS helper applications that provide prebuilt source code examples to further speed development of mobile applications that interact with the Cypress mesh product lineup (Figure 3).
Figure 3: Cypress is uniquely positioned to provide the necessary hardware, software, and apps to enable Bluetooth mesh networks. (Source: Cypress)
Added to that, Mouser’s state-of-the-art global distribution and same-day shipping capabilities mean that Cypress products can typically be on the engineer’s bench the day after ordering.
Would you like to learn more about using Cypress hardware and software to develop Bluetooth mesh designs? Why not join our virtual workshop that will focus on using Bluetooth mesh for home automation applications using Cypress’s certified hardware solutions, and the comprehensive range of software tools, stacks, and helper source code examples.
Robert Huntley is an HND-qualified engineer and technical writer. Drawing on his background in telecommunications, navigation systems, and embedded applications engineering, he writes a variety of technical and practical articles on behalf of Mouser Electronics.