Topics: LaunchPad, Zigbee, Wireless, BLE
Texas Instruments invites Daniel Olgivie to present yet another demo on the Launchpad SensorTag Kit, with an interesting use case on home automation projects (such as lights control) but ultimately with the goal of showing how to use both Zigbee and DMM on LPSTK-CC1352R. By choosing a couple of examples from their SimpleLink SDK and loading them onto both a mobile app and a LaunchPad, the main goal of this demo is to present how it is possible to OAD an image to the LPSTK. Once this is done, Dynamic Multiprotocol Manager (DMM) will be used to turn the latter into a light switch, with the option to be controlled simultaneously by a coordinator and a cellphone.
The main feature of the DMM in this scenario is that it allows time-sharing between two stacks, hence the possibility of using both Zigbee and BLE stacks to run at the same time on a single device. Once the setup is done, a mobile device is used to OAD an image to the LaunchPad SensorTag Kit via BLE, which allows communication back to the same device. However, there is also the possibility of Zigbee connection to its collector light. Therefore, the light can be controlled from the LPSTK that will function as a switch, and also from the mobile device that is connected to the light switch via BLE. One use case for this specific setup would be to implement it on a lamp to be controlled both by its physical switch, if the person operating it happened to be near the lamp, or from a distance, by setting up this automation process in a person’s mobile device (cellphone, tablet, etc.).
As for setup itself, it consists of simple steps: using the SimpleLink starter app to select the LaunchPad SensorTag Kit, and the SensorView to do the same regarding the firmware downloader. Once the firmware file is chosen (in this particular case, that would be the DMM ZED Switch), the LPSTK can be programmed. After the OAD is completed, the app will display all lamp controls. The final step would be to turn on all devices so they could be paired – that way, the lamp could also be controlled through the button located on the left side of the SensorTag. As mentioned, this would be a great use case on home automation projects, especially for something considered low-power, and encapsulated.