Project tutorial
Smart Transportation Demo

Smart Transportation Demo © MIT

Proof of concept solution for transport companies to track vehicles with cargo using IoT components and IOTA platform.

  • 29 respects

Components and supplies

Apps and online services

Zthq9891 400x400
IOTA Tangle
To log records from the gateway and the sensors
Favicon 192x192
Home Assistant
To emulate the vehicle board computer

About this project

Our team (Edgica) recently participated in the Odyssey Hackathon 2019, Groningen, the Netherlands. We approached the challenge in the Crisis and Disaster management, namely, the challenge of incentivizing sharing information on hazardous materials.

The challenge was sponsored by the Dutch Safety Consortium represented by Instituut Fysieke Veiligheid (IFV), Ministry of Justice & Safety, the Dutch Safety Regions of Friesland, Groningen and Rotterdam and a collaboration of all Dutch public safety answering points (PSAP, Dutch: meldkamer), which serve as the communications hubs for all safety organizations (e.g. fire brigade, police, etc.) in the Netherlands.One of the Proof of Concept solution we developed during the hackathon was related to the recording of the GPS coordinates and data from sensors of vehicles that transport hazardous materials.

The data was expected to be real-time and trusted. Therefore, we decided to

a) get the data from IoT devices installed on vehicles, not from humans;

b) save the data from the IoT devices to IOTA;

c) read the data from IOTA for further usage in our system (backend) in various use cases.

Use Case

To keep it simple, the use case of the Proof of Concept looks like the following:

  • Transport company equips its vehicles with smart IoT components: a) wirelessly connected IoT device (Gateway) that tracks the GPS coordinates of the vehicle, and b) set of sensors (Sensors) connected to the Gateway to measure the state and leaks of the cargo (temperature, gas, radiation, and so on)
  • Dispatcher of a transport company plans the transportation of a Cargo and specifies details about the following: the Gateway ID of the vehicle, Start and Endpoints of the route, Type and Volume of the cargo, contact details of the driver.
  • After the record of the planned transportation is created, the backend generates the transportation's Keys to be used for recording to IOTA via MAM (Masked Authenticated Messaging) protocol.
  • Dispatcher starts the planned transportation and changes its state to Active.
  • The Gateway of each vehicle connects to the backend periodically and checks if there is any transportation in Active state that is assigned to it. And if positive, the device gets the Keys of the transportation from the backend and starts logging the data from the Gateway and Sensors (GPS coordinates, temperature, and so on) to IOTA in a structured form (transportation's Checkpoints).
  • The backend periodically checks the iota_backend_api, receives the Checkpoints from IOTA, and stores (caches) it in the database.
This data can be used by users of the system to implement various use cases. For example, the Dispatcher of the transport company can control the location and state of the vehicles. Or the Fire Service control room can get real-time and trusted information about vehicles with hazardous materials in the vicinity of an incident.
  • When the Dispatcher changes the state of active transportation to Finished, the backend verifies the Checkpoints to confirm a) the Cargo was actually delivered to the Endpoint (GPS coordinates verification), and b) the Cargo was transported safely, i.e., there were no incidents during the transportation, by analyzing the data from the Sensors (to be developed).


Please, see below the schematics of the IOT components. The source code could be found in the repository

Here are some photos from the 48 hours deep dive adventure!

User Interface

Read more

You can read more about our solution... that actually was announced a winner!

And here is an article in the IOTA blog about the hackathon, in which they mention our solution too :)

... and the Team!

We are happy to contribute to public safety in the Netherlands and Europe!


Smart Transportation Demo
The Proof of Concept solution of smart transportation developed by Edgica during the Odyssey Hackathon 2019, Groningen, the Netherlands.

Custom parts and enclosures

Photo of the High-temperature Sensor
Max6675 3 wmcbxw1v8g


The prototype of wirelessly connected IoT device (Gateway) that collects the data from Sensors, and stores it in IOTA. Needs 12V, can be placed in the driver cabine of the vehicle or behind.
Raspberry with nrf24l01  10nqkbjxa4
High-temperature Sensor
The prototype of the high-temp sensor to monitor the temperature of the tank with hazardous materials. Assumed to be placed on the tank.
Arduino nano nrf24 thermo  tlk5ku4hqz
GPS Sensor
The prototype of GPS coordinates sensor. Tracks the coordinates of the vehicle.
Arduino nano nrf24 gps  dg3uqacb3u
Gas Sensor
The prototype of Gas sensor to monitor possible leaks of toxic and/or flammable gases and liquids. Assumed to be placed in the tail of the vehicle.
Arduino nano nrf24 gas  ktohicn83y


Similar projects you might like

Building Smart Cities with Less Sound Pollution

Project tutorial by Team Xspies

  • 18 respects

Smart Parking System

Project tutorial by Husinul

  • 41 respects

The hydroMazing Smart Garden System

Project tutorial by Cory Potter

  • 190 respects

SMART Temperature Monitoring for Schools

Project tutorial by Aden and reginald loo

  • 19 respects

Smart Battery Charger Multiplexer with Smart Display

Project tutorial by leonzak

  • 25 respects
Add projectSign up / Login