An alert system using Arduino and Nodemcu
Mô tả cơ bản về tài liệu:
While there has been designs for security devices that are accessible on the internet, few of them are combined with Internet of Things – one of the hot topics regarding to IT. This paper aims to guide people with a some IT background knowledge to build a sensor that detects people before sending the information to a phone, alerting the owner of the sensor. Moreover, this paper will explain some key details about the making of the device, and would be serve as a reference for future projects in creating IoT devices.
Nội dung trích xuất từ tài liệu:
An alert system using Arduino and Nodemcu AN ALERT SYSTEM USING ARDUINO AND NODEMCU SVTH:Đỗ Chí Bằng GVHD: TS Tạ Quang Hùng Tóm tắt - Trong thời gian gần đây, thuật ngữ “Hệ thống nhúng” đã trở nên phổ biến hơn đối với người dân, đặc biệt là sinh viên ngành Công nghệ thông tin (CNTT). Điều này một phần là do sự ra đời của bộ vi điều khiển đơn bo mạch Arduino và bộ vi điều khiển để xây dựng các thiết bị kỹ thuật số. Mặc dù đã có những thiết kế dành cho các thiết bị bảo mật có thể truy cập được trên internet, nhưng rất ít trong số chúng được kết hợp với Internet of Things - một trong những chủ đề nóng hổi liên quan đến CNTT. Bài báo này nhằm mục đích hướng dẫn những người có một số kiến thức nền tảng về CNTT để xây dựng một cảm biến phát hiện người trước khi gửi thông tin đến điện thoại, cảnh báo cho chủ sở hữu của cảm biến. Hơn nữa, bài báo này sẽ giải thích một số chi tiết chính về việc chế tạo thiết bị và sẽ được dùng làm tài liệu tham khảo cho các dự án trong tương lai trong việc tạo ra các thiết bị IoT. Abstract - In recent times, the term “Embedded System” has become more popular to the people especially Information Technology (IT) students. This was partly due to the introduction of Arduino single-board microcontrollers and microcontroller kits for building digital devices. While there has been designs for security devices that are accessible on the internet, few of them are combined with Internet of Things – one of the hot topics regarding to IT. This paper aims to guide people with a some IT background knowledge to build a sensor that detects people before sending the information to a phone, alerting the owner of the sensor. Moreover, this paper will explain some key details about the making of the device, and would be serve as a reference for future projects in creating IoT devices. Key words: Arduino, Embedded System, IoT. I. Introduction The field of security systems is also in development. Security devices are increasingly being introduced to the market and it can be difficult to choose among different types of devices with different functionality. In spite of the many differences between devices, it is important to note that most of the security systems works on the same principle and have similar framework. Noticeably, sensors play a crucial role in the field of security system. There are many types of sensors namely ultrasonic sensor, photoelectric sensor, microwave sensor, Passive Infrared Sensor, noise detector etc. These sensors helps to detect a certain object and report the information back to the controller for further processing. It can be applied to a lot of situation, notably in detecting people. Personally, the idea of making an alerting device came to me as I was working on my computer while wearing a headphone, unaware of the surroundings, only to realized there 103 were guests visiting my parents downstairs. The thought of the question “what if it wasn’t a guest, but a burglar?” came to mind and I started to wonder if it is possible to create a ‘do-it- yourself’ (DIY) device that helps me to detect “uninvited guests” – intruders. However, a wired system with strings and contraptions are only applicable in the movies but not in reality. Wired contraptions and even wired electronic devices are out of date and its applications are limited. Thus, wireless security devices are preferred. They are user-friendly, simple and fast. With a proper battery backup and internet they will still operate wonderfully even during power outages. For that reason, this paper will provide a guide on making a device that can sense people, alerting the owner by sending notifications to a smartphone. II. Component and supplies A. Hardware 1. Arduino Uno According to Felgo on 2020, Arduino is one of the most recommended single-board microcontroller, especially for Embedded Computing. Being one of the most commonly used open-source microcontroller board, Arduino Uno is considered to be the most optimal solution for personal projects. It is the open-source microcontroller board based on the Microchip ATmega382P microcontroller, equipped with 14 digital input/output (I/O) pins and six of which is capable of PWM output. Another 6 programmable analog I/O pins are also equipped. The main reason that Arduino products, namely Arduino UNO is the optimal solution for this project is the simplicity of its set up. The board is programmable with the Arduino IDE (short for Integrated Development Environment), by connecting the board to the computer using a Type B USB cable. This cable can provide power to the board but an external 9-volt battery can also be used as a power source for the Arduino UNO (voltages between 7 and 20 volts are acceptable). Another reason for it’s popularity is due to the large amount of tutorials and guides is available online for further understanding of the board. Since Arduino is open-source, the library available on the internet is huge. People can help each other create and develop new resources for the software improvement. Figure 1: Arduino UNO 104 2. NodeMCU In a few guides and tutorials in making a similar security device, Bolt IoT Bolt Wifi Module is suggested for IoT integration (Hrushikesh S Bharadwaj & Pawan Kumar, 2020) . However, as a personal experience, I discovered that it is not only expensive, but also not fully available to some countries specifically Vietnam. Thus, to have a cheaper and better solution, this paper will suggest NodeMCU for this project. It is easy to acquire, inexpensive and a larger range of customization. However, ...