Differences

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

Link to this comparison view

iothings:proiecte:2022:smart_parking_system [2023/01/19 14:55]
andrei.popa0805
iothings:proiecte:2022:smart_parking_system [2023/01/19 22:12] (current)
andrei.popa0805
Line 35: Line 35:
 In the end, the physically hardware architecture fully configured on the breadboard can be observed in the picture below where the barrier between the ultrasonic sensors can be also noticed. In the end, the physically hardware architecture fully configured on the breadboard can be observed in the picture below where the barrier between the ultrasonic sensors can be also noticed.
 {{ :​iothings:​proiecte:​2022:​schema_smart_parking_system.png?​300 |}} {{ :​iothings:​proiecte:​2022:​schema_smart_parking_system.png?​300 |}}
 +A full view of the parking lot is illustrated in the picture below. The difference between these two pictures is that in this case the whole parking lot can be observed and, implicitely,​ the placement of the system on the table. 
 +{{ :​iothings:​proiecte:​2022:​pov_smart_parking2.png |}}
 ==== Software Architecture ====  ==== Software Architecture ==== 
  
Line 255: Line 256:
 </​code>​ </​code>​
 In this project, the ESP32 microcontroller serves as the central control unit for the operation of all sensors and motors involved. This is demonstrated also in the demo video. Additionally,​ the file "​index.html"​ was uploaded to the microcontroller'​s internal memory in order to facilitate the display of a user-friendly web interface, as depicted in the picture below. Through this interface, users can easily monitor the temporal evolution of humidity and temperature and make a decision to activate the ventilation system via the button provided at the top of the page. \\ In this project, the ESP32 microcontroller serves as the central control unit for the operation of all sensors and motors involved. This is demonstrated also in the demo video. Additionally,​ the file "​index.html"​ was uploaded to the microcontroller'​s internal memory in order to facilitate the display of a user-friendly web interface, as depicted in the picture below. Through this interface, users can easily monitor the temporal evolution of humidity and temperature and make a decision to activate the ventilation system via the button provided at the top of the page. \\
-<note tip>​tip</​note> The flash on the ESP32 internal memory of the "​index.html"​ file was realized with a plugin called ESP32FS, documented in the resource chapter of this project.+<note tip>The flash on the ESP32 internal memory of the "​index.html"​ file was realized with a plugin called ​**ESP32FS**, documented in the resource chapter of this project.</​note>​
 {{ :​iothings:​proiecte:​2022:​preview_web_server_smart_parking.png |}} \\ {{ :​iothings:​proiecte:​2022:​preview_web_server_smart_parking.png |}} \\
 The above code is the HTML document that contains the structure, layout, and styling of the web page depicted above. The web page is used to display two Highchart graph and a switch button. The switch button is used to turn on and off the ventilation system, when the switch is on the button is green, and when it's off it's red. The page uses a stylesheet to define the layout and design of the page elements such as the switch, the labels and the charts. The JavaScript code is used to create the charts and to handle the switch button "​onchange"​ event. The above code is the HTML document that contains the structure, layout, and styling of the web page depicted above. The web page is used to display two Highchart graph and a switch button. The switch button is used to turn on and off the ventilation system, when the switch is on the button is green, and when it's off it's red. The page uses a stylesheet to define the layout and design of the page elements such as the switch, the labels and the charts. The JavaScript code is used to create the charts and to handle the switch button "​onchange"​ event.
Line 477: Line 478:
 </​html>​ </​html>​
 </​code>​ </​code>​
 +To sum up, a simple yet efficient software architecture was obtained and the whole system'​s usability was highlighted in the diagram below.
 +{{ :​iothings:​proiecte:​2022:​activity_diagram_smart_parking2.png |}}
 ===== Usability. Demo Video ===== ===== Usability. Demo Video =====
 The way the proposed solution is working was highlighted in the video attached in the link below. There, the full environment and the hardware implementation'​s placement in the parking lot can be observed. The example displays how the ultrasonic sensors sense the activity which happens in front of them, how the barrier can be moved manually using the buttons or automatically when the ultrasonic sensors detect some movement, the LEDs which indicate the state of the barrier (open/​closed) and the web server interface in which the evolution in time of the humidity and temperature can be seen in the graphs and the trigger button of the DC Motor which should be pressed when temperature/​humidity exceed a desired treshold. \\ The way the proposed solution is working was highlighted in the video attached in the link below. There, the full environment and the hardware implementation'​s placement in the parking lot can be observed. The example displays how the ultrasonic sensors sense the activity which happens in front of them, how the barrier can be moved manually using the buttons or automatically when the ultrasonic sensors detect some movement, the LEDs which indicate the state of the barrier (open/​closed) and the web server interface in which the evolution in time of the humidity and temperature can be seen in the graphs and the trigger button of the DC Motor which should be pressed when temperature/​humidity exceed a desired treshold. \\
-Link: **#TODO**+Link: [[https://​drive.google.com/​file/​d/​1O56uAq17g-68r0betEHjXbiDiJ5rza-4/​view?​usp=share_link]]
 ===== Future Work & Improvements ===== ===== Future Work & Improvements =====
 This project presents a smart parking system that utilizes an ESP32 microcontroller,​ two ultrasound sensors, a servomotor, two buttons, a humidity and temperature sensor, two LEDs and a DC motor. The system is capable of detecting the presence of cars at the entrance of the parking lot. However, there is still room for improvement. This project presents a smart parking system that utilizes an ESP32 microcontroller,​ two ultrasound sensors, a servomotor, two buttons, a humidity and temperature sensor, two LEDs and a DC motor. The system is capable of detecting the presence of cars at the entrance of the parking lot. However, there is still room for improvement.
iothings/proiecte/2022/smart_parking_system.1674132909.txt.gz · Last modified: 2023/01/19 14:55 by andrei.popa0805
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