element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Low Power IoT Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Low Power IoT Design Challenge
  • More
  • Cancel
Low Power IoT Design Challenge
Blog Low Power IoT Design Challenge - Project Proposal
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 20 Sep 2021 12:20 AM Date Created
  • Views 712 views
  • Likes 5 likes
  • Comments 0 comments
  • mtb-ml
  • person recognition
  • mqtt
  • keyword spotting
  • low_power_iot
  • tinyml
  • cy8ckit-psoc62s2-43012
  • edge impulse
  • cypress modus toolbox 2.3
Related
Recommended

Low Power IoT Design Challenge - Project Proposal

ralphjy
ralphjy
20 Sep 2021

Reason for the Design Challenge:

This summer I have been focused on trying tinyML with different platforms and in different applications.  The current application that I've been working on is an edge deployed multi-sensor secured entry (cloud interaction not required).   I already have a commercial video doorbell that serves me well, it let's me know when there is motion in its field of view.  It uses a simple image differencing algorithm within defined regions of interest, so it is prone to a lot of false alarms.  I'd like to create a setup where I can use tinyML with vision and voice to detect humans approaching my front door and also to identify the individual to allow entry.  I have tried something similar in a Hackster project that used a LUX-ESP32 device that used Luxonis DepthAI with Intel OpenVino models.  That was a reasonably high power application due to the Myriad-X VPU.  Inferencing was consuming 2-4 W @ 15-30 FPS.  I thought that it would interesting and fun to try a low power solution using much more constrained hardware.  I noticed that Infineon has recently added tinyML capability to its Modus ToolBox for the PSoC MCUs (MTB-ML).  Hopefully, I can get that to work for vision and voice classification.  Otherwise, I saw that there is a keyword spotting implementation using a PSoC6 and ModusToolbox with the Edge Impulse framework.  That will be my fallback, although I haven't seen any vision applications for the PSoC, so that will be the biggest challenge.  MTB-ML currently only has a gesture (accelerometer) example.

 

image

 

 

Project Description

Concept

I have been working on the concept of a multi-stage security system for the front entry door of my house.  There has been a trend lately to "sensor fusion" to enhance application capability.  The use of different sensors in the various stages would allow me to optimize the power of the overall system and improve the accuracy of person identification.

 

Stage 1 Intrusion Detection:  This is an "always on" low power microwave sensor that would detect a person or animal entering the zone around the entry door.  This would trigger the operation of the next stage.  I designed a portable unit for my Hackster project that communicated via MQTT and I'm going to reuse that for this project.

Stage 2 Object Classification:   This would classify the detected object as a person or animal using a trained tinyML model with camera and microphone inputs.  This stage will alert via MQTT that something "live" is in the detection zone.

Stage 3  Image Recognition/Audio Codeword:   If the object is classified as a person then entry access would be granted if the person is identified by image recognition and/or an audio codeword response.

 

This proof of concept project would only implement the control logic, I haven't invested in an electronic lock yet.  There will be quite a few "challenges" to overcome, so I haven't attempted to come up with a rigorous schedule.  I do have a sequence (flow) of steps that I'll try to follow.

 

Step 1: Develop MQTT client to communicate with RPi4 server

Step 2: Develop keyword spotting capability using Edge Impulse (since there is an existing example)

Step 3: Try to do Step2 using MTB-ML

Step 4: Develop camera application (need to determine which camera to use)

Step 5: Develop object classification model using MTB-ML or Edge Impulse if necessary

Step 6: Develop person recognition model based learning from Step5

Step 7: Develop integrated application and test

Step 8: Measure power consumption in the various stages of operation

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube