Introduction: RIO Fitness Tracker (Intel IoT)

OVERVIEW:

At CES 2014 the company unveiled Intel Edison; a low-cost postage stamp sized processor designed for wearable devices. Its hope is that start-ups will use the platform to engineer their own devices, and help Intel create a foothold in the wearables space as an ecosystem. In essence, Edison is nearly identical to the chip inside your smartphone. It uses Intel’s x86 architecture, which means it’s designed the same as your desktop PC, but it’s lower powered at just 500MHz, and does everything your smartphone can do – even graphic processing; although Intel has turned off these bells and whistles.While most wearable processors lack the power to do anything but manage a few sensors, Edison can run full operating systems if needed. So in this project, we are building a fitness tracker that will help to monitor our heart rate and body temperature and instantly upload it to cloud. A emergency touch switch is also provided to alert in any emergency situation. We can easily check the readings in simple graphical or tabular format in daily, monthly and yearly basis. The main advantage of using Intel Edison board is its processing capabilities, low power consumption, built-in Bluetooth and WiFi which makes it best processor for IOT (Internet Of Things) applications. Using Intel Edison in wearables will enhance the capabilities of devices such as image processing facilities, secured connection to cloud and data processing through secured server and many more.

Step 1: Step 1: List of Parts

The parts used for setting up the prototype are as follows:

1. Intel Edison Chip

2. Arduino Expansion Board

3. DC power supply

4. Grove temperature sensor

5. Grove touch sensor

6. Heart Rate sensor


Additional Resources used:

Cloud service for Intel IoT devices - Enable IoT Dashboard (Free signup)


Step 2: Step 2: System Hardware Configuration

We are programming Edison Board in Arduino IDE. The sensor setup for the Edison is relatively simple requiring just three GPIO pins for the heart rate, temperature and touch sensor. Heart rate and temperature sensor give values in analog voltage form from 0 to 5V so they are connected to analog pins A0 and A2 whereas touch sensor gives output in 1/0 form so it is connected to digital pin D4. We are using built-in WiFi module inside Edison chip for connecting to the internet.

Step 3: Step 3: System Software Configuration

EnableIOT Dashboard is a free agent which allows you to upload data on cloud freely.

The following steps are required to setup cloud database on dashboard:

1. Go to https://dashboard.us.enableiot.com and sign up a new account.

2. Click on your Account and select catalog.

3. Add the components to your catalog, give your sensor specification, name, range, etc.

4. In your Account, click details and select activation code and refresh it. This activation code will be required in setting up connection between Edison and Dashboard.

There are various other instructables available how to setup enableIOT Dashboard.

For setting up wifi configuration on edison board go to

https://www.instructables.com/id/Intel-IoT-Analytic...

Step 4: Step 4: Code

The code is written in Arduino IDE. Select Intel Edison as a board and select Intel Edison Virtual COM port.

Intel has provided example to code help you transfer data from their hardware to the Analytics Dashboard. Their arduino library "IoTkit.h" depends on the library "ajson.h" to send a receive data. aJson is a library to receive, understand, create or modify JSON strings directly in the Arduino environment.

Downloads:

Arduino IDE for Intel Edison - https://software.intel.com/en-us/iot/hardware/edis...

Libraries used in code -

https://github.com/interactive-matter/aJson

https://github.com/enableiot/iotkit-samples

Step 5: Step 5: Results and Testing

As you can see, the data is uploaded on Dashboard and we are viewing it in graphical form. It plots the reading with respect to time scale. This data can shared and viewed anywhere. Hence this data can be even sent to doctor for body temperature and heart rate analysis.

Intel® IoT Invitational

Participated in the
Intel® IoT Invitational