Skip to Content
Technical Articles
Author's profile photo Frank Schuler

IoT 3.0

For many years I have been sending IoT data into central databases starting with Connect a Lego Mindstorms NXT to the HCP Internet of Things Services via a Raspberry Pi over Bluetooth, followed by Send your Raspberry Pi sensor data to SAP Vora via Apache Kafka managed by the SAP Data Hub, and Send your Raspberry Pi sensor data to SAP Vora via Eclipse Paho MQTT managed by the SAP Data Hub.

That had advantages in that I could leverage central application logic to Display your Lego Mindstorms sensor data on a Fiori Overview Page and deploy it to the HCP Portal Fiori Launchpad or Analyse your Raspberry Pi I2C sensor data with the HANA Cloud Platform, predictive services.

The architecture had been looking like this:

IoT data sent to a central instance and retrieved back from there.

With the emergence of Web 3.0 another option presented itself:

A decentralized distributed ledger holds the IoT data with the former central instance becoming an equal member.

For this blog I leverage Duino IoT that is a feature of Duino-Coin, a hybrid crypto currency.

This time, my device is an ESP32:

It mines Duino-Coin combining it with my IoT data:

Core 1 received a correct job with size of 87 bytes
Core 0 found a correct hash (2.62s)
Core 0 retrieved job feedback: GOOD, hashrate: 21.39kH/s, share #6062
Core 0 asking for a new job for user: architectSAP
AHT readings: 20.22*C, 47.76% rH
Core 0 received a correct job with size of 87 bytes
Core 1 found a correct hash (4.63s)
Core 1 retrieved job feedback: GOOD, hashrate: 21.13kH/s, share #6069
Core 1 asking for a new job for user: architectSAP
AHT readings: 20.22*C, 47.78% rH
Core 1 received a correct job with size of 87 bytes
Core 0 found a correct hash (5.54s)

As a result, my IoT data is stored with the blockchain and for example accessible through the Doino-Coin Web Wallet:

In my opinion, the potential for distributed ledgers for IoT is enormous especially also by reducing integration challenges and risks.

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ryan Fleischmann
      Ryan Fleischmann

      Cool project!

      I think the question that comes available though is - is your IoT data safe to put on chain? Since you're dealing with an immutable ledger - anything you put out there is subject to anyone and everyone else potentially seeing it with no recourse to take it down.

      If its a batch of strawberries - that's ok. But if it's a component to a DoD weapons system, it might not be.

      One thing you could add to protect the privacy of the data while having it verifiable on chain is through zero knowledge proofs. Perhaps I help you with a part 2 that incorporates composable zk with Provide Shuttle for the use case? 🙂

      Author's profile photo Frank Schuler
      Frank Schuler
      Blog Post Author

      Thank you for the offer, Ryan. Appreciated. I would love to learn how to prove that my sensor readings are within a defined range without revealing them.