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
IoT on Wheels Design Challenge
  • Challenges & Projects
  • Design Challenges
  • IoT on Wheels Design Challenge
  • More
  • Cancel
IoT on Wheels Design Challenge
Blog IOT on Wheels Design Challenge - Fatigue Alert System Blog #2
  • 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: dwinhold
  • Date Created: 1 Oct 2017 12:17 AM Date Created
  • Views 609 views
  • Likes 4 likes
  • Comments 5 comments
  • dwinhold
  • fatigue
  • fatiguealert
Related
Recommended

IOT on Wheels Design Challenge - Fatigue Alert System Blog #2

dwinhold
dwinhold
1 Oct 2017

Hello everyone,

 

This weeks update is a flow chart on how the computer will work with the sensors and how I plan the programming. I am also going to blog about the software I plan to use to program the Nucleo.

 

First the flow chart:

 

image

 

I hope this is fairly easy to follow (it makes sense to me anyway image) The Nucleo is at the heart of my design and everything branches off from there. I will have the WiFi module and the sensor board attached. I will be making a sensor for the steering wheel to make sure your hands are on the wheel. There is also going to be a heart rate monitor a vibration sensor and a confirmation light and button. With this all put together and the programming done right it will sense how tired you are and let you know when to stop driving.

 

As for  programming the Nucleo I will first use Mbed OS 5 https://os.mbed.com/  This looks to be what I need to use and I will also review the ease of this.

 

A quick note on the Nucleo-64 and the expansion boards. They came nicely packaged and with a card of info on each one. The Nucleo-64 and expansion boards are very impressive and will more then do the job I am set out to do. The only thing missing is a USB type A to mini B cable. Luckily I have a lot laying around but it could have been awkward if I didn't.

 

That is it for this blog, next one will be on the programming and making of some sensors.

 

Thank you

Dale W

  • Sign in to reply

Top Comments

  • DAB
    DAB over 8 years ago +2
    Hi Dale, Have you considered putting a 3-axis accelerometer strapped to the head? You could use it to see if the head is starting to droop, which is an indication of fatigue and sleep deprivation. DAB
  • dwinhold
    dwinhold over 8 years ago in reply to DAB +1
    Hi DAB I was thinking of doing this originally but wasn't sure and left it off. With you mentioning it, I will now put it into my project. Thank you for the advice, it's always appreciated!! Dale
  • dwinhold
    dwinhold over 8 years ago in reply to mcb1 +1
    Hi Mark Very good point mcb1 . My original thought is that you have 3 seconds to press the acknowledge button (reaction time) before more drastic measures. You are absolutely correct in that 3 seconds…
  • e14phil
    e14phil over 8 years ago

    The system looks interesting, I can't wait to see it up and running!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dwinhold
    dwinhold over 8 years ago in reply to mcb1

    Hi Mark

     

    Very good point mcb1 . My original thought is that you have 3 seconds to press the acknowledge button (reaction time) before more drastic measures. You are absolutely correct in that 3 seconds is way to much time, I will definitely change this. If you aren't dozing off when this alert happens, the computer will still calculate your reaction time. I also plan that if the vibration doesn't stop and you keep pressing the acknowledge button the computer will ignore the vibration until it stops (eg. You may be on a dirt road), then it will start to monitor again.

     

    Thank you for the comment and help!!

     

    Dale

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 8 years ago

    Dale

    I'm curious about the 3 second timer used in your flowcharts.

    On the right side you've already detected excess vibrations which may indicate the vehicle has strayed off to the right.

    By my calculation at 100kmph the vehicle will travel 27.77m/sec and therefore after 3 secs has quite likely travelled 83m.

     

    IMO doing something much more drastic at 1 or 1.5 second after the wrist vibrations might be more useful.

     

    Mark

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

    Hi DAB

     

    I was thinking of doing this originally but wasn't sure and left it off. With you mentioning it, I will now put it into my project.

     

    Thank you for the advice, it's always appreciated!!

     

    Dale

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Hi Dale,

     

    Have you considered putting a 3-axis accelerometer strapped to the head?

     

    You could use it to see if the head is starting to droop, which is an indication of fatigue and sleep deprivation.

     

    DAB

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