Professional Documents
Culture Documents
Report
Report
NAVEEN.R 476EC17020
PRASHANTH.V 476EC17027
SUMANTH.H. S 476EC17045
SABRISH.B 476EC17033
RAMESH.M 476EC17032
UMAR 476EC17019
RAMAIAH POLYTECHNIC
EXAMINERS
1 ..................................
2 ..................................
ACKNOWLEDEMENT
CHAPTER 1
1.1 INTRODUCTION
1.2 OBJECTIVE
1.3 LITERATURE SURVEY
CHAPTER 2
2.1 FUNCTIONAL BLOCK DIAGRAM
2.2 ARDUINO UNO
2.3 OXIMETER SENSOR
2.4 ACCELEROMETER SENSOR
2.5 GSM
2.6 LCD DISPLAY
2.7 MOBILE GPS
CHAPTER 3
3.1 MAX30100 OXIMETER SENSOR, WORKING
3.2 ADXL345 ACCELEROMETER SENSOR, WORKING
3.3 GSM WORKING
CHAPTER 4
4.1 PIN CONFIGURATION OF MAX30100
4.2 PIN CONFIGURATION OF ADXL345
CHAPTER 5
5.1 FINAL DESIGN OF FAINT DETECTION SYSTEM
CHAPTER 6
6.1 PROGRAMMING WITH ARDUINO UNO
6.2 FLOW CHART
6.3 FINAL PROGRAM
CHAPTER 7
7.1 APPLICATIONS
7.2 FUTURE IMPLEMENTATION
CHAPTER 8
8.1 CONCLUSION
8.2 REFERENCE
CHAPTER 1
1.1 INTRODUCTION:
Some people have a problem with the way their body regulates their blood
pressure, particularly when they move too quickly from a lying or sitting
position to a standing position. This condition is called postural hypotension and
may be severe enough to cause fainting. This type of fainting is more common
in the elderly, people who recently had a lengthy illness that kept them in bed
and people who have poor muscle tone.
A person may feel faint and lightheaded (presyncope) or lose consciousness
(syncope). Fainting is a particular problem for the elderly who may suffer
serious injuries from falls when they faint.
The medical term for fainting is syncope. Many different conditions can cause
fainting. These include heart problems such as irregular heartbeats, seizures,
low blood sugar (hypoglycemia), anemia (a deficiency in healthy oxygen
carrying cells), and problems with how the nervous system (the body's system
of nerves) regulates blood pressure. Some types of fainting seem to run in
families. In light of these, it becomes necessary to monitor faint and detect it for
diagnosis and early treatment.
.
1.2 OBJECTIVE:
• Our project is to just detect if a person has fainted, if he is done so then an
alert will be sent to a registered mobile number.
• An alert message will be sent to an emergency number along with the
location of the person where he has fainted.
• So, this project is aimed at early detection of faint by measuring oxygen
levels which might help in saving lives of the people who are prone to
loss of consciousness.
1.3 LITERATURE SURVEY:
We thought to have our project in such a way that is sustainable to the society.
We started searching projects relating to medical electronics. We all made sure
that our project must be related to medical field where wearable electronics
must be a part of it. A person’s No 1 priority is health. Most of the elderly
people are very prone to the health issues. So, Faint was one of the conditions
where people will not be foreknown about it.
The pulse oximeter, is a device that can detect heart rate and oxygen saturation.
There is a sensor called oximeter sensor in pulse oximeter that can detect the
heart rate and oxygen saturation readings from our body.
Then, this way the oxygen level can be detected and forwarded to the
microcontroller for further actions. Then we interface GSM which alerts a
person about the faint and GPS is used to detect the location of victim.
CHAPTER 2
2.1 FUNCTIONAL BLOCK DIAGRAM
2.2 ARDUINO UNO:
A pulse oximeter is a device used to monitor both your heart rate and blood
oxygen concentration.
This device combines two led’s, a photo detector, optimized optics, and low
noise analog signal processing to detect pulse oximetry and heart rate signal.
Max30100 operates from 1.8V and 3.3V power supply and can be powered
down through software with negligible standby current, permitting the power
supply to remain connected at all times.
Complete Pulse Oximeter and Heart-Rate Sensor Solution Simplifies Design.
• Integrated LEDs, Photo Sensor, and High-Performance Analog Front -End.
• Tiny 5.6mm x 2.8mm x 1.2mm 14-Pin Optically Enhanced System-in-
Package.
Ultra-Low-Power Operation Increases Battery Life for Wearable Devices.
• Programmable Sample Rate and LED Current for Power Savings.
• Ultra-Low Shutdown Current (0.7µA, typ).
2.4 ACCELEROMETER SENSOR:
ADXL345 accelerometer
The task of accelerometers is to measure linear accelerations during your own
movement. Most often they are used for testing moving parts of devices and
determining their overloads. Accelerometers can now be found in devices such
as cell phones, tablets, cameras, as well as in RC remote control models.
In addition to determining the value of linear accelerations, it is possible to
determine the spatial arrangement of the object and perform specific
interactions during its movement.
ADXL345 from Analog Devices is one of the most popular and inexpensive
systems used in such modules. This system can communicate with a
microcontroller using the I2C or SPI bus, measuring accelerations in all three
axes in the range of up to ± 16 g with a resolution of 13 bits.
During the measurement, the maximum current consumption is only 23μA, with
a supply voltage of 2.0 to 3.6V. Because the system does not tolerate higher
(5V) power supply. This system has a built-in voltage regulator.
ADXL345 also has digital outputs (INT1 and INT2) that can signal the
detection of knock, double tap (tap, double tap), activity or inactivity, and free
fall state.
2.5 GSM
LCD (Liquid Crystal Display) is a type of flat panel display which uses liquid
crystals in its primary form of operation. LEDs have a large and varying set of
use cases for consumers and businesses, as they can be commonly found in
smartphones, televisions, computer monitors and instrument panels.
These devices are thinner as well power consumption is extremely less. The
LCD 16×2 working principle is, it blocks the light rather than dissipate. This
article discusses an overview of LCD 16X2, pin configuration and its working.
The operating voltage of this LCD is 4.7V-5.3V
It includes two rows where each row can produce 16-characters.
The utilization of current is 1mA with no backlight
Every character can be built with a 5×8-pixel box
The alphanumeric LCDs alphabets & numbers
Is display can work on two modes like 4-bit & 8-bit
These are obtainable in Blue & Green Backlight
It displays a few custom generated characters
CHAPTER 3
3.1 MAX30100 OXIMETER SENSOR:
A pulse oximeter is a device used to monitor both your heart rate and blood
oxygen concentration. This device is especially important for people who need
to monitor these parameters due to certain health conditions, such as asthma or
congestive heart failure.
Our overall goal is to make a pulse oximeter that:
Modulates light from an IR LED and a red-light LED
Used an a MAX30100 and Arduino UNO
Displays heart rate and oxygen saturation levels on an LCD screen
Summary of Operation:
From the LEDs, red and IR light is transmitted through the finger and the
photodetector integrated within the chip senses the light absorption of the two
separate wavelengths. In this project, we used both the oximetry and heart rate
detection operations with the MAX30100, so we can detect both heart rate and
oxygen saturation at the same time.
The MAX30100 is an I2C device, therefore through code it requires the Wire
library to interface with the Arduino. Physically, the MAX30100 (in this case,
the breakout board) is connected to the Arduino through special pins that are
able to read data from the SCL and SDA lines, which are A4 and A5. The SCL
and SDL lines provide the data signal and the clock signal. The ground and Vin
lines are connected to the GND and 5V lines respectively.
The LCD screen is connected to the Arduino by pins so that we can provide a
user-friendly display. LCD screen, which are used to show the heart rate
monitor and the oxygen concentration monitor.
Working:
The basic structure of the accelerometer consists of fixed plates and moving
plates. When the acceleration is applied on an axis capacitance between fixed
plates and moving plates is changed. This results in a sensor output voltage
amplitude, which is proportional to the acceleration.
So, if we have an accelerometer positioned flat, with its Z-axis pointing
upwards, opposite to the gravitational force, the Z-axis output of the sensor will
be 1g. On the other hand, the X and Y outputs will be zero, because the
gravitational force is perpendicular to these axes and doesn’t affect them at all.
So, we have used in this project an ADXL345 accelerometer.
Features
One of the most important parts of getting the SIM800L module working is
supplying it with enough power.
PIN DESCRIPTION:
4.2 PIN CONFIGURATION OF ADXL345:
PIN DESCRIPTION:
CHAPTER 5
5.1 FINAL DESIGN OF FAINT DETECTION SYSTEM:
The MAX30100 oximeter sensor measures the oxygen saturation level from the
tip of the finger. Based on the oxygen saturation levels, the data is sent to
analog inputs of the ATMEGA 128 microcontroller. This data is then forwarded
to the 16X2 LCD display from the microcontroller. The LCD display displays
the SpO2 level and heart beat rate of the individual. The ADXL345 measures
the freefall of the person with respect to x, y and z axis.
This sensor makes our detection so precise that any false faints can easily be
discarded through precise oxygen level measurements. The data from the
ADXL345 is given to the microcontroller through the analog pins and this data
is compared with the oxygen level and if the parameter comply with a specific
oxygen level and if there is a free fall detected, then the GSM comes into action.
The GSM (SIM800L) is responsible for sending the alert emergency messages
to the registered mobile number of the data that comes from the sensors. If the
value drops below a predetermined value and if a fall is detected the message is
sent as “THERE IS AN EMERGENCY”.
The location of the fainted person is simultaneously forwarded to the registered
number through google maps as he enables location sharing in his mobile
phone.
CHAPTER 6
6.1 STEPS FOR PROGRAMMING WITH ARDUINO UNO(ATMEGA328):
Step 1: First you must have your Arduino uno board and a USB cable.
Step 3: Connect the Arduino board to your computer using the USB cable. The
green power LED should glow.
Step 4: After your Arduino IDE software is downloaded, you need to unzip the
folder.
Step 5: To avoid any error while uploading your program to the board, you must
select the correct. Arduino board name, which matches with the board
connected to your computer.
Go to Tools -> Board and select your board.
Step 6: Select the serial device of the Arduino board. Go to Tools -> Serial Port
menu. This is likely to be COM3 or higher.
Step 7: Now, just type the required program code in order to dump the program
into the microcontroller or Arduino uno.
Step 8: Now, simply click the "Upload" button in the environment. Wait a few
seconds; you will see the RX and TX LEDs on the board, flashing.
Step 9: If the upload is successful, the message "Done uploading" will appear in
the status bar.
6.2 FLOW CHART:
6.3 PROGRAM:
CHAPTER 7
7.1 APPLICATIONS:
Can help in detecting and monitoring the symptoms of COVID 19
through oxygen level concentration.
Respiratory monitoring during narcotic administration.
Used to asses someone’s ability to tolerate increased physical activity
It can be used to detect faints in aged people.
It detects the person’s freefall even if he’s in an isolated area.
It’s often used in a critical care setting like emergency rooms or hospitals.
Some doctors, such as pulmonologists, may use it in office.
8.2 REFERENCE:
1. MAX30100 pulse oximeter sensor data sheet:
https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf
4. Gsm: https://lastminuteengineers.com/sim800l-gsm-module-arduino-
tutorial/