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 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
Design for a Cause - Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Design for a Cause - Design Challenge
  • More
  • Cancel
Design for a Cause - Design Challenge
Blog Cue System for Anosmia and Smart WheelChair #11 - Machine Learning and Demo [Completed]
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dixonselvan
  • Date Created: 13 Sep 2018 7:25 AM Date Created
  • Views 2832 views
  • Likes 7 likes
  • Comments 8 comments
  • mkr_1010
  • dixonselvan
  • accessibility_projects
  • ardexpert
  • design for a cause - design challenge
  • design for a cause
Related
Recommended

Cue System for Anosmia and Smart WheelChair #11 - Machine Learning and Demo [Completed]

dixonselvan
dixonselvan
13 Sep 2018

<<<<Previous Blog     Next Blog>>>>

 

Audio & Visual Cue System for Anosmia (Smell Disorder) and Smart WheelChair - Ft. Amazon's Alexa

Week 11: Sep 11 - 14

     It is the last week of the 'Design for a Cause' design challenge. After two months of fun, long hours of work, editing, programming, asking Alexa weird questions, the project has finally come to an end. This blog will cover the machine learning process of identifying smell with a demo. Also, this will include a video demo of the 'Smart Wheelchair ' part of the project in order to provide an overall look at the project in total. For the introductory post about the 'Cue System for Anosmia' part of my project, visit this link - Cue System for Anosmia and Smart WheelChair #10 - Gas Sensors and Machine Learning.

 

Quick Links

 

1. Project Blogs Collection  - Design for a Cause - Design Challenge

2. Plan  - Cue System for Anosmia and Smart WheelChair #3 - The Plan

3. Design Challenge Page  - Design for a Cause - Design Challenge

4. Related Discussion  - Is it possible to transmit and receive smell?

    • Demo of 'Cue System for Anosmia'
    • Machine Learning the Smell
    • Demo of 'Smart WheelChair' [Repost]
    • Summary
    • Table of Contents/ Project Index

Demo of 'Cue System for Anosmia'

 

     Below is the demo video of the completed 'Cue System for Anosmia' part of my project.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Machine Learning the Smell

 

     For machine learning the smell, I have used the AWS machine learning service. This will create a machine learning model from the data source we provide, which has to be placed in the AWS S3 storage service. Once the model is created, we can try real-time predictions of smell in the AWS machine learning console. Also, we can create an endpoint using which we can request and receive predicted smell information in a JSON format. I have created a web service in my local which will make a request to the Machine learning endpoint with data inputs from the mq5 and the mq2 gas sensor connected to Arduino MKR1000. This will be used by the machine learning model to predict and provide a JSON response. From this response, the smell information will be extracted. All this happens, when we ask "Alexa, how does that smell like". The output will be passed to Alexa to voice out, which will be the name of the smell. Also, Alexa can check the environment when asked to do so (not automatically) and alert if there is a dangerous smell in the environment. For now, I have programmed the mosquito coil as the dangerous smell. When this is sensed, Alexa will voice out the alert message and then Arduino MKR1000 will turn ON a fan to probably extinguish the mosquito coil (smoke)! It can also turn OFF an electric stove if it is connected to the extension box which is in turn connected to the relay.

 

     The AWS machine learning costs as per the usage. The other services used in this project are free of cost. To provide an overview of how much it costs for usage, a screenshot of my bill for initial usage is given below.

 

image

 

 

     Since this is neither completely an open source service or was I able to find one within this timeline, I will provide the documentation which I followed to create the machine learning model. Here is the documentation from Amazon for setting up ML - Click here, for a tutorial - Click here and for an introduction to AWS ML video from YouTube - Click here (this is not from Amazon). For the dataset/ data source which I used to create an ML model - Click here.

 

     The machine learning model uses a multiclass type of prediction and below is a screenshot of a real-time prediction of smell in AWS machine learning console.

image

 

Demo of 'Smart WheelChair' [Repost]

 

     Though this has been already posted in this blog - Cue System for Anosmia and Smart WheelChair #9 - Smart WheelChair Integration, I am reposting it again so that this blog has the overall summary and demos of all the parts of the project. Below is the demo video of the Smart WheelChair part of my project.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Summary

 

     It has been fun over the two months building this project and making it a reality. The future scope/ plan would be delivering this as a product to the public in large scale. But I don't have a clue on how and I will post a blog here if that happens. The learning I had is immense, be it from my project or from the projects of other contestants. Arduino MKR1000 has been a wonderful, efficient and easy IoT device alongside the ESP8266 device family. Alexa, with this programmable capability make it a best option for voice command based automation/ data retrieval projects. IFTTT and thinger.io were also the best platforms I have seen so far to use for IoT projects. Enough of me talking, let's ask Alexa, how the experience was, in the video below.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Table of Contents/ Project Index

 

{tabbedtable} Tab LabelTab Content
IntroductionCue System for Anosmia and Smart WheelChair #1 - Introduction
Unboxing of KitCue System for Anosmia and Smart WheelChair #2 - Official Kit and Amazon Echo Dot Unboxing
Plan

Cue System for Anosmia and Smart WheelChair #3 - The Plan

Hardware - Cue System for Anosmia and Smart WheelChair #7 - Hardware Explained and Case

Smart WheelChair

Cue System for Anosmia and Smart WheelChair #4 - IoT Temperature Monitoring [DIY]

Steps for connecting Arduino MKR1000 with thinger.io for reading temperature data

Cue System for Anosmia and Smart WheelChair #6 - Fall and Collision Detection [DIY]

Cue System for Anosmia and Smart WheelChair #8a - Home Appliance Control

Cue System for Anosmia and Smart WheelChair #8b - Home Appliance Control

Cue System for Anosmia and Smart WheelChair #9 - Smart WheelChair Integration

Exploring Amazon Alexa

Cue System for Anosmia and Smart WheelChair #5 - Exploring Amazon Alexa

Exploring Amazon Alexa - Blueprints

Exploring Amazon Alexa - Getting started with the Alexa app

Cue System for Anosmia

Cue System for Anosmia and Smart WheelChair #10 - Gas Sensors and Machine Learning

This Blog

 

Have you got any suggestion or comment? Let me know in the comments section below.

image

Progress made so far,

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%

 

<<<<Previous Blog     Next Blog>>>>

  • Sign in to reply

Top Comments

  • dwinhold
    dwinhold over 6 years ago +1
    Great conclusion!! It has been a quick 2 months and now it's almost over. Nice to see your project complete, congratulations!! Dale
  • three-phase
    three-phase over 6 years ago +1
    Congratulations on finishing your project dixonselvan , I have enjoyed following it along the way. Good luck in the competition. Kind regards
  • dixonselvan
    dixonselvan over 6 years ago in reply to three-phase +1
    Thank you for following along three-phase your comments encouraged me in this 2 month journey.
  • patrickgraham
    patrickgraham over 2 years ago

    Looking for a way to play your favorite Nintendo DS games on your PC or Mac? Well, you're in luck! With our emulator, you can download and play Nintendo DS ROMs for free.

    Yes, that's right - with our emulator, you can download and play any Nintendo DS game you want, without having to pay a single cent. And not only that, but you'll also be able to enjoy all the benefits that come with playing your games on a bigger screen. No more squinting to see those tiny pixels!

    Best of all, our emulator is incredibly easy to use. Just download the ROM of your choice and run it in the emulator - it's that simple. So why wait? Start playing your favorite games today!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dixonselvan
    dixonselvan over 6 years ago

    FINISHER PRIZES

     

    Thank you for the prizes, Daniel Zima and team and Element14 Community.

     

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dixonselvan
    dixonselvan over 6 years ago in reply to Sean_Miller

    Thank you Sean_Miller

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Sean_Miller
    Sean_Miller over 6 years ago

    Great work on your projects!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dixonselvan
    dixonselvan over 6 years ago in reply to three-phase

    Thank you for following along three-phase your comments encouraged me in this 2 month journey.

    • Cancel
    • Vote Up +1 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 © 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