Sunday, 26 June 2016

IOT VAIDYA in Intel Ultimate Coder Challenge - Part 1

Hello people! It's been quite long time since my last blog post.The reason being involvement in Intel's Ultimate Coder Challenge about which I mentioned in my last blog post.So let me give you a little summary of what we've been upto this whole time.

We are team IOT Vaidya and we are developing a Cognitive Healthcare Solutions for rural areas.We will be sensing vital parameters such as ECG, Heart Rate, Blood Pressure, Galvanic Skin Response and Body Temperature and sending it to a doctor who may be sitting in a far off place - far away from rural areas. Now comes the cognitive aspect of the project.Not only will the doctor be able to assess the patient by himself, but also will be assisted by our Machine Intelligence System to decide on key judgments.

While there can be many parameters to implement the Machine Intelligence upon, we are choosing ECG.The reason being it is time series data stream and hence has an inherent Temporal Memory behavior. What all that mean, will be explained on the official challenge's blog after we are done with some implementation of this machine intelligence system.

We are very confident of it working well.

So, getting back to what has been done in the last 5 weeks -

Week 1
This week saw us introducing our project using a block diagram.

Week 2
By the second week we were able to check if our cloud interaction was taking place.This was a simple demo of a laptop(device)  communicating with IBM Bluemix's IOTF Service.

Since the underlying working of this communication is based on a very important IOT protocol - MQTT, we also gave a little introduction on the same.

By the end of this week, we actually showed the working of MQTT protocol in a local environment to get a feel of Internet of Things.We explained in detail what all things are required by a developer to get his/her MQTT environment up and running.

Week 3
Finally, our Intel Commercial IOT Development kit arrived and we got familiar with it's components.We were very delighted to see all those cool tech at one place.Take a look at them yourself.

The kit includes Dell Wyse 3290 IoT Gateway, Intel Curie Board ( Arduino 101/Genuino 101 ) and Grove Sensor Kit.
And the best part was we got one of those sets for each one of us!Happy!

Finally we were able to get our hands on the dev kit and our first experiment was with Genuino 101.We interfaced our Pulse Sensor with Genuino Board and got the output on Processing software.
The output was just as expected and you can view the demo here.
For people having trouble uploading sketch on their genuinos, the blog also explains what needs to be done in those scenarios.

Week 4
After having interfaced the pulse sensor with genuino, next we interfaced Blood Pressure Sensor.In the challenge's blog post, we have explained in detail about the sensor.We had also talked about High Blood Pressure and why is it important to know your number. We learnt that the High Blood Pressure doesn't have visible symptoms so we should get our BP checked for any abnormality in the BP numbers( SYS and DIA).
Here is an image of the Blood Pressure sensor that we are using.

We also introduced two more sensors after this - GSR and Temperature.

Week 5
This week was spent on configuring our Intel IoT Gateway ( Dell Wyse 3290 ) and getting it connected with Genuino Board over Bluetooth LE.
For the demonstration purpose, we interfaced our Pulse Sensor to the genuino board and uploaded a HeartRateMonitor Sketch to it.Next, we ran a python script on the Gateway and enjoyed the view!

Genuino Serial Monitor

Dell Wyse 3290 IoT Gateway Terminal

What is next?
Now that  final look of our project is shaping up (having interfaced almost all the sensors), we are working on addition of cognitive aspect to it.There are many important anomalies out there in healthcare.What we are planning to detect is Cardiac Arrythmia. For now, we will be targeting this important anomaly using Hierarchical Temporal Memory Algorithms. After successful implementation, we will try to detect another very critical situation in India - Cataract. We believe in same old principle that - PREVENTION IS BETTER THAN CURE - always.

IoT Vaidya on Twitter- @iot_vaidya