Integrating physical devices with IOTA — The Reverse Vending Machine
The full article was originally published by Hugo Gregersen on Medium. Read the full article here.
Integrating physical devices with IOTA — The Reverse Vending MachineThe 17th part in a series of beginner tutorials on integrating physical devices with the IOTA protocol.Introduction
This is the 17th part in a series of beginner tutorials where we explore integrating physical devices with the IOTA protocol. In this tutorial we will be creating the basic functions of an IOTA powered reverse vending machine using a Raspberry PI, a touch display, a camera, and a bar-code scanner.
The touch display and/or bar-code scanner is not required to play around with this tutorial as you also have the option of interacting with the UI using a traditional monitor, mouse and keyboard.
When I started working on this tutorial my initial idea was to do some type of IOTA powered vending machine. However, i soon realized that the main functions of such a machine would be more or less identical to the projects we did in the first four tutorials in this series; only difference being that instead of turning ON/OFF a power relay, we would now have to trigger some type of robotic motion.
After puzzling over this problem for a while i decided to go with a different idea.., what if we took the previous tutorials and reversed the use case? The result would be some kind of a reverse vending machine. Instead of the customer paying the machine for its services, the machine would now have to pay the customer. This would surely introduce some interesting new challenges.