IOTA: A first real-world use case demonstrated in Peru

Learning our A, B, Cs… and Ts

The Tangle, which is the data structure behind IOTA, is a particular kind of directed graph, which holds transactions. Each transaction is represented as a vertex in the graph. When a new transaction joins the tangle, it chooses two previous transactions to approve, adding two new edges to the graph.

Directed Acyclic Graph (DAG) — Tangle

This structure of DLT, known as Distributed Acyclic Graph (DAG), used by the IOTA Foundation has solved a couple of critically important limitations found when using Blockchain, another DLT: scalability and zero-fees. This new reality is now opening up the way to a large field of unimaginable opportunities ready for exploration. There is no doubt about IOTA’s potential in our future as its use becomes ubiquitous in our day to day, taking its rightful place in the up and coming machine economy.

Moving on to our first PoC

Did we learn correctly our A, B and Cs? We believe so! In fact, we came up with not only a simple Proof of Concept (PoC), but one which not demanded a lot from our not-so-deep pockets J. We were able to carry our experiments in the simplest and cheapest way possible, with great results!

Here in Peru, as well as in many other parts of the developing world, there is a trade activity we wanted to simulate. The picture below paints a good understanding of what this trade activity entails. Basically, we wanted to simulate a transaction in which the customer’s truck would automatically interact with the dispensing machine, a transaction with no human interaction ‘per se’. Could this be possible? How about payment? How can details of a transaction be addressed automatically? We decided to try… and cook it. We are Peruvians, and we love our food! 😉

Picture of the trade activity.

Our First ingredient: Open-Hardware

-For the truck:

  • 1 Raspberry pi
  • 1 RFID reader
  • 4 motors
  • L298n Module
  • 1 battery
  • 1 power bank

-For the station:

  • 1 Raspberry pi
  • 1 arduino
  • 1 RFID card
  • 1 relay
  • 1 Mini submersible water pump
  • 1 display 16×2
  • 1 led rgb
  • 1 battery

Our Second Ingredient: Open-Software

Two Web apps:

· One to operate the truck remotely and instruct when to load it up, and

· One to monitor/control the station from anywhere in the world (Remote server access).

These Web apps are still under development as we plan to improve our PoC by adding other functionalities more in tune with real-world scenarios, toll roads for example.

https://medium.com/media/ccff45db17b8dbbd47c7e21376a77d43/href

This video is self-explanatory, but the actual flow process is outlined below for better understanding.

  1. Driver connects to a web app to initiate remote control (Truck)
  2. Upon arrival to destination, the RFID reader is manually triggered. The reading is set to last for 30 seconds.
  3. If the RFID Reader does not detect a RFID Tag to read, then the Reader sends a notification to the web app reporting an error. Driver is then prompted to check for pre-defined causes of failure: improper parking, missing RFID Tag, defective station/machine, etc.
  4. If the RFID Reader detects a Tag, then the database verification process begins. All Tags must be validated for authenticity. This process will take place via an API in the future (Tangle).
  5. Once the Tag is authenticated then a connection with the dispensing machine gets established via socket. The connection will determine the readiness and accessibility of the dispensing machine. (i.e. another truck in place)
  6. The web app will end the process immediately if the dispensing machine is unavailable
  7. If available, the payment transaction process begins. The dispensing machine will confirm previously quoted cost per cm3 and provide payment (address) information as well.
  8. In parallel, as step 7 takes place, the truck/driver places its cm3 order for loading.
  9. Once steps 7 and 8 have been completed, the payment transaction is then executed, saved in the Tangle, and finally communicated to the dispensing machine (transaction hash).
  10. The dispensing machine then connects to the Tangle and verifies the payment transaction (transaction hash match)
  11. If positive, then it processes the load and sends a notification of completion to the truck.
  12. The truck acknowledges receipt and begins to drive away.

Here are some captures of the project

Web app to control the truck.
The transaction in Tangle.
Also in the wallet.
Physical desing
From another angle.

Our judges have spoken: the main course was served

This Proof of Concept has given us a much greater vision of what we had initially imagined: there is so much more we can manifest using IOTA’s revolutionary technology. Now we know that we are somehow sharing the same vision of progress and a better world with several other people and global organizations. We now follow the lead of the Volkswagens, Fujitsus, Boshes of the world, but most importantly IOTA’s.

We are already in the process of master minding a number of other projects. We will share news of those in due time. This PoC is only one of the many Proofs of Concept that we will carry out to demonstrate IOTA’s potential that IOTA.

Dessert

Christopher Aldave, a member of our team has published three tutorials for those who are just starting to dive into IOTA world. Beginners now have a simple and practical tool at their disposal. Please use them.

IOTA Transaction Example

IOTA MAM Example

IOTA Push data from sensors to tangle

By the way, these tutorials have already inspired other people to share their knowledge with us. We very much thank them for that! Let’s keep sharing our love for IOTA!

We entice you to donate IOTAs to our cause, remember, Peru still is a developing country. Your support is very much appreciated:

UKRUVWZ9JRHCICMWJXVAWPLWWQJBEZOKLCJEIEPMWELDCTYGVRSL9IWVAADRCOZ9WZQTNYOFGBQEBJOPDBGFYBUSZW

...

Read the Full Article

This post was originally published on https://medium.com/@chrislaive?source=rss-f6997c744052------2. The IOTA-News Community curates, examines, and summarizes news from external services while producing its own original material. Copyrights from external sources will be credited as they pertain to their corresponding owners. The purpose is to make use of 3rd party content or pictures as either allusion or promotional endorsement of mentioned sites. If you have a claim of copyright infringement with respect to material, please mail to support[at]iota-news.com. IOTA-News.com is a community run website and is NOT affiliated with the IOTA Foundation in any way.

You might also like

Join our Telegram Channel

for IOTA News in realtime!

Do you want to join?

Download the Telegram  app  here