Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2021:homeautomationsystem [2022/01/28 07:13]
robert.rotsching [Hardware]
iothings:proiecte:2021:homeautomationsystem [2022/01/29 13:06] (current)
robert.rotsching [Resources]
Line 10: Line 10:
 In the present use case, 4 modules have been constructed. They serve different purposes in order to form a system that is able to command the desired heating and watering systems. The first module represents the control of the central heater. It contains an embedded device that offers an online interface. Using the interface, a user can make requests to the server that runs on the embedded device. The other 3 modules represent the control of 3 different watering systems. Each system is constructed such that it can water a plant at fixed intervals of time. In the construction of this solution, each system has been programmed to have an idle time of 6 seconds in which the watering mechanism is also idle. It counts the seconds that have passed between each interval of time in order to switch between states. The number of seconds can be changed, but for the present use case, a time of 6 seconds for inactivity is best suited to demonstrate the functioning of the device. Another period is the active state which is set to 2 seconds. In this state, the system activates the watering mechanism and water flows from a container through a tube to the plant. The control of the watering system and the control of the central heater are constructed with the help of a relay controlled by the embedded device. In this manner, the watering system turns on and off based on both the periods in which the system is configured to water the plants and the input from the user with the help of the commands sent to the server. In case two commands are issued to do the same thing, the system maintains its current status. When the system is turned off, then it resumes to the normal function in which the time periods wait to expire in order to change states. Regarding the central heating control system, a thermistor is used as a sensor for the ambient temperature. The behavior is based on the current temperature reading. If the temperature drops below 23 degrees C, then the central heater is turned on in the same manner as the watering system and if the temperature rises above 30 degrees C, then the system disables the heating. A signal is used in this case, which is different from the signal sent for watering the plants. In the case of the central heater, a small current is needed to send the signal to the central heater, as a result, the relay switches a 5V signal to the output. Each device runs its own server. As a result, each individual module can be controlled separately. In the present use case, 4 modules have been constructed. They serve different purposes in order to form a system that is able to command the desired heating and watering systems. The first module represents the control of the central heater. It contains an embedded device that offers an online interface. Using the interface, a user can make requests to the server that runs on the embedded device. The other 3 modules represent the control of 3 different watering systems. Each system is constructed such that it can water a plant at fixed intervals of time. In the construction of this solution, each system has been programmed to have an idle time of 6 seconds in which the watering mechanism is also idle. It counts the seconds that have passed between each interval of time in order to switch between states. The number of seconds can be changed, but for the present use case, a time of 6 seconds for inactivity is best suited to demonstrate the functioning of the device. Another period is the active state which is set to 2 seconds. In this state, the system activates the watering mechanism and water flows from a container through a tube to the plant. The control of the watering system and the control of the central heater are constructed with the help of a relay controlled by the embedded device. In this manner, the watering system turns on and off based on both the periods in which the system is configured to water the plants and the input from the user with the help of the commands sent to the server. In case two commands are issued to do the same thing, the system maintains its current status. When the system is turned off, then it resumes to the normal function in which the time periods wait to expire in order to change states. Regarding the central heating control system, a thermistor is used as a sensor for the ambient temperature. The behavior is based on the current temperature reading. If the temperature drops below 23 degrees C, then the central heater is turned on in the same manner as the watering system and if the temperature rises above 30 degrees C, then the system disables the heating. A signal is used in this case, which is different from the signal sent for watering the plants. In the case of the central heater, a small current is needed to send the signal to the central heater, as a result, the relay switches a 5V signal to the output. Each device runs its own server. As a result, each individual module can be controlled separately.
 ==== Hardware ==== ==== Hardware ====
-{{IOT_Central_Heating.jpg}} +{{IOT_Central_Heating.jpg?​700x350}} 
-==== Conclusions ​====+{{IOT_Plants.jpg?​700x350}} 
 +{{module.jpg?​700x350}} 
 +{{module2.jpg?​350x700}} 
 +==== User interface ​==== 
 +{{screen_central_heater.jpg?​700x350}} 
 +==== Resources ==== 
 +  - [[https://​github.com/​robertrotsching/​IOT_Project.git]] 
 +  - [[https://​randomnerdtutorials.com/​esp32-web-server-arduino-ide/​]]
iothings/proiecte/2021/homeautomationsystem.1643346786.txt.gz · Last modified: 2022/01/28 07:13 by robert.rotsching
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0