In this master's thesis we present the development of a computer platform that serves as the basis for the development of applications for the management of mechatronic devices with the traceability of transactions performed by blockchain technologies. The core element of the platform is the smart contract on the Ethereum network, written in the Solidity programming language. Around the smart contract, we built the user interface with the server, written in the Node.js environment, as well as a controller of mechatronic device which provides access to one of the Ethereum nodes. The main functions of the platform are: the possibility of adding a mechatronic device and its properties in the form of a structure in smart contract, managing a mechatronic device via an interface through the functions of a smart contract and the possibility of booking a particular mechatronic device service. The time constant of the function execution on the platform is approximately 44 seconds. Based on the developed platform, we developed an application that serves as a parking management system. In it, we used a commercial parking bollard, for which we developed a controller based on the microcomputer Raspberry Pi. The operation of individual functions and the entire application was experimentally verified. We also examined the safety aspects of the system and found that the main potential weaknesses of our application are in the hardware of the selected parking bollard and in user's lack of knowledge of the new technology.
|