element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Summer of Green Tech Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Summer of Green Tech Design Challenge
  • More
  • Cancel
Summer of Green Tech Design Challenge
Blog Smart Home Energy Management System - Blog Post #3 - Collecting audio data with Nicla Vision Board and Edge Impulse
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Summer of Green Tech Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: MarioPJ98
  • Date Created: 20 Sep 2023 10:45 AM Date Created
  • Views 1287 views
  • Likes 9 likes
  • Comments 6 comments
  • competition
  • design challenge
  • summer of green tech design challenge
  • green
  • ml
  • challengers
  • green tech
  • machine learning
  • arduino
  • Nicla Vision Board
Related
Recommended

Smart Home Energy Management System - Blog Post #3 - Collecting audio data with Nicla Vision Board and Edge Impulse

MarioPJ98
MarioPJ98
20 Sep 2023
Smart Home Energy Management System - Blog Post #3 - Collecting audio data with Nicla Vision Board and Edge Impulse

I have won the Nicla Vision board from one of the Element14 events. I was excited since it is my first Arduino Pro's item, and I am getting started with boards that can use WiFi or Bluetooth. I really wanted to test the camera but at second thought using the microphone would be better. Three reasons:

  • Power consumption
  • Easily creating a model with higher accuracy even with more classes
  • Privacy.

I checked on Arduino page the power consumption for the microphone and the camera. The datasheet mentions the power consumption for the microphone (which is very low) but no the power consumption for the camera. I just assume the camera has an higher power consumption since it has more processing to do. Also, since I am mounting the SHEMS inside my bathroom, I just believe not using the camera would give more privacy and trust in the system. Lastly, processing images from a camera require a lot of computational power and I might get a model with less accuracy than with using a model based on the microphone. Audio data seems easier to process than visual data.

Nicla Vision | Arduino Documentation

As I mention in blog #1, I followed the instructions on Edge impulse to connect to the platform so I can collect label data and create models all from their platform. I followed the following link:

Arduino Nicla Vision - Edge Impulse Documentation

For the Arduino CLI, I installed by error the latest version which was very unstable, and I couldn't connect with Edge impulse, so I had to download the 0.18.3 version which work. Still, while following instructions I had issues with the process but nothing that couldn't be fixed by just unplugging and then plugging back in the cable or by pressing the RESET bottom on the Arduino board.

Once connected, I followed the following tutorial to create a model to respond to my commands:

Responding to your voice - Edge Impulse Documentation

Apparently, they have already a dataset with few labels (like "yes", "no", noise, and unknown). This helped me because I could download the dataset and the upload noise and unknown. I am uploading labels data like "Hey Bath" (just to start the SHEMS), "Turn off 1", "Turn on 1", "Turn off 2", "Turn on 2", "Half 1", and "Half 2" to adjust the level of the RGB LED strips.

image

You can see the dashboard on Edge impulse. It is really cool because you can easily personalize each data entry and visualize it really easily and quickly.

image

Here is a sample of command of "Turn off 1". It is cool that I can immediately visualize the data and I can have an idea too. Right now, I am uploading more data, I want at least ten minutes of each command just for the training, then 2 minutes for the test dataset. It is taking a lot of time especially because many times it fails to download the data, so I continuosly lose many sessions. For now, I do sessions of 30 seconds where I say multiple times the command and then I split session with the many commands. So from a session of 30 seconds I can get 15 commands of 1 seconds. I do 30 seconds because increasing the time might increase the possibility of failure and I would be losing a lot of time. Also, it takes more time to download logner sessions.

For a future blog post, I will update you how my dataset is going and progress on the Arduino Nicla Vision board.

  • Sign in to reply
  • MarioPJ98
    MarioPJ98 over 2 years ago in reply to dougw

    Lol I did know about the Nicla Voice but I thought it was the same as the Nicla Vision just without a camera. I see now the microphone on the Nicla Voice is way better. I wonder if the lower power speech recognition uses less power than the Nicla Vision's microphone. That would even be better for the design. Unfortunately, I have already spent way more than what I thought for this project, so it is about doing the best with what I haveSweat smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • MarioPJ98
    MarioPJ98 over 2 years ago in reply to DAB

    For the blog post, I was just testing in the living room but now I am getting data also in the bathroom. I might include some data with some background noise like some music or the sink open. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 2 years ago

    Have you checked out the Nicla Voice module? It "sounds" like it is good at audio ML...Relaxed

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 2 years ago

    Nice post.

    Audio commands can get tricky, what is your background noise levels?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • MarioPJ98
    MarioPJ98 over 2 years ago in reply to javagoza

    That is a good point! I need data taken inside the bathroom too since the microphone will only work inside the bathroom.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
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 © 2026 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