Intelligence can take you a long way in the world. But in many cases, it’s one of your networking connections that will get you where you want to go. Such is the case with smart electronic locks (e-locks). Because of TI’s recent innovations in low-power Wi-Fi® and the advantages of a direct connection to the cloud, a new generation of Wi-Fi-enabled e-locks will soon open plenty of doors.
In the not-so-distant future, forgetting to lock the front door won’t trigger a frantic race back home to lock it. Consumers will be able to lock or unlock an e-lock with Wi-Fi connectivity from their smartphone. Or, instead of leaving a key under the doormat, they can simply open the door for the plumber anywhere at any time. They will also enjoy faster software updates thanks to the higher throughput of Wi-Fi.
Breaking down the power barrier
Most e-locks were initially based on peer-to-peer wireless connectivity protocols such as Bluetooth® or radio-frequency identification (RFID), which grant access to a door from a handheld device or ID card. However, these protocols cannot connect directly to the internet or the cloud without going through an intermediary device like a smartphone or a bridge plugged into the home’s electrical supply. In contrast, an e-lock with Wi-Fi connectivity has direct connectivity to the cloud through the home’s Wi-Fi access point.
Previously, the higher power consumption of some Wi-Fi connectivity technologies had restricted the wireless connectivity in e-locks to low-energy protocols like Bluetooth low energy and Sub-1 GHz. Now, SimpleLink™ Wi-Fi wireless microcontrollers (MCUs) or network processors have broken through the power barrier such that an entire Wi-Fi and Bluetooth low energy e-lock can operate for almost four years on four AA batteries. Driving down power consumption and providing a Wi-Fi radio and MCU on a single chip to run the application code allows e-lock providers to drastically reduce costs and design complexity.
Figure 1 demonstrates how the Wi-Fi-enabled door lock in a home can connect directly to the cloud, all while being controlled by your mobile device.
Figure 1: Smart lock connection to the cloud and smartphone
TI optimized the SimpleLink™ Wi-Fi CC3120 wireless network processor and CC3220 wireless MCU for low power. When intermittently connected to the access point – meaning that they must first wake upon a sensor or button trigger before operating – the CC3220 device consumes as little as 4.5 µA (microamps). That level of low power consumption is what enables battery life of almost four years.
An additional power-saving capability of CC3120/CC3220 devices is their fast wake-up cycle. For example, when used in intermittently connected mode, these devices can wake up and connect securely to a local Wi-Fi access point in less than 310ms and to a server in less than 200ms with the help of the hardware cryptography engines. As a result, SimpleLink Wi-Fi wireless devices can remain in low-power mode as long as possible and still respond when needed.
In always-connected mode – meaning that the network connection or “sockets” are maintained at all times – the battery life will still be 1.5 years. Remaining always connected to the access point provides on-demand access without compromising battery life, enabled by a low-power deep-sleep mode, automatic use of Institute of Electrical and Electronics Engineers (IEEE) 802.11 Power Save and user-defined sleep intervals. With the ability to dynamically choose between intermittent and always-connected modes, it is possible to enjoy the best of both worlds.
Frequently, a good portion of the power consumed by a Wi-Fi connectivity device is dictated by the behavior of the access point to which it connects. The SimpleLink Wi-Fi wireless MCU’s network learning algorithm observes the behavior of the access point and network path and adjusts its power modes accordingly, reducing power consumption significantly.
How protected would a home be if the e-lock on the front door was not as secure as possible? CC3120/CC3220 devices help defend against malicious over-the-air (OTA) attacks with a full suite of security safeguards, including on-chip encryption engines, Wi-Fi security protocols and a built-in trusted root-certificate catalog. The CC3220 device’s MCU core and its Wi-Fi connectivity radio are encapsulated in completely separate on-chip environments to further protect against theft of intellectual property (IP) through the Wi-Fi port.
This high level of security is essential for OTA updates of an e-lock’s firmware. Physical access to the lock is not necessary for such updates and the encrypted IP transmitted to each e-lock remains safeguarded. Plus, SimpleLink Wi-Fi devices incorporate fail-safe files and bundle protection to maintain system integrity during an OTA update. Ending up with a bricked smart lock after an OTA update is no longer an issue because protected files are all saved at the same time, after verification that the system works correctly.
CC3120 and CC3220S/SF devices also simplify protection of the e-lock firmware, access keys and data stored on the system. An integrated, unique device ID encrypts the file system and prevents the e-lock from being cloned or its files from being read by another device. You can further protect individual files through encryption, authentication and access tokens to help prevent any compromise of a user’s account or lock even if attacked.
Simple, interoperable Wi-Fi
The Wi-Fi Alliance has already certified SimpleLink Wi-Fi devices, and this certification is transferrable from TI to you. The CC3220 device is also offered in a self-contained, ready-to-go Wi-Fi connectivity drop-in module. Therefore, you need not be an expert in Wi-Fi technology to quickly add Wi-Fi connectivity to your e-lock.
Once it’s in the marketplace, TI’s extensive interoperability testing procedures ensure that an e-lock will work seamlessly with practically any Wi-Fi access point. SimpleLink devices are tested for interoperability against more than 225 Wi-Fi access points from manufacturers around the globe, ensuring low power everywhere.
Now that you've learned why utilizing Wi-Fi can be a great solution for your connected project, see below in Figure 2 for a diagram on how to build your own smart door lock.
Figure 2: Smart lock diagram with SimpleLink Wi-Fi CC3220 wireless microcontroller
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.