This shows you the differences between two versions of the page.
iothings:proiecte:2023:smartlock [2024/01/16 11:12] cristina.mustatea resizing of photos |
iothings:proiecte:2023:smartlock [2024/01/16 11:17] (current) cristina.mustatea removed "datasheet" |
||
---|---|---|---|
Line 5: | Line 5: | ||
Git Repo: https://github.com/cozzoo/SmartLock.git\\ | Git Repo: https://github.com/cozzoo/SmartLock.git\\ | ||
Video Demo:https://drive.google.com/file/d/1CLmVIQDFO4Gkl8qLKqH47F718Nh1zUgw/view?usp=sharing\\ | Video Demo:https://drive.google.com/file/d/1CLmVIQDFO4Gkl8qLKqH47F718Nh1zUgw/view?usp=sharing\\ | ||
- | Slides: https://docs.google.com/presentation/d/15u2QfCTyhC0O2Ejqf5nhIk7VQ9atWrWkD72XmPtRX9A/edit?usp=sharing\\ | + | Slides: https://docs.google.com/presentation/d/1a5u2QfCTyhC0O2Ejqf5nhIk7VQ9atWrWkD72XmPtRX9A/edit?usp=sharing\\ |
---- | ---- | ||
=== Project Description === | === Project Description === | ||
Line 16: | Line 16: | ||
* Power Source - rated 12V & 2A\\ | * Power Source - rated 12V & 2A\\ | ||
* 12V White LED | * 12V White LED | ||
- | * L289N Motor Driver Module (**datasheet**): https://www.handsontec.com/dataspecs/module/L298N%20Motor%20Driver.pdf\\ | + | * L289N Motor Driver Module: https://www.handsontec.com/dataspecs/module/L298N%20Motor%20Driver.pdf\\ |
* Prototyping board, soldering and jumpers | * Prototyping board, soldering and jumpers | ||
* One 50kOhm resistor | * One 50kOhm resistor | ||
Line 25: | Line 25: | ||
=== Project Setup === | === Project Setup === | ||
I used a simple plastic storage container with 2 drawers to be able to easily create my prototype. I also chose this model to be able to drill through the plastic and arrange my components to it's design is more pleasant. \\ | I used a simple plastic storage container with 2 drawers to be able to easily create my prototype. I also chose this model to be able to drill through the plastic and arrange my components to it's design is more pleasant. \\ | ||
- | I hid the ESP controller, the LED and the motor driver under this top lid. I wanted to be able to still access the board in case modifications to the Arduino sketch needed to be done. | + | I hid the ESP controller, the LED and the motor driver under this top lid. I wanted to be able to still access the board in case modifications to the [[https://github.com/cozzoo/SmartLock/blob/main/ESP32Sketch/SmartLock-ESP.ino | Arduino sketch]] needed to be done. |
{{ :iothings:proiecte:2023:20240105_172522.jpg?direct&300 |}} \\ | {{ :iothings:proiecte:2023:20240105_172522.jpg?direct&300 |}} \\ | ||
In the back of the container, I have the input for the 12V power source, as well as the Reed sensor which registers whether or not the door has been opened. The initial Reed sensor broke after I initially added it. I has a spare 3-pin module. After connecting it I saw it worked without a problem, so I chose to leave it as it was. | In the back of the container, I have the input for the 12V power source, as well as the Reed sensor which registers whether or not the door has been opened. The initial Reed sensor broke after I initially added it. I has a spare 3-pin module. After connecting it I saw it worked without a problem, so I chose to leave it as it was. | ||
Line 49: | Line 49: | ||
* **switch_state**: monitors the state of the Reed sensor | * **switch_state**: monitors the state of the Reed sensor | ||
== App Architecture == | == App Architecture == | ||
- | {{:iothings:proiecte:2023:webapp.drawio.png?direct&900|}}\\ | + | {{:iothings:proiecte:2023:webapp.drawio.png?direct&700|}}\\ |
== Web App == | == Web App == | ||
The web app was created using HTML, CSS and JavaScript.\\ | The web app was created using HTML, CSS and JavaScript.\\ |