• 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

Tips on designing smart home devices – Part 2

February 16, 2021 By John Koon Leave a Comment

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

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

DesignFast

Component Selection Made Simple.

Try it Today
design fast globle

EE Training Center Classrooms

“ee

“ee

“ee

“ee

“ee

Subscribe to our Newsletter

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

Subscribe today

RSS Current EDABoard.com discussions

  • Requirement of a 3-D vertically stacking RGB LED
  • DDR3 memory implementation
  • Discrete components, low distortion, variable with a single resistor, audio oscillator
  • SFP and Xilinx FPGAs
  • plotting loop gain in ADE Assembler

RSS Current Electro-Tech-Online.com Discussions

  • Ideas for a power supply?
  • ST7066U 20x4 LCD problems
  • Case Ideas for Tube amp?
  • Capacitor question
  • Looking for an LG 55LB6000 service manual.

Follow us on Twitter

Tweets by MicroContrlTips

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 TwitterAdd us on FacebookFollow us on YouTube Follow us on Instagram

Copyright © 2021 · 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