Friday, 26 February 2016

Eclipse Open IoT Challenge 2.0 - Final Update #10 : IOT VAIDYA IN ACTION! (Demo)

Welcome IOT VAIDYA! - an IOT doctor for you.The project is all set to check rural(as well as urban) patients and send their reports to a doctor who may be sitting in a totally different part of the world.We are finally finished with the project.Please take a look here.

What you will see in the video is the patient has sensors attached to his body and the program will start with the double click on the IOT VAIDYA launcher icon.A form opens up on this PiTFT 3.5'' Touchscreen and the basic information of the patient are filled.On clicking Submit, the diagnosis will begin.The audio from the speaker will guide the patient while diagnosis.Later on,after diagnosis, a "Success" message on the screen shows successful publishing of data.
The doctor in some other corner of the world(here, other corner of the room!) logs into his account on http://iotvaidya.mybluemix.net/ and sees ONE new patient has been added on the notification-bell.
He clicks on the patient's report and sees a page with all the data shown : Pulse, ECG, GSR and Temperature.Then he finds out the probable disease and intimates the same to the patient via SMS. He writes in a language in which he is comfortable but the message is received by the patient in his regional language.
While this is the main functionality, we also have added calendar with drop-able events which doctor can write and drop on the desired dates to be considered as a reminder in future.

While most of the details of the project have been covered in the last two updates : #Update9 and #Update8 , this blog will highlight what we have not covered so far.

1. Installing PiTFT and bringing up X Windows Desktop:


Using PiTFT 3.5'' from Adafruit is very easy to use and install.We followed this easy install instruction.

Next, this link was quite helpful in getting things right with x windows desktop you see in the above picture.

2.Creating launcher: Using gnome panel.

sudo apt-get install --no-install-recommends gnome-panel

3.Patient form on the the display : Using python code and tkinter package.

sudo apt-get install python-tk



4.When we hit "Submit" in the form, the python code runs a system call to take "Name","Age","Contact" and "Village" as arguments and pass it to the the java application.

5.The sensors data does not look very accurate because we were still working on improving our algorithm to properly reconstruct the values.

6.The digital temperature sensor is quite accurate though.

Challenges were faced!

1.Sending image over MQTT was problematic due to the 4096B payload limit with IBM Bluemix IOTF service.It is interesting because it used to work few days back.Nevertheless we went ahead and used HTTP for the same.

2.Plotly for plotting Sensor data and using Mongo DB by Compose was causing the website to load slow.So we switched to Chartjs and MongoLab.

3.Finding translation API : Wanted something very easy to integrate in our project. https://mymemory.translated.net/ APIs were very easy and required just a single line of code.

4.What we really wanted was to add IBM Watson Q&A API for enhancing the capability of IOT VAIDYA and to make it some what cognitive.Sadly, the API is not open in trial period.We will keep on searching new methods to give it cognitive aspect.

5. Interfacing Analog sensors to Pi. As raspberry pi itself doesn't have analog pins, hence we were compelled to use external ADC. (MCP3008)

Amazing experience using open IoT standards:
1.Eclipse Kura:
Though Reactive Blocks allow the application to be built for various target platforms, it has got support for Kura too.
After using Kura for running applications on raspberry pi,these are the features which make it unique and impressive:
  • Run/Debug from eclipse
  • One Click Deployment
  • Web Based Console
  • Remote OSGI
2. Paho MQTT:
Implementation of Paho project into various languages make it plug and play.We used Java and python implementation of paho project in our application.

3.Github:
We have uploaded all the codes of our project in Github repository.iot_vaidya

4.Reactive Blocks:
Team reactive blocks is just awesome, they helped us a lot throughout this challenge. We have shared 60+ mails in last 45 days.

Response to project: 

It's been an amazing journey so far. We have got close to 1500 hits on our blog, 15+ followers on twitter, 50+ likes and 25+ retweets.
Especially tweets from Benjamin Kabe, Ian Skerett, Anne Nevein motivated a lot.

We would keep the project going, do keep supporting us.
Follow us on twitter:@iot_vaidya

31 comments:

  1. Welcome Post very usefull informatation.and iam expecting more posts like this please keep updating us........

    ReplyDelete
  2. Amazing work.
    http://www.translation.pk/

    ReplyDelete
  3. I have gone through and found your blog really helpful for me,.
    Thanks you for this share,
    gardens

    ReplyDelete
  4. Hi, Thanks for giving a nice article. For more information please visit.
    IOT Training Institutes in Ameerpet

    ReplyDelete
  5. Excellent blog, good to see someone is posting quality information. Thanks for sharing this useful information. Keep up the good work.
    Wifi Smart Plug

    ReplyDelete
  6. Great post. Needed to write simple word that Thanks for suggestions. Keep it up! best sap simple finance online training institute in hyderabad

    ReplyDelete
  7. After reading this blog i very strong in this topics and this blog really helpful to all...Data Science Online course

    ReplyDelete
  8. I agree that IoT is a very interesting and valuable technology. While popularly underappreciated, it is very much vital in the industry itself. One of the companies I’ve seen to implement it the best would be Pro4People - you can learn more on it on their website pro4people - about us.

    ReplyDelete
  9. Thanks For Sharing Your Information , Plaese Keep Updating US, Time Went On Reading The ArticleAdvanced Java Course In Hyderabad

    ReplyDelete

  10. Very nice post here and thanks for it .I always like and such a super contents of these post.

    CEH Training In Hyderbad

    ReplyDelete
  11. Hello. I'm looking for a solid consulting company to implement iot solutions at production line. What do you think about our choice - more about services they provide.

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. We also use the best data encryption to safeguard the IoT data transmitted wirelessly. Our high speed data transfer and IoT data connectivity is always consistent and ensures proper functioning of the connected IoT devices.

    ReplyDelete
  19. Hello I am so delighted I found your blog, I really found you by mistake, while I was looking on Yahoo for something else, anyways I am here now and would just like to say thanks for a tremendous post. Please do keep up the great work.
    Occupational Health Surveillance

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. Very informative blog.... Thanks for the sharing such a great info!


    Have a look at IOT Application Development Company in Delhi

    ReplyDelete
  22. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts, have a nice weekend!
    Surya Informatics

    ReplyDelete
  23. I really like reading through a post that can make people think. Also, many thanks for permitting me to comment!Hacking BlogsHack Instagram

    ReplyDelete