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
      •  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
Sudden Impact Wearables Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Sudden Impact Wearables Design Challenge
  • More
  • Cancel
Sudden Impact Wearables Design Challenge
Blog SFH: Week 8 - Beautiful, beautiful data
  • 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: hawkeyethehacker
  • Date Created: 7 Mar 2015 1:06 PM Date Created
  • Views 497 views
  • Likes 1 like
  • Comments 1 comment
  • safe_field_hockey
  • sudden_impact
Related
Recommended

SFH: Week 8 - Beautiful, beautiful data

hawkeyethehacker
hawkeyethehacker
7 Mar 2015

Afternoon (or morning, or evening image) to all of you fine folks today.

Two sections to this short blog post today, so have a short and simple read.

 

Since I started working on SFH, I am amazed at what I have learned. I have already accomplished far more than I initially thought I would and I definitely have more to learn. In the meantime however, on with the blog post!

 

Physical Changes

Since the Electric Imp arrived on my doorstep I have been busy working on getting components ready for connection.

A key design consideration I took into account when working on this was that the components should be readily capable of being connected to a breadboard, or directly to the Imp's headers. I will highlight below how I did this.

 

image

Pictured above is one of the Impact monitoring leads. This was fabricated from a Piezoelectric element, a few lengths of wire and some altered jumper cables.

The wire was measured to a long length, and can be zip-tied down to a smaller length as the height of the athlete decreases. On the other end of the wire is a cut and stripped jumper cable, so the female end is on one side and bare wire on the other. A question I was asked while doing this was "Why go through the extra effort of soldering half of a jumper cable, when it can be soldered directly to the headers on the Electric Imp?

 

The answer to this was for two reasons. One, as our good friend Ben Heck says, "always build something you can take apart easily later". Two, was that with a standard Male-Male Jumper cable attached, it can easily become breadboard capable, which is what is pictured above as the "Male-Female Connection".

 

image

Pictured above is the Analog Devices AD8232 Heart Rate evaluation module. In this case, I have soldered wires in the exact same method as for the Impact sensors. Note in this picture, only Data (OUT), 3.3V and GND is attached. Later in the project the electrode pins will be soldered to a 3.5mm 3-pole audio jack, for connection to the electrodes.

 

Software Changes

5babab279506cc93828b8788b7342a64.png

Pictured above is some simple code I wrote. This configures three pins for analog input, in this case, the two impact sensors and the ECG module.

In this example it also prints out the reading of the first impact sensor to the console. I later plan to adjust this to constantly take readings and push them to the server.

 

That said - the server setup has changed. The old websockets implementation is being ditched for a custom logging system in PHP. Stay tuned for that one next week image

 

As I say, not much to report today but slow and steady progress is being made.

  • Sign in to reply

Top Comments

  • clem57
    clem57 over 10 years ago +1
    hawkeyethehacker Do not belittle small changes since they may have the bigger effects! Seems like you are understanding the direction more now than when you started. That would be worth stating if so.…
  • clem57
    clem57 over 10 years ago

    hawkeyethehacker

      Do not belittle small changes since they may have the bigger effects! Seems like you are understanding the direction more now than when you started. That would be worth stating if so.

    Clem

    • 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