Skip to Content

SAP HANA IoT Part 7: Tying loose ends and going live

All the components are now setup individually in our previous blogs and all we need to do is to run them synchronously 😀

We should double check the URLs of the services, that links Raspberry Pi to SAP HANA system, from the sensor side; and SAP HANA system to SAPUI5, from the front end user’s side.

Let’s go for the go-live.

We are going to open the SAPUI5 app screen and start the Java program that reads the serial data and sends it back to HANA:

SAP HANA IoT Internet of Things: Raspberry, Arduino Uno, XSJS & SAPUI5

Now, once we start the Java program, we will instantly see the SAPUI5 app starts updating all the sensors data, on near real time basis.

A video result is shown here:

Congratulations we have now a working prototype ready of application leveraging Internet of Things with Raspberry Pi, Arduino Uno, sensors, SAP HANA and SAPUI5.

Back to master blog.

SAP HANA IoT Internet of Things: Raspberry, Arduino Uno, XSJS & SAPUI5
You must be Logged on to comment or reply to a post.
    • Hello Emmanuel,

      Good question , this was the very thing for which we spend most time in our project almost entire 1 week .

      There are lots of libraries out there which promise to read the serial port data of Raspberry Pi but the problem comes with compatibility with Java new version if you are reading the data with Java .

      One mistake i did was that i installed Arduino sketch in Pi and then did the configuration , the things is when you install the sketch in Raspbian then it automatically sets the appropriate file to read serial data but the problem comes when you write a custom java code and try to use that serial port it doesn’t work .

      So to do the setup i have given the files required , you have to download the files from your Raspberry you can use wget or simply use a web browser to do that inside the Pi and then type the commands to put the files in the required locations which will be used by Java program.

      This is a video which demonstrate that link here.

      This video is the one from the entire series of the video which we compiled in udemy IoT course to build an end to end IoT project using Pi ,Arduino ,SAP HANA and UI5 link here

      Hope it helps.