Intel Edison with Sparkfun 9DOF LSM9DS0 IMU
This Instructable is for an Intel Edison IoT Smart Helmet which uses a Sparkfun 9DOF to collect data from the helmet in order to measure head tramas and create a 3D rendering of the data for analysis using Intel's IoT cloud, R, web-GUI or mobile app. We are currently updating this instructable regularly so please vote for us (on the top right) and stay tuned for more updates! Open source references are listed in the read.me file. This instructable should be great for anyone using an Intel Edison and Sparkfun 9DOF module for motion capture, head tracking, etc. The hardware code was written in C with Intel Eclipse, Node.js with Intel XDK and the real time statistics are served up using R, MATLAB or the Intel IoT analytic cloud.
Here is a presentation: https://docs.google.com/presentation/d/1VoVcsBkiVU...
Step 1: Setup the Hardware
The hardware can be built using the schematics provided by Sparkfun or by purchasing their boards.
Build From Schematics:
Edison Console & External Power:
LSM9DS0 "9 Degrees of Freedom" IMU Edison sensor module:
Purchase Project Modules:
https://www.sparkfun.com/products/13024 Intel Edison
https://www.sparkfun.com/products/13045 Sparkfun Baseboard
https://www.sparkfun.com/products/13033 Sparkfun Edison 9DOF
BEGINNERS NOTE: Be sure to update and configure your Edison before you start your first project. Here's how:
3D Printed case was made for us thanks to @MattStultz from www.3dhubs.com the printable files (Impact.stl & ImpactTop.stl) are attached and I highly recommend using their services. The case can house the Intel Edison, Sparkfun Baseboard or battery and the 9DOF and includes a slot providing access to both USB connectors for use with an external power pack, console or other sensors.
Antenna can be liberated from any old laptop with a radio. Just coil the wire around a pen and heat or let set for a few days to get the correct form factor. Also, with the latest firmware the Edison can be used in AP mode, here's how: https://software.intel.com/en-us/getting-started-...(NOTE: The Sparkfun console will not blink when rebooted but AP mode still works)
(optional battery)* Power to the Edison can be provided over USB using the base board, another console, or with the battery module by itself. Once your Edison is configured the Smart Helmet program can be installed over wifi so you will only need an Edison console for first time setup or if you don't have another power or communications source.
Step 2: Setup the Software
Drag and drop the source code using SCP to the .NODE folder or download and run the installer script (coming soon)
Source Code:TeamImpact.zip or teamimpact.tar.gz (Files Attached) - Hardware code including output to local web server and Intel IoT analytic cloud API
Optional:TeamImpact.R (File Attached) - R script for analyzing real time and prerecorded data. For troubleshooting sensor data and interpretation by medical personal or artificial intelligence.
If you want to stream data to Intel's IoT cloud you will need to create an account and activate your device, here's how: https://software.intel.com/en-us/intel-iot-platfo...
Step 3: ...To Be Continued
Please, favorite this instructable as we are making updates frequently.
- Here is a link to the algorithms used for 3D mapping in Matlab:
- http://www.x-io.co.uk/gait-tracking-with-x-imu/ (3D rendering will be integrated in future versions)
- New features coming soon
- One-Click project installer script for Win/MAC/Linux (SSH copy routine script)
- Web-GUI including graphs, etc.
- Mobile Apps
- Better IoT cloud integration
Please, vote for us on the top right of this page!
Fully functional source code 6/9/15
3D printable case 5/26/15