element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Sudden Impact Wearables Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Sudden Impact Wearables Design Challenge
  • More
  • Cancel
Sudden Impact Wearables Design Challenge
Blog EasyConfigure - Sudden Impact Monitor
  • Blog
  • Forum
  • Documents
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: tomaja
  • Date Created: 14 Apr 2015 4:14 PM Date Created
  • Views 122 views
  • Likes 0 likes
  • Comments 1 comment
  • mqtt
  • easy_configure
  • sudden_impact
  • qt
  • esp8266
  • arduino
Related
Recommended

EasyConfigure - Sudden Impact Monitor

tomaja
tomaja
14 Apr 2015

Previous posts:

EasyConfigure - Modular/Configurable System Intro

EasyConfigure - Hardware Components

EasyConfigure - BASH scripting

EasyConfigure - MQTT test setup

EasyConfigure - Remote sensor unit preparation

EasyConfigure - Configurator

 

Sudden Impact Monitor

This application is used to present current sensor readings from selected remote sensor unit. Short history is visible as realtime chart.

Previously, I made a video of this application running but data that was fed to it was published with a utility application made just for testing.

This time, data is published using a real wireless device powered from battery (ESP8266 module). Random values are still being published, but this time, I'm a step closer to my goal.

 

User interface is really simple but some additional features are planned.

At the top of the window, unit selection is given with "friendly" unit names shown in dropdown selector. These names are hardcoded in this build, but I plan to allow their change through the Sudden Impact Configurator tool GUI.

 

As for the value that's being displayed, this version displays only one value as that's what it's getting from broker (this is published by remote sensor unit).

 

Figure 1. Sudden Impact Monitor being updated from ESP8266 running Arduino sketch (Serial port debug visible)

 

Usage

As soon as user starts the application, it connects to MQTT broker and subscribes to the first topic in a list. When user changes selection in the Select remote unit dropdown, chart is cleared and data published by other unit is displayed.

 

Further improvements

1) Multiple sensor values will be displayed using different colours.

2) Alert functionality will be added. This will enable alerts if any of units triggers alert. Alerts are generated (published to a special MQTT topic) whenever some threshold value is crossed. These values will also be configurable using Sudden Impact Configurator (EasyConfigure - Configurator). Monitor will always be subscribed to alerts topic.

 

 

My future work will be focused on reading real acceleration values from a sensor and publishing them. This will require a change in how Sudden Impact Monitor is parsing data, but this shouldn't be hard to do at all.
Unfortunately, I lost all hopes that I will get my Analog Devices kits on time so I have to switch to some other solutions. I will acquire an accelerometer and use a thermometer that I already have to complete my project.
AD sensors will take their place if/when I get them.
I hope that I will soon make a post with additional progress on this project (involving sensor reading using ESP8266).
While I worked on ESP8266 connectivity/setup I burnt two of these little boards so I'm left with only one that's still working and I'm waiting for new delivery
Anonymous

Top Comments

  • DAB
    DAB over 7 years ago +1

    Good post.

     

    I think you made a good choice in keeping the UI simple for initial testing.

     

    After you have time to calibrate your system, then you can go to a more complex UI.

     

    DAB

Parents
  • DAB
    DAB over 7 years ago

    Good post.

     

    I think you made a good choice in keeping the UI simple for initial testing.

     

    After you have time to calibrate your system, then you can go to a more complex UI.

     

    DAB

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 7 years ago

    Good post.

     

    I think you made a good choice in keeping the UI simple for initial testing.

     

    After you have time to calibrate your system, then you can go to a more complex UI.

     

    DAB

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
Children
No Data
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube