

















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
this document report is genrtaed on alert system using iot programming
Typology: Lab Reports
1 / 57
This page cannot be seen from the preview
Don't miss anything!


















































Submitted by
In partial fulfillment for the award of the degree of
(An Autonomous Institution Affiliated to Anna University, Chennai) i
ii
(An Autonomous Institution Affiliated to Anna University, Chennai)
Certified that this project report “STUDENT FEEDBACK SYSTEM” is the
Prof.K.CHANDRAPRABHA M.E Prof.K.CHANDRAPRABHA M.E Head of the Department Head of the Department Department of Computer Science Department of Computer Science and Engineering and Engineering Alagappa Chettiar Government College Alagappa Chettiar Government College of Engineering and Technology. of Engineering and Technology. Submitted for (15CSZ03) Project Viva Voce examination held on INTERNAL EXAMINER EXTERNAL EXAMINER
v
v 4.2 Software requirements 4.3 Software specification
5.1 System architecture 12 5.2 Class diagram 13 5.3 Use case diagram 14 5.4 Flow diagram 5.5 Activity diagram
6.1 Module 18 6.1.1 ESP32 Module 18 6.1.2 Accelerometer Sensor (ADXL345) 19 6.1. 3 IBM Cloud 20 6.1.4 MIT App Inventor 21
7. SYSTEM TESTING 23 7.1 Testing 23 7.2 Unit testing 23 7.3 Integration testing (^) 23
ABSTRACT iv LIST OF FIGURES viii
1. INTRODUCTION 1 1.1 Objective of the project 1 1.2 Scope of the project 1 1.3 Outline of the project 2 1.4 Domain explanation **2
Fig 5.1 ARCHITECTURE DESIGN (^13) Fig 5.3 USECASE DIAGRAM (^14) Fig 5.4 Flow Diagram (^16) Fig 5.5 ACTIVITY DIAGRAM 17 Fig 9.2.1 Web App 44 Fig 9.2.2 Mobile App 44 Fig 9.2.3 SMS sent by victim app 45 Fig.9.2.4 Front Accident detected 45 Fig 9.2.5 Left and Right Accident detected 46 Fig 9.2.6 Back Accident detected 46
1
One of the increasingly popular public concerns is human health. Anything else becomes meaningless if one gets sick or dead. For this reason, people spend a lot of money to keep sound health. Unfortunately, people always find that it is too late to receive serious medical care when things are non-invertible. If early actions can be taken in time then lots of patients can be cured. However, access to many medical pieces of equipment is inconvenient and expensive. In this project, the user will be provided with a hardware device that is to be attached to the vehicle. When an accident occurs, the system gets activated and sends an alert to the emergency services nearby. 1.2 SCOPE OF THE PROJECT The system can send the GPS location of the victim to the emergency service through the above-alerting services. The system hardware is user-friendly and no prior knowledge is required for the user. The alert is sent in Three ways i)Through Call ii)Through SMS iii)Through the android application
TITLE : Intelligent Accident Detection and Alert System for Emergency Medical Assistance AUTHOR : Nicky Kattukkaran,Arun George,Mithun Haridas T.P Road accidents rates are very high nowadays, especially two wheelers. Timely medical aid can help in saving lives. This system aims to alert the nearby medical center about the accident to provide immediate medical aid. The attached accelerometer in the vehicle senses the tilt of the vehicle and the heartbeat sensor on the user’s body senses the abnormality of the heartbeat to understand the seriousness of the accident. Thus the systems will make the decision and sends the information to the smartphone, connected to the accelerometer and heartbeat sensor, through Bluetooth. The Android application in the mobile phone will sent text message to the nearest medical center and friends. Application also shares the exact location of the accident that can save the time. The Accident Detection System consist of two main modules. The first module detects whether the vehicle has fallen down. It is mounted on the vehicle itself. This module consist of an accelerometer, MSP430 micro-controller and a Bluetooth module. Once the vehicle fall is detected the information is send to the second module. The second module consists of a Heartbeat sensor MSP430 microcontroller, Buzzer and Bluetooth module. Once the fall is detected the heartbeat of the driver is checked and if any abnormality is detected the decision that a serious accident has occurred is taken. Then the Buzzer in the Accident Detection System is turned ON and it will communicate with the Smart phone to alert the medical center. The Android application in the Smart phone will search for the nearest medical center and sends message about the accident location and accident victim details. The Application will also send the information to the emergency contact numbers of the friends and family that has been already saved in
the application.
The paper gives a design which has many benefits like low cost, portability, small size. The system uses the micro-controller in conjunction with vibration and alcohol sensor; GPS and GSM .interfacing which reduces the alarm time to a large level and gives the location of accident accurately. It can also overcome the issue of lack of automated system for the detection of the site of accident. The time for detecting the site is reduced and the person can be treated as soon as possible which will save many lives. TITLE : Automatic Vehicle Accident Alert System AUTHOR : D.Shanthi,M.Kiran Kumar,Dr.P Lalitha Surya Kumari Abstract-Automatic Vehicle Accident Alert System, an alerting message which contains accident’s time and location sent automatically by the particular device embedded in a vehicle to emergency and relief agencies. So, they can rush to the accident and help the victim in time. The required parameters and the sensor values are sent to the Dynamo Db through mobile application. The data is stored in the AWS platform.To detect the accidents accelerometer sensor is used so when accident is detected we can retrieve the location from the mobile app and send notifications to nearest hospitals from the mobile app and can intimate family members. Also for double confirmation force sensors come into action when the accelerometer fails to send the required details through the mobile application using Bluetooth. Our proposed work is aimed at modernizing the present technology using Internet of Things. With the help of IOT using cloud services we aimed to develop a technology that everyone can use for the betterment of society who owns a car. In case any accident occurs, the number fed into the application, gets a message. As the number of vehicle is increasing, we can see a lot of accidents due to rash driving, drunk driving, etc. So this technology helps the user and the family to track the person in case any accident occur. This would save more lives as it would be easier to find the accident location and provide the basic care required. Also in-built emergency would be fed according to the
car and the closest concerned could be provided even if no number is fed. In the present scenario, there are several sensors and technology embedded in high end cars. One of such a new feature is closest object detectors that can be found in cars like Volkswagen. This feature allows the driver to know how far the other car/object is from self car and starts beeping alarming the driver about the closeness. Also there are some apps which help us to press the button of mobile and send message to the contacts stored. But as the traffic is increasing and hence the number of accidents as well, there is an alarming need to automate the process of process. There is presently no way in which the people can detect where accidents occur. Though CCTV’s are installed on road but till the time emergency is reached, the driver is dead. There is no way in the present system to make ambulances locate the accident immediately after it occurs until someone manually calls the ambulance.
The proposed system posses high level of accuracy when compared to the existing system, because it uses the modern Accelerometer and gyroscope sensor to calculate the movements of the vehicle thereby increasing the accuracy of the hardware. It is IOT based so that it can have access to the internet and connect to the cloud service online and transfer data. The mobile application for the hardware is designed elegantly and the data can also be visualized through the mobile application. It supports call and messaging service to the emergency service through the mobile application also. Working of this Automatic accident detection using IOT makes use of ESP 32 node MCU, Accelerometer sensor(ADXL345), IBM cloud to have an efficient operation of accident detection and it is explained further. 3.5 ADVANTAGES OF PROPOSED SYSTEM
ADXL354 - Accelerometer Sensor Gyroscope Sensor Vibration Sensor GPS Module GSM Module 4.2 SOFTWARE REQUIREMENTS Arduino IDE Client Application Emergency service Application MIT App Inventor Node Red Serial Monitor 4.3 SOFTWARE SPECIFICATION
1. ARDUINO IDE The Arduino Integrated Development Environment ( IDE) is a cross-platform application (for Windows, macOS, Linux) that is written in functions from C and C++. It is used to write and upload programs to Arduino compatible boards, but also, with the help of third-party cores, other vendor development boards.The source code for the IDE is released under the GNU General Public License, version 2. The Arduino IDE supports the languages C and C++ using special rules of code structuring. The Arduino IDE supplies a software library from the Wiring project, which provides many common input and output procedures. User-written code only requires two basic functions, for starting the sketch and the main program loop, that are compiled and linked with a program stub main() into an executable cyclic executive program
Open Blocks is distributed by MIT's Scheller Teacher Education Program (STEP) and is derived from master's thesis research by Ricarose Roque. Professor Eric Klopfer and Daniel Wendel of the Scheller Program supported the distribution of Open Blocks under an MIT License. Open Blocks visual programming is closely related to StarLogo TNG, a project of STEP, and Scratch, a project of the MIT Media Lab's Lifelong Kindergarten Group led by Mitchel Resnick. App Inventor 2 replaced Open Blocks with Blockly, a blocks editor that runs within a web browser. App Inventor and the other projects are based on and informed by constructionist learning theories, which emphasize that programming can be a vehicle for engaging powerful ideas through active learning. As such, it is part of an ongoing movement in computers and education that began with the work of Seymour Papert and the MIT Logo Group in the 1960s, and has also manifested itself with Mitchel Resnick's work on Lego Mindstorms and StarLogo.App Inventor also supports the use of cloud data via an experimental Firebase Realtime Database component.
3. NODE-RED Node-RED is a flow-based development tool for visual programming developed originally by IBM for wiring together hardware devices, APIs and online services as part of the Internet of Things. Node-RED provides a web browser-based flow editor, which can be used to create JavaScript functions. Elements of applications can be saved or shared for re-use. The runtime is built on Node.js. The flows created in Node-RED are stored using JSON. Since version 0.14, MQTT nodes can make properly configured TLS connections. In 2016, IBM contributed Node-RED as an open source JS Foundation project.
12
A system architecture or systems architecture is the conceptual model that defines the structure, behavior and more views of a system. An architecture description is a formal description and representation of a system, organized in a way that supports reasoning about the structures and behaviours of the system. System architecture can comprise system components, the externally visible properties of those components, the relationships (e.g. the behavior) between them. It can provide a plan from which products can be procured, and systems developed, that will work together to implement the overall system. There have been efforts to formalize languages to describe system architecture, collectively these are called architecture description languages (ADLs). Various organizations define systems architecture in different ways including i. An allocated arrangement of physical elements which provides the design solution for a consumer product or life-cycle process intended to satisfy the requirements of the functional architecture and the requirements baseline. ii. Architecture comprises the most important, pervasive, top-level, strategic inventions, decisions and their associated rationales about the overall structure (i.e. essential elements and their relationships) and associated characteristics and behaviour. iii. If documented, it may include information such as a detailed inventory of current hardware, software and networking capabilities.