Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On IoT Solutions with Blockchain

You're reading from   Hands-On IoT Solutions with Blockchain Discover how converging IoT and blockchain can help you build effective solutions

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789132243
Length 206 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Maximiliano Santos Maximiliano Santos
Author Profile Icon Maximiliano Santos
Maximiliano Santos
Enio Moura Enio Moura
Author Profile Icon Enio Moura
Enio Moura
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Understanding IoT and Developing Devices on the IBM Watson IoT Platform 2. Creating Your First IoT Solution FREE CHAPTER 3. Explaining Blockchain Technology and Working with Hyperledger 4. Creating Your Own Blockchain Network 5. Addressing Food Safety - Building around the Blockchain 6. Designing the Solution Architecture 7. Creating Your Blockchain and IoT Solution 8. The IoT, Blockchain, and Industry 4.0 9. Best Practices for Developing Blockchain and IoT Solutions 10. Other Books You May Enjoy

Creating the IoT part of the solution


After defining the entire blockchain network and getting everything up and running, we will now set up and develop the device that's going to update the ledger with box and pallet measurements.

To complete that, we're going to create a new device, using the same approach as Chapter 2, Creating Your First IoT Solution, and create an application that receives events from measurements and updates the blockchain ledger using the API that was exposed by the Composer REST server.

Hardware setup

To assemble this monitoring device, we will apply a couple of assumptions that might be pertinent to a production environment:

  • The transporting vehicle has a Wi-Fi connection available so that the device can connect to the internet
  • The monitoring device time is synchronized with the application time, including the time zone
  • All boxes are transported at the same time, using the same vehicle, so that the same conditions and measurements apply to all boxes in a pallet

In a production...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime