How to create a robust building security system with TI’s SimpleLink MCU platform

It’s hard to imagine a world before smartphones. What used to be a futuristic plot on the Jetson’s is now the reality we live in. As we strive to connect more of our lives, homes and buildings, the design complexities can rapidly escalate. Learning wireless protocols and acquiring radio-frequency (RF) design experience can be an overwhelming venture. Add network security and power budgets into the mix, and you’ll quickly feel like a freshman walking into their first college lecture.

Take a home or building security system as an example. There are door and window sensors, motion detectors, smoke detectors, smart locks, and a security panel that need to connect wirelessly, comply with local regulatory requirements and perform with high accuracy at the lowest power consumption. That’s a big task to execute. But I have a few simple pointers that can help you avoid the headache and design with ease.

1.     Select a platform that supports multiple wireless protocols.

A building security system may have multiple RF technologies and will often leverage multiple protocols. These are the leading players for building security applications:

  • Sub 1-GHz is a dominant technology for any security sensor because of its extremely long range capabilities and great wall penetration for indoor applications. You can use this protocol to create a low-power star network of sensors that report data to a gateway or collector.
  • Zigbee® is a great technology for device-to-device communication, as it is a proven solution for a mesh network. It’s popular in electronic smart locks, door and window sensors, and smoke detectors, with well-defined security procedures to protect data.
  • Bluetooth® Low Energy is an emerging technology that’s often used in conjunction with Sub 1-GHz or Zigbee. Bluetooth Low Energy’s inherent smartphone connectivity makes it a great choice for configuring a network and diagnostic alerts. With the range enhancements of Bluetooth 5, this low-power protocol is also a good fit for battery-operated sensors within a home or for appliances such as electronic smart locks.
  • Thread is also an emergent technology designed to control and connect products such as motion sensors, gas detectors or gateways. Thread uses the 2.4GHz industrial, scientific and medical (ISM) band to create a secure mesh network and is based on Internet Protocol version 6 (IPv6), giving it a natural connection to existing networks. Thread supports device-to-device, device-to-smartphone, and device-to-cloud communication, which makes it easy to use and extremely scalable.
  • Dynamic Multi-protocol Manager (DMM) is a great technology to implement multiple protocols in a single chip solution such as smart meters, locks & thermostats. DMM is a software module that enables a single radio to operate multiple wireless protocols concurrently by switching between them in real time. This is also known as “Time Multiplexing”, in which the radio switches between the two protocol stacks by changing the settings, channels, and other parameters.

You can implement building security systems using any one of these technologies or a combination of several of them. Thus, it’s a good idea to choose a hardware platform that can address multiple protocols and give you software flexibility depending on your application.

 2.     Address network security.

Security is a key concern, especially in building security systems. Consumers want to know that their personal information will remain protected. When choosing a wireless platform, security must be at the forefront of your decision. Let’s take a look at the security measures of the wireless protocols I just reviewed:

  • In Sub 1-GHz, designers can implement the Advanced Encryption Standard (AES) algorithm and authentication, as well as message integrity to ensure network security.
  • Bluetooth Low Energy also leverages AES hardware encryption. The Bluetooth low energy 4.2 specification implemented increased security to prevent man-in-the-middle attacks and correct pairing vulnerabilities.
  • Zigbee has defined procedures to ensure the secure request and exchange of keys, and uses install codes to eliminate the use of well-known keys as well as AES encryption.
  • Thread implements IP-based security with Datagram Transport Layer Security (DTLS), password-based authentication and AES encryption.

With each of these protocols, it’s important to assess the threats in your system and use security enablers to address these concerns.

3.     Seek high performance and low power.

When designing a building security system, you have to take range and power seriously. Extending the battery life of door and window sensors, electronic smart locks, and smoke detectors helps create a positive experience with the end product. Not only do you have to evaluate a device’s receiver and transmitter current; you must also evaluate the sleep current to ensure maximum battery life.

Likewise, ensuring maximum coverage within a home is paramount. Whether it’s controlling a large number of devices within a mesh network or simply using a smartphone to control one device, it’s imperative that users can maintain a reliable connection. Output power and sensitivity are the critical parameters you need to determine the achievable range. By leveraging a large link budget, a security system will be able to cover a greater distance within a home or building.


Designing a security system can be challenging, especially when it comes to the many connectivity options, network security and performance. With the flexibility to support Sub 1-GHz, Bluetooth Low Energy, Zigbee, Thread and dual-band protocols, TI’s wireless microcontrollers (MCUs) are geared to provide robust and secure solutions for building security systems (Figure 1).

Figure 1: SimpleLink wireless MCUs

These powerful devices feature more memory, peripherals, flexibility and processing power, as well as excellent RF performance at extremely low power consumption. As you design a building security system, keep the suggestions above in mind to unlock the most innovative designs yet.

Additional resources:

The SimpleLink multi-standard CC2652P wireless MCU (Thread, Zigbee, Bluetooth 5 with integrated Power Amplifier)

The SimpleLink Bluetooth 5 CC2642R wireless MCU

The SimpleLink Sub-1 GHZ CC1312R wireless MCU

The SimpleLink multiband CC1352R wireless MCU (Sub-1 GHz + Bluetooth Low Energy, Thread, Zigbee).

Read this blog on all the SimpleLink MCU platform devices