Change has always been and will be the key component of progress. All change is hard at first, messy in the middle but gorgeous in the end.
In this blog series, we are going to show the journey and the steps we went through to achieve something that is changing the world.
Internet of Things needs no introduction. It is the capability of connecting real life objects to enable it to achieve greater value and service by exchanging data and information. As per Forbes, this is now the most talked technology, beating big data and this is not a temporary hype, but the beginning of an era which will stay for the next 5-10 years.
Six months back, we started testing the waters by looking into different ways in which we could connect different components, in order to create a basic use-case application of Internet of Things. It looked like a quadratic equation with many solutions but to reduce the complexity we stick to KISS principle and kept it simple.
Internet of Things is not a new radical concept, that just came into existence now, but in reality it is a capability that is possible only now, due to the advances in database technology like SAP HANA and due to the capability to do complex operations on huge datasets in a blink of an eye.
So coming back to our use-case for Internet of Things, which we are going to cover in 7 steps, we have selected a smart home example that will monitor our house. An example that everyone can relate to.
In the setup, we have a photo sensor, that is connected to our Arduino Uno which reads the analog data and sends it to Raspberry Pi via serial communication.
There is a Java program running in the Raspberry Pi that reads the data from the serial port and if there is a change, it sends the data to SAP HANA by XSJS calls.
On the frontend side, we have an SAPUI5 application that will show the readings, in real-time, in some nice tiles. The SAPUI5 Dashboard looks something like this:
Let’s see how we achieved this setup, step by step :
- Part 1: Introduction to Arduino, Raspberry Pi and why we have selected them
- Part 2: Setting up Arduino Uno
- Part 3: Setting up Raspberry Pi
- Part 4: Setting up Java Program to read serial port in Raspberry Pi
- Part 5: Setting up SAP HANA using Native development
- Part 6: Setting up SAP UI5
- Part 7: Go-Live
The configuration and integration of the different types of devices, in this series, may be challenging.
So, for all of our readers, who want to learn more in detail on how we did it, we have shot the entire series in a simple to understand video workshop, that you can find in YouTube and Udemy.
We are also working on another use-case leveraging SAP HANA cloud using new security protocols, which is not finished yet.
If you want to take a look at the work done so far, you can find the unfinished versions of the blog post series in UI5 Community network (UI5CN).
We wiill be putting it in the official SCN once all the parts are ready.