Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 

The Challenge

A couple of weeks back we have participated at an IoT Hackathon which was hosted by BridgingIT, a SAP partner company located in Stuttgart, Germany. The idea of this hackathon was to elaborate latest Internet of Things (IoT) technologies by creating innovative ideas around future mobility concepts in metropolitan areas. Around 25 people such as software developers, entrepreneurs and students have attended the event. Within 28 hours, four teams have created ideas on how to improve public transport in urban areas by the help of IoT technologies and finally also implemented prototypes to illustrate their concepts. Participants had the free choice on which IoT platform to implement their prototypes (e.g. SAP, Microsoft or Amazon). One team built its prototype on the new SAP Cloud Platform Internet of Things service that will be described in the reminder of this blog.

The Scenario

We provided the participants access to our new SAP Cloud Platform IoT service which is part of the SAP Leonardo IoT portfolio. SAP Cloud Platform IoT leverages the Plat.One product that SAP has acquired back in 2016. With the help of SAP Cloud Platform IoT, you can securely connect with a broad range of devices over a broad variety of protocols to process business relevant data. The SAP Cloud Platform IoT service provides you with full flexibility in where and how to process IoT data - either at the edge of your network or on the SAP Cloud Platform. To simulate real sensor data, we have used a Raspberry Pi in combination with the Dexter GrovePi starter kit that provides a rich set of sensors.

The team that builds its prototype with SAP Cloud Platform IoT develops a scenario where the filling degree in a train is measured by the help of ultrasonic and sound sensors. Based on this, a forecast is sent to a mobile app for travellers that can rearrange their journeys in advance in case the train is already full. This scenario was implemented by the following prototype: We have used the ultrasonic sensor to count the number of people getting into a train. In addition, the noise level in a train is measured by the sound sensor. Both values are gathered from the sensors by a python script on the Raspberry Pi and afterwards sent via HTTPS/REST to the SAP Cloud Platform where the data is persisted on the database. Real-time measures as well as historic data can be monitored in the IoT Services Cockpit. Finally, the data can be consumed in a mobile app using REST-based APIs. In addition, the Amazon Alexa voice service was integrated into the scenario to inform travellers about the filling degree in a specific train before they start their trip.

In the figure below you can see real-time measures of the connected sensors in the IoT Services cockpit of SAP Cloud Platform IoT: beside ultrasonic- and sound data you can also see additional sensor values such as temperature or light values.

Impressions from the Event

You can see more impressions from the event in the following video. Many thanks to BridgingIT for organizing this great event.