• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • Automotive
    • Connectivity
    • Consumer Electronics
    • Industrial
    • Medical
    • Security
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Videos
    • TI Microcontroller Videos
  • EE Resources
    • DesignFast
    • eBooks / Tech Tips
    • FAQs
    • LEAP Awards
    • Podcasts
    • Webinars
    • White Papers
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide

Tips on designing smart home devices – Part 2

February 16, 2021 By John Koon

In Part 1, we covered the design criteria to consider when creating a new smart home device and some of the smart home protocols. Here,  we continue with additional device-design considerations.

How can I determine which cloud platform to use?

Today, multiple cloud platforms are available. It depends on which smartphone or handheld device you want to support. For example, if you want to support Amazon’s Alexa, it will be easier to use the Amazon AWS. Similarly, it is straightforward for iPhone to use Apple’s iCloud and for Android phones to use Google Cloud. Microsoft currently does not support smart home applications.

What developer tools are available to help me speed up my design process?

There are many developers’ support platforms available depending on your targets. The popular ones include Apple, Google, Amazon, Zigbee, and Z-Wave.

Apple – https://developer.apple.com/
Apple HomeKit – https://developer.apple.com/homekit/
Google – https://developer.google.com
Amazon – https://developer.amazon.com
Zigbee – https://zigbeealliance.org/developer_resources
Z-Wave – https://z-wavealliance.org/z-wave-oems-developers/

Additionally, many smart home devices require deep learning or AI to support language processing in voice input and image processing in face recognition. AI algorithms are very compute-intensive. Consider a processor with built-in AI such as Maxim’s MAX78000.

Figure 1: The MAX78000 is an Ultra-Low-Power Cortex-M4, FPU-based (floating point) microcontroller with a built-in Convolutional Neural Network (CNN) accelerator. It has 1M Internal Flash with a maximum clock speed of 100 MHz. Maxim also provides an evaluation kit to make development easier. (Image: Maxim Integrated)

Do I need a hub or gateway?

Yes, you will need a hub or gateway to work with either the Zigbee or Z-Wave networks. Depending on whether you are designing a standalone device or an integrated hub/device, there are hundreds of models to choose from.

Certified Z-Wave hubs

Certified Zigbee hubs

Can you walk me through the design process of creating a new smart home device?

Just for illustration purposes, let us take the example of designing a Z-Wave LR device. Z-Wave Long Range (Z-Wave LR) is a new specification recently added by the Z-Wave Alliance. It increases the wireless communication distance from a few hundred feet to a few miles and supports up to 4000 network nodes. Similar solutions are available for Zigbee and other platforms. The steps include:

  1. Define your target smart home device. It can be a smart door lock, thermostat, or others.
  2. Select a microcontroller unit (MCU) architecture to meet your design needs – 32 bits, depending on the device (The Silicon Labs solution is 32-bit based. For other designs, you may be able to use 8-bit MCU).
Figure 2: 32-bit MCU. (Image: Silicon Labs)

3. Choose the corresponding evaluation kit. The Z-Wave 700 Wireless Starter Kit (SLWSTK6050B) includes the hardware module, Z-Wave software stack, sample code, and debug adapter. Developers can design the end devices and gateways with the kit.

Figure 3: The Z-Wave 700 Wireless Starter Kit (SLWSTK6050B) includes the hardware module, Z-Wave software stack, sample code, and debug adapter. (Image: Silicon Labs).

Additionally, Simplicity Studio 5 is available, which provides a suite of tools, including wireless application development, mesh networking debug and analysis, open-source stacks and application code, and visual energy profiling for design optimization.

Figure 4: Simplicity Studio 5 provides a suite of tools, including wireless application development, mesh networking debug and analysis, open-source stacks, and application codes. (Image: Silicon Labs). 

4. Download the installation guide and follow the steps.

In short, many reference designs and source codes are available today to help you speed up your design process. Do not reinvent the wheel by writing codes from scratch. 

Do I need smart home certifications?

To ensure smart home devices’ interoperability from different vendors, the Zigbee and  Z-Wave Alliances provide their own certification programs. A developer will need to become a member of the corresponding alliance, go through an application process, and then submit the target device(s) to be tested by the authorized test facilities. Once they pass all the requirements, the devices will receive a certificate and the right to use the corresponding logos. This process will ensure device interoperability. Therefore, every developer should do this.

Z-Wave certification
Zigbee certification

What is CHIP?

Toward the end of 2019, Amazon, Apple, Google, and the Zigbee Alliance launched a royalty-free, open-sourced initiative called Connected Home over IP (CHIP) (or Project Connected Home over IP). The intent was to create secure and interoperable smart home devices among all the platforms. Among the CHIP initiative’s many goals are creating products which are Unifying, Ecosystem-Flexible, Interoperable, Secure, and Robust. To date, it is a working group within the Zigbee Alliance. The project’s initial focus will be access point control, lighting, HVAC controls, and security. The first draft is expected to come out sometime in 2021 and will likely impact future smart home technology development. “CHIP is the future of the smart home, and it may potentially solve all the interoperability issues of devices from multiple vendors,” according to Nick Dutton, senior IT product marketing manager at Silicon Labs.

Figure 5: The layer of CHIP. (Image: Zigbee and NXP).

 

Final tip: Concerning the CHIP project, GitHub is set up to help developers collaborate globally. It is an open, free code hosting platform that allows developers to share codes, and many smart home code samples are available.

You may also like:


  • Tips on designing smart home devices – Part 1
  • smart home
    Designer’s guide to smart home tech, Part 2

  • Designer’s guide to smart home tech, Part 1

  • What is the Z-Wave protocol?
  • IoT standards
    IoT standards: The End Game

Filed Under: Applications, Consumer Electronics, FAQ, Featured, IoT, microcontroller, Wireless

Primary Sidebar

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

EE Training Center Classrooms

EE Classrooms

CURRENT DIGITAL ISSUE

A frequency you can count on There are few constants in life, but what few there are might include death, taxes, and a U.S. grid frequency that doesn’t vary by more than ±0.5 Hz. However, the certainty of the grid frequency is coming into question, thanks to the rising percentage of renewable energy sources that…

Digital Edition Back Issues

Subscribe to our Newsletter

Subscribe to weekly industry news, new product innovations and more.

Subscribe today

RSS Current EDABoard.com discussions

  • Advice for my disabled son please
  • Very low voltage/power Schmitt trigger?
  • 3D IC Design: Is it possible to stack CPU and FPGA?
  • dc to dc converter sparks when inserting fuse
  • 7 segment display connections

RSS Current Electro-Tech-Online.com Discussions

  • Pet Microchip scan
  • Disabled son needs advice please
  • Modify a digital clamp ammeter ?
  • Confirming whether this circuit will work
  • How does a blinky/flashing ball work?

Footer

Microcontroller Tips

EE World Online Network

  • DesignFast
  • EE World Online
  • EDA Board Forums
  • Electro Tech Online Forums
  • Connector Tips
  • Analog IC Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • Wire and Cable Tips
  • 5G Technology World

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us
Follow us on Twitter Add us on Facebook Follow us on YouTube  Follow us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy