تفاصيل العمل

The goal of this project is to develop a smart home system that connects to the blockchain network to secure the connection and user interface, allowing us to connect to the network.

For creating the network, it is possible to connect to the available Ethereum test network, but these networks are quite slow so creating local network is the better solution.

Ganache is used to create a local network connecting the user and smart home microcontroller to the blockchain network.

To program a smart contract, Solidity programming language is used. Remix IDE is used to write, compile and deploy the contract. Additionally, a Python script is used to deploy the contract. Node-Red with Dashboard addon is used for block programming to create the user interface.

To control and sense the environment, a microcontroller is required. In this case, a Raspberry PI 4 is used to interface the inputs and outputs, communicate with the blockchain, and execute the actions that the user has entered through the user interface.

In this project, i use the DHT22 sensor to measure temperature and humidity and interface this sensor using Adafruit libraries. Additionally, the MQ-2 sensor is used to detect Methane, Butane, LPG, and Smoke to help detect fires and prevent them. The motion sensor HC-SR501 is used to alert or light up a certain area and control devices such as lights, doors, and fans in a smart home.

بطاقة العمل

اسم المستقل
عدد الإعجابات
0
تاريخ الإضافة