This shows you the differences between two versions of the page.
iothings:proiecte:2021:security_system [2022/01/27 21:35] diana_gabriela.dinu [4. Software Description] |
iothings:proiecte:2021:security_system [2022/01/28 00:28] (current) diana_gabriela.dinu [1. Project Objective] |
||
---|---|---|---|
Line 2: | Line 2: | ||
author Dinu Diana-Gabriela ACES 2021 | author Dinu Diana-Gabriela ACES 2021 | ||
- | |||
- | Page still under Construction... | ||
+ | [[https://www.youtube.com/watch?v=4TVAO9mccV4 | Video Demo]] | ||
===== 1. Project Objective ===== | ===== 1. Project Objective ===== | ||
- | The purpose of the project is to create a smart alarm system. | + | The purpose of the project is to create a smart security system. |
The security alarm does not provide audio feedback when movement is detected. The owner can turn the alarm on and off without physical access to the system, but rather via a web page. When turned on, if the security system detects movement it will notify the owner with an E-mail and will update the web page as well. | The security alarm does not provide audio feedback when movement is detected. The owner can turn the alarm on and off without physical access to the system, but rather via a web page. When turned on, if the security system detects movement it will notify the owner with an E-mail and will update the web page as well. | ||
Line 205: | Line 204: | ||
===== 5. Issues and solutions ===== | ===== 5. Issues and solutions ===== | ||
+ | There have been a few issues met in the making of this project. | ||
+ | The first problem was related to the type of web page. In the beginning a synchronous web page was used. This did not allow the usage of images. In order to fix this and give more information in the web page, a asynchronous type web page was used. | ||
+ | There have also been a few issues with the sensor. The main problem was receiving false movement detection. This was because of small crowded spaces, or my presence near the sensor, but most probably is was due to the monitors, which were placed in close proximity of the sensor. The monitors do emit some amount of IR light, so this might have been messing with the PIR sensor. This is not a real issue in real life applications, but it was troubling when the demo was filmed, as the system needed to be close to a monitor in order to show the web page, received emails and debug information. This was solved in the demo by inclining the board of the system, slightly away from the monitor. | ||
+ | |||
+ | Overall I would say the challenges have been surpassed and that the project works well. | ||
===== 6. Conclusions ===== | ===== 6. Conclusions ===== | ||
+ | In conclusion, the project successfully implements a security system which can alert the user of unexpected movement close to the system. The project shows how smart systems can be implemented in our day to day life. | ||
- | + | Despite the challenges that appeared along the way, this project was helpful in teaching us how we can implement our own smart systems without spending a fortune. | |
==== Bibliography ==== | ==== Bibliography ==== | ||
+ | **Documentation sources** | ||
1. [[https://en.wikipedia.org/wiki/Passive_infrared_sensor#:~:text=A%20passive%20infrared%20sensor%20(PIR,in%20PIR-based%20motion%20detectors.|Passive infrared sensor - Wikipedia]] | 1. [[https://en.wikipedia.org/wiki/Passive_infrared_sensor#:~:text=A%20passive%20infrared%20sensor%20(PIR,in%20PIR-based%20motion%20detectors.|Passive infrared sensor - Wikipedia]] | ||
Line 219: | Line 224: | ||
2. [[https://www.sgbotic.com/index.php?dispatch=products.view&product_id=2550#:~:text=Description-,The%20ESP32%20Development%20Board%20is%20a%20low-footprint%2C%20minimal%20system,require%20wireless%20and%20internet%20connectivity.|ESP32 Development board]] | 2. [[https://www.sgbotic.com/index.php?dispatch=products.view&product_id=2550#:~:text=Description-,The%20ESP32%20Development%20Board%20is%20a%20low-footprint%2C%20minimal%20system,require%20wireless%20and%20internet%20connectivity.|ESP32 Development board]] | ||
- | 3. | + | 3. [[https://www.circuito.io | Electrical schematic tool - circuito.io]] |
+ | |||
+ | 4. [[https://www.draw.io | State machine diagram - draw.io]] | ||
+ | |||
+ | **Components** | ||
+ | |||
+ | 1. [[https://cleste.ro/?utm_medium=GoogleAds&utm_campaign=GoogleAdsSearch&utm_source=DynamicAdGroup&gclid=Cj0KCQiAosmPBhCPARIsAHOen-OOSqnnr7jSesFkQVEPrTW964saA0XRxyMv6W_KRypj1mE--4qZps8aAtLPEALw_wcB|Cleste]] | ||
+ | |||
+ | 2. [[https://www.optimusdigital.ro/ro/|OptimusDigital]] | ||
+ | |||
+ | **Libraries** | ||
+ | |||
+ | 1. [[https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/| File uploader plugin]] | ||
+ | |||
+ | 2. [[https://randomnerdtutorials.com/esp32-async-web-server-espasyncwebserver-library/| AsyncTCP and ESPAsyncWebServer]] | ||
+ | |||
+ | 3. [[https://github.com/mobizt/ESP-Mail-Client| ESP32_MailClient]] | ||
+ | |||
+ | 4. [[https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/| Attaching interrupt routines]] | ||
---- | ---- | ||
+ | **Download the Source code** | ||
+ | {{:iothings:proiecte:2021:security_system_diana_dinu.rar|Source code}} | ||