Bby Inc Report-1
Bby Inc Report-1
A PROJECT REPORT
Submitted by
NAVEENKUMAR. S (621516106027)
REVANTHRAJU. M (621516106038)
SIVAGURUNATHAN.G (621516106039)
1
ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
---------------------------------- --------------------------------
SIGNATURE SIGNATURE
HEAD OF THE DEPARTMENT SUPERVISOR
Dr.M.SUGANTHI M.E., Ph.D., Mr.J. SAMPATH KUMAR (Ph.D).,
Professor & Head Assistant Professor
Department of ECE Department of ECE
Mahendra College of Engineering Mahendra College Engineering
Salem-636 106. Salem-636 106.
2
INTERNAL EXAMINER EXTERNAL EXAMINER
ACKNOWLEDGEMENT
We express our profound gratitude to our honorable chairman who was the pillar of our
college Shri.M.G.BHARATH KUMAR, M.A., B.Ed., and our Managing Director Er.B.MAHA
AJAYPRASATH, B.E., M.S.(USA)., for providing necessary facilities for the successful
completion of this project.
We have immense pleasure in expressing our gratitude to our beloved Principal Dr. N.
MALMURUGAN, B.E., M.E., Ph.D., for encouraging us to do this Project Work. We also
extend our heart-felt gratitude to our Dean/Academic Dr. N. MOHANA SUNDARA RAJU,
B.E., M.E., Ph.D., for his encouragement and advice to carry out this Project Work.
We also extend our great sense of thanks with deepest gratitude to our respectful Head of
the Department Dr.M.SUGANTHI, M.E., Ph.D., for her support to execute this project work.
We would like to express our sincere thanks and heartiest gratitude to our respectful
project guide Prof.J.SAMPATHKUMAR, M.E.,(Ph.D) for his valuable guidance, suggestions,
encouragement and co-operation throughout our project work.
Finally we would like to thank our beloved parents and friends for the moral support and
encouragement.
3
ABSTRACT
controlled environmental for the preterm babies. This project deals with
using GSM. We also intimate the feeding time, body Check-up and urine
alert to the parents which can be done by the Internet of Things (IOT)
called Thing Speak. IOT helps the doctors and nurses to be connected
with the neonate’s vital signs and it is helpful in monitoring the neonates
4
TABLE OF CONTENTS
1 INTRODUCTION
1.2 Overview 1
2 LITERATURE REVIEW
of Infant Incubator
2.3 Wireless transmission of alarm signals from baby 8
5
2.5 The Effect of Moving Load on Remote Weight 9
3 EXISTING SYSTEM
3.1 Objective 11
4 PROPOSED SYSTEM
4.4Hardware requirements 16
4.4 Arduino UNO Controller 16
4.4.3 Warnings 21
4.4.4 Differences with other boards 22
4.4.5 Power 22
4.5 POWER PINS 22
4.6 MEMORY 23
4.7 INPUT AND OUTPUT 23
4.8 COMMUNICATION 24
4.9 AUTOMATIC (SOFTWARE) RESET 25
6
4.10 REVISIONS 25
4.10.1 Automatic (Software) Reset 26
4.10.2 USB Overcurrent Protection 26
4.10.3 Physical Characteristics 27
4.10.4 Software tips 27
4.11 ARDUINO S4V4 NEW FEATURES 27
4.12 DHT11
28
4.12.1 DHT11 Specifications
4.12.2 Working of DHT 11 29
4.12.3 Features 30
31
4.12.4 Applications
4.13 LM45
4.13.1 Features 31
4.13.2 Working principle 32
4.13.3 Applications 33
4.14 PULSE SENSOR 35
35
4.14.1 Pin Out – Pulse Sensor
4.14.2 Working – Pulse Sensor 36
36
4.14.3 Applications of Pulse Sensor
4.15 EM Reader
4.15.1 EM-18 Pin Configuration 37
38
4.15.2 EM-18 Features and Specifications
4.15.3 How to Use EM-18 RFID Module 38
39
4.15.4 Applications
4.16 RFID CARD 40
4.16.1 Energy sources 41
4.16.2 Frequency Bands 42
4.16.3 RFID System 43
4.17 POWER SUPPLY 45
4.17.1 INTRODUCTION 45
4.17.2 Working principle 46
4.18 IOT MODULE 47
4.18.1 IOT-Key Features 48
4.18.2 IOT-Advantages 49
49
4.18.3 IOT Extends Internet Connectivity
4.18.4 Architecture 51
7
54
4.19 ESP8266 Node MCU
4.19.1 Features 55
4.20 COOLING FAN 56
4.20.1 Usage of a cooling fan 57
4.20.2 Physical characteristics 57
58
4.20 HEATING BULB
4.21.1 working
59
5 TOOLS USED
6 RESULTS
67
7 CONCLUSION
68
REFERENCES
8
LIST OF FIGURE
LIST OF ABBREVATIONS
9
BPM Beats Per Minute
M2M Machine-To-Machine
CHAPTER 1
10
INTRODUCTION
1.1.1 Objective
1.2 OVERVIEW
Before the medical intervention, Pre-mature and ill-babies were
born and taken care at home. Over the previous decade health care monitoring has
not been broadly utilized. Healthcare is a term of Growing importance across the
globe. In India, the term is known to only urban population while in rural or semi
urban communities it is relatively unknown. Rural areas are not easily accessible
and the technologies that exist in tertiary centre and corporate hospitals are not
11
available them. In 2008, the number of connected devices is less while compared
with the population on the earth. By 2020, we foresee 50 billion Connected
Things. The concept of the Internet of Things entails the use of electronic devices
that capture or monitor data and are connected to private or public cloud, enabling
them to automatically trigger certain event. Internet-connected devices are being
introduced in various forms. Whether data comes from fatal monitors,
electrocardiograms, temperature monitors or blood glucose levels, tracking health
information is vital for some patients. Follow-up interaction with a health care
professional is required for many of these measures. In India, the healthcare
industry is growing and long overdue for an upgrade. The growth in this field is
being driven by lifestyle diseases, an ageing population, rising access to insurance
and growing health awareness. To ensure the existence of a healthy population,
surveillance check is necessity. Healthcare surveillance is not a new term-it is the
constant monitoring and collection of data of patients from health camps, hospitals
etc
A pound and live regarding eight inches long. The body of the baby can
principally be underdeveloped at twenty third - twenty fourth weeks of gestation.
Premature babies weigh regarding 1½ - a pair of pounds and are regarding nine
inches long throughout the twenty fifth to twenty sixth week. They need to be
12
unbroken in intensive care unit for a protracted amount and have several health
problems associated with immatureness. By the twenty sixth week of gestation, the
premature baby's lungs begin to develop alveoli. By the twenty seventh week, these
babies have larger than ninety five pc rate of survival past birth and intensive care
unit discharge. By the twenty eighth week, premature babies weigh regarding 2½
pounds and are regarding sixteen inches long. Speed eye development happens, and
premature babies born when twenty seven weeks will blink and now not have
consolidated eyelids. A growing baby has matured loads by twenty ninth to thirtieth
week. Premature babies born between twenty ninth and thirtieth weeks can still need
a protracted intensive care unit Stays. However, their very important organs are far
more developed than those of babies born earlier, and that they weigh regarding three
pounds and are regarding seventeen inches long. By thirty first to thirty second
weeks, premature babies weigh around 3½ to four pounds and are between eighteen
and nineteen inches long. That is nearly as long as a baby born at term. They use all
five senses to find out regarding the setting however still might recover from stirred
up by bright lights and loud noises. Premature Babies are nearly absolutely
developed by thirty third and thirty fourth Weeks advisement around four to five
pounds at birth and measure nearly twenty inches long. At thirty third and thirty
fourth weeks, most premature babies can have fairly short intensive care unit stays
with solely Most of the premature babies born between twenty third and twenty
fourth weeks of physiological state can survive delivery and live to ascertain life
outside of the intensive care unit. They weigh simply over many complications. The
babies learn to eat solely when a protracted time and that they would like facilitate to
breathe for a brief time. Premature babies born around thirty fifth to thirty sixth
weeks are regarding twenty inches long and frequently weigh between 5½ and half-
dozen pounds. Though they give the impression of being like mature babies, babies
born between thirty five and thirty six weeks are premature babies. Their lungs won't
be fully developed for an additional few weeks, and that they might not have enough
fat to remain heat or enough strength to breast or bottle feed effectively.
13
The current technological development is a boon for various healthcare
services in day to day life, which helps in remote monitoring of health parameters
from the patients. A Neonatal Intensive Care Unit (NICU), also known as an
Intensive care nursery (ICN), is an intensive care unit specialized in the care of ill or
premature new born infants. This unit monitors the vital parameters of the child by
using sensors. Neonatal Incubator is self-contained unit in NICU which ensures the
ideal environmental conditions for the neonates. This also protects the infant from
infection, allergens, excessive noise or light that can cause harm. It can regulate air
humidity and temperature to maintain the integrity of skin of the neonates. Neonatal
mortality in India accounts for nearly 50% of infant mortality. The prominent reason
for this is lack of neonatal monitoring facilities in small villages and towns and due
to improper monitoring methods. These factors have lead to the death of new born in
many situations. In current method the nurse or a doctor need to attend periodically
to the new born and it is a time consuming process. To avoid this, the proposed
system allows live monitoring of the parameters over the Internet which improves
the quality of information in the neonatal healthcare.
14
absolutely envelop infant to keep it warm and to keep up the normal body
temperature (i.e. 37 °C), lessens the likelihood of tainting, and limit water mishap by
keeping up the moisture level.
15
There are two buttons on the user interface of application related to the WIFI
connection. WIFI connection defaults to “Not Connected”. When the WIFI button
(blue icon) is clicked, active WIFI devices in the vicinity of the smartphone are
listed. After the HC-05 WIFI module is selected, Arduino Leonardo, is connected to
the smartphone via WIFI and "Connected" is displayed (green text color) on the
application screen. If the disconnect button (black-white icon) is clicked, the WIFI is
disconnected and "Not Connected" is displayed (red text color) again on the
application screen. With it is possible to synchronize smartphone with WIFI. So
when there is a notification on the smartphone. In the event of any alarm, the
microcontroller system sends an alarm code to the android-based application via
WIFI.
CHAPTER 2
16
LITERATURE SURVEY
17
2.2 DEVELOPMENT OF A MONITORING AND CONTROL
SYSTEM OF INFANT INCUBATOR
Drawbacks
In this two sensor values only be measured and not used IOT technique.
Drawbacks
18
The transmission range of this developed device is limited up to a distance of 10 m.
Virginia Hall, Eric Geise, and Nasser H Kashou proposes that Two major
objectives were (1) to design and build a compact, light-weight incubator; (2) to
incorporate solar panel(s) to power the incubator. The design culminated in a
portable, readily powered, low cost incubator of which can be implemented in a
third-world environment. An incubator, used to help an infant maintain a stable
temperature, is a precious tool in the presence of high premature birth rates and is
essential for combating infant mortality. These issues plague developing areas of
Africa, where the final design has been implemented. The structural design of the
incubator focused on portability and durability of the invention. Conversion of an on-
the-market product (luggage) was used for the base of the incubator. A pop-up
”tent” design comprised the vestibule of the incubator. Collapsible, lightweight
supports held up a tent-like cover made of clear, washable plastic, and also supported
two heaters. The two DC heaters were powered by main-line power when available
and also powered by a battery, which was charged by a solar panel. The heaters are
capable of maintaining a steady 3437oC temperature range within the incubator.
This design has the power to decrease infant mortality rates in third-world countries
by being an easily accessible, life-saving invention powered by an abundant, natural
resource.
Drawbacks
It does not have precise temperature control.
19
body weight data monitored by the system to the medical expert. We evaluated
system by using a moving baby doll to simulate the baby moving inside the
incubator. From the experimental results, we found out that even if the object
measured was moving, the measurement output remained stable. Moreover, the
system was capable to send the measured data to mobile phone via SMS.
Drawbacks
The measured data may or may not receiver the user because mobile signals.
20
CHAPTER 3
EXISTING SYSTEM
3.1 OBJECTIVE
The neonatal monitoring system. This block diagram is divided into two
parts; hardware and software. Hardware part and software part were connected
through cloud named Thing Speak. Arduino Uno was chosen as a main controller
which continuously monitor the vital signs (body temperature and pulse rate) of the
neonate inside the incubator. The main controller will receive the data from the LM35
temperature sensor and pulse sensor which were attached to the neonate’s body. Then,
it will transmit these vital signs of the neonate to the private cloud called Thing Speak
via ESP8266 Wi-Fi Shield. The cloud computing helps the doctors and nurses
received the updated data of the neonate in a real-time through their mobile
application.
21
Figure 3.1 Overall block diagram of the Neonatal Monitoring System
There are plenty of hardware used throughout this project such as Arduino
Uno, LM35 temperature sensor, pulse sensor, buzzer and ESP8266 Wi-Fi Shield. The
developed system will be based on Arduino Uno as a main controller which based on
8-bit ATmega328P microcontroller. Fig. 4 illustrates a circuit diagram for the system.
Temperature sensor and pulse sensor are the analog sensors which were connected
analog pins, A0 and A1, respectively. Buzzer was used to alert the doctors and nurses
by making loud sound to attend the system. To explain the process of the system, it
can be illustrated based on the flowchart in Fig. 5. First of all, the body temperature
and pulse rate of the neonate will be detected and sent to the main controller. Once the
Arduino Uno connects with internet, it will send the data to Think Speak. However,
the buzzer will be beeped for 15 times if both data from the sensors are abnormal
(pulse rate is not in the range of 80-200 beats per minute (BPM) and temperature is
not between 35.5-37.2 oC). Lastly, the public channel in the Think Speak website will
plotted the data in a real-time. The data from the cloud will be fetched and plotted
through mobile application.
22
developer’s information. Significantly, this application can display the data from
temperature and pulse sensor by plotting it in a real-time graph. This application was
developed based on Android Studio Software. The experiment of this project was
performed on neonate at 20 days of life. The interface of Neonatal Monitoring System
application is display in Fig. 8. The first page will display the homepage of this
application with an image and two menu buttons, which is About Me and Sensor
Status. Then, the second page will display the developer’s information when the user
pressed the About Me button in the home page. the third page consists of Next button
to link with the fourth page to illustrates the data of pulse rate in real-time graph. The
button back toolbar was created in second, third and fourth pages to ease the user to
reach previous pages. However, Exit button only exists t fourth page to stop the
application.
23
CHAPTER 4
PROPOSED SYSTEM
24
in order to help the hospital staff to take immediate action and thereby, save an infant
from an imminent danger.
DHT1
1 Cooli
ng
LM35 Fan
ARDU
Pulse INO
sensor UNO Heati
ng
EM Light
Reader
IOT
Modu
le
Figure 4.1 Block Diagram
25
g. Heating bulb
h. EM reader
i. RFID cards
26
Figure 4.2 Arduino uno pin diagram
27
Figure 4.3 Arduino Board
28
Reset Reset Resets the microcontroller.
Used to provide analog input in the range of
Analog Pins A0 – A5
0-5V
I/O Pins Digital Pins 0 - 14 Can be used as input or output pins.
Used to receive and transmit TTL serial
Serial 0(Rx), 1(TX)
data.
External
2, 4 To trigger an interrupt.
Interrupts
PWM 4, 5, 6, 9, 11 Provides 8-bit PWM output.
10 (SS), 11 (MOSI),
SPI 12 (MISO) and 14 Used for SPI communication.
(SCK)
Inbuilt LED 14 To turn on the inbuilt LED.
A4 (SDA), A5
TWI Used for TWI communication.
(SCA)
To provide reference voltage for input
AREF AREF
voltage.
This is a relatively easy way to make circuits quickly. Breadboards are made for doing
quick experiments. They are not known for keeping circuits together for a long time. When
you are ready to make a project that you want to stay around for a while, you should
consider an alternative method such as wire-wrapping or soldering or even making a printed
circuit board (PCB). The first thing you should notice about the breadboard is all of the
holes. These are broken up into 2 sets of columns and a set of rows (the rows are divided in
the middle).
The columns on the edges do not have letters or numbers. The columns on the edges
are connected from top to bottom inside of the breadboard to make it easy to supply power
and ground. Inside of the breadboard, the holes in each row are connected up to the break in
the middle of the board.
For Example: a1, b1, c1, d1, e1 all have a wire inside of the breadboard to connect
them. Then f1, g1, h1, i1, and j1 are all connected. But a1 is not connected to f1. This may
sound confusing now, but it will quickly come to make sense as we wire up circuits.
29
Table 4.2 Arduino Uno Technical Specifications
30
e) In-built LED Pin 14:
This pin is connected with an built-in LED, when pin 14 is HIGH – LED is on
and when pin 14 is LOW, I’ts off.
Along with 14 Digital pins, there are 6 analog input pins, each of which provide 10 bits of
resolution, i.e. 1024 different values. They measure from 0 to 5 volts but this limit can be
increased by using AREF pin with analog Reference () function.
Analog pin 4 (SDA) and pin 5 (SCA) also used for TWI communication using Wire library.
AREF: Used to provide reference voltage for analog inputs with analog Reference ()
function.
Applications
31
You can also bypass the boot loader and program the microcontroller through
the ICSP (In-Circuit Serial Programming) header using Arduino ISP or similar;
see these instructions for details. The ATmega16U2 (or 8U2 in the rev1 and rev2
boards) firmware source code is available in the Arduino repository. The
ATmega16U2/8U2 is loaded with a DFU boot loader, which can be activated by:
1) On Rev1 boards: connecting the solder jumper on the back of the board (near the
map of Italy) and then rese ing the 8U2.
2) On Rev2 or later boards: there is a resistor that pulling the 8U2/16U2 HWB line
to ground, making it easier to put into DFU mode.
4.4.3 Warnings
The Uno has a resettable poly fuse that protects your computer's USB ports
from shorts and overcurrent. Although most computers provide their own internal
protection, the fuse provides an extra layer of protection. If more than 500 mA is
applied to the USB port, the fuse will automatically break the connection until the
short or overload is removed.
4.4.5 Power
The Uno board can be powered via the USB connection or with an external
power supply. The power source is selected automatically. External (non-USB)
32
power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter
can be connected by plugging a 2.1mm center-positive plug into the board's power
jack. Leads from a battery can be inserted in the GND and Vin pin headers of the
POWER connector.The board can operate on an external supply from 6 to 20 volts.
If supplied with less than 7V, however, the 5V pin may supply less than five volts
and the board may become unstable. If using more than 12V, the voltage regulator
may overheat and damage the board. The recommended range is 7 to 12 volts.
4.6 MEMORY
The ATmega428 has 42 KB (with 0.5 KB occupied by the boot
loader). It also has 2 KB of SRAM and 1 KB of EEPROM (which can be read and
written with the EEPROM library).
33
See the mapping between Arduino pins and ATmega428P ports. The
mapping for the Atmega8, 168, and 428 is identical. Each of the 14 digital pins on
the Uno can be used as an input or output, using pin Mode digital Write (),
and digital Read () functions. They operate at 5 volts. Each pin can provide or
receive 20 mA as recommended operating condition and has an internal pull-up
resistor (disconnected by default) of 20-50k ohm. A maximum of 40mA is the value
that must not be exceeded on any I/O pin to avoid permanent damage to the
microcontroller.
In addition, some pins have specialized functions:
1) Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL
serial data. These pins are connected to the corresponding pins of the ATmega8U2
USB-to-TTL Serial chip.
2) External Interrupts: 2 and 4. These pins can be configured to trigger an
interrupt on a low value, a rising or falling edge, or a change in value. See the attach
Interrupt () function for details.
3) PWM: 4, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analog
Write () function.
4) SPI: 10 (SS), 11 (MOSI), 12 (MISO), 14 (SCK). These pins support SPI
communication using the SPI library.
5) LED: 14. There is a built-in LED driven by digital pin 14. When the pin is
HIGH value, the LED is on, when the pin is LOW, it's off.
6) TWI: A4 or SDA pin and A5 or SCL pin. Support TWI communication using
the Wire library.
The Uno has 6 analog inputs, labeled A0 through A5, each of which provide
10 bits of resolution (i.e. 1024 different values). By default they measure from
ground to 5 volts, though is it possible to change the upper end of their range using
the AREF pin and the analog Reference () function.
AREF - Reference voltage for the analog inputs. Used with analog Reference ().
34
Reset - Bring this line LOW to reset the microcontroller. Typically used to add a
reset button to shields which block the one on the board.
4.8 COMMUNICATION
The Uno has a number of facilities for communicating with a computer,
another Uno board, or other microcontrollers. The ATmega428 provides UART TTL
(5V) serial communication, which is available on digital pins 0 (RX) and 1 (TX). An
ATmega16U2 on the board channels this serial communication over USB and
appears as a virtual com port to software on the computer. The 16U2 firmware uses
the standard USB COM drivers, and no external driver is needed.
The ATmega428 also supports I2C (TWI) and SPI communication. The
Arduino Software (IDE) includes a Wire library to simplify use of the I2C bus; see
the documentation for details. For SPI communication, use the SPI library.
35
This setup has other implications. When the Uno is connected to either a
computer running Mac OS X or Linux, it resets each time a connection is made to it
from software (via USB). For the following half-second or so, the boot loader is
running on the Uno. While it is programmed to ignore malformed data (i.e. anything
besides an upload of new code), it will intercept the first few bytes of data sent to the
board after a connection is opened. If a sketch running on the board receives one-
time configuration or other data when it first starts, make sure that the software with
which it communicates waits a second after opening the connection and before
sending this data.
The Uno board contains a trace that can be cut to disable the auto-reset. The
pads on either side of the trace can be soldered together to re-enable it. It's labeled
"RESET-EN". You may also be able to disable the auto-reset by connecting a 110
ohm resistor from 5V to the reset line; see this forum thread for details.
4.10 REVISIONS
Revision 4 of the board has the following new features:
1) Pin out: added SDA and SCL pins that are near to the AREF pin and two
other new pins placed near to the RESET pin, the IOREF that allow the shields to
adapt to the voltage provided from the board. In future, shields will be compatible
with both the board that uses the AVR, which operates with 5V and with the Arduino
Due that operates with 4.4V. The second one is a not connected pin, That is reserved
for future purposes.
2) Stronger RESET circuit.
3) At mega 16U2 replace the 8U2.
Rather than requiring a physical press of the reset button before an upload,
the Arduino Uno is designed in a way that allows it to be reset by software running
on a connected computer. One of the hardware flow control lines (DTR) of the
ATmega8U2/16U2 is connected to the reset line of the ATmega428 via a 100nn
farad capacitor. When this line is asserted (taken low), the reset line drops long
36
enough to reset the chip. The Arduino software uses this capability to allow you to
upload code by simply pressing the upload button in the Arduino environment. This
means that the boot loader can have a shorter timeout, as the lowering of DTR can be
well-coordinated with the start of the upload. This setup has other implications.
When the Uno is connected to either a computer running Mac OS X or Linux, it
resets each time a connection is made to it from software (via USB). For the
following half second or so, the boot loader is running on the Uno. While it is
programmed to ignore malformed data (i.e. anything besides an upload of new code),
it will intercept the first few bytes of data sent to the board after a connection is
opened. If a sketch running on the board receives one-time configuration or other
data when it first starts, make sure that the software with which it communicates
waits a second after opening the connection and before sending this data. The Uno
contains a trace that can be cut to disable the auto-reset. The pads on either side of
the trace can be soldered together to re-enable it. It's labeled "RESET-EN". You may
also be able to disable the auto-reset by connecting a 110 ohm resistor from 5V to the
reset line; see this forum thread for details.
37
When boot loading an Atmega8 chip with Arduino 0010, there is a command
(-i800) that makes boot loader delay 10 minutes. So, if you need to use boot loader,
use command line instead of IDE, removing “–i800” command and adding “–F”
command, or use Arduino 0007 IDE. To upload sketches Arduino 0010 works fine.
4.12 DHT11
38
Acquisition technique and temperature & humidity sensing technology, it ensures
high reliability and excellent long-term stability. This sensor includes a resistive-type
humidity measurement component and an NTC temperature measurement
component, and connects to a high-performance 8-bit micro controller, offering excel
lent quality, fast response, anti-interference ability and cost-effectiveness.
The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor.
It uses a capacitive humidity sensor and a thermistor to measure the surrounding air,
and spits out a digital signal on the data pin (no analog input pins needed). Its fairly
simple to use, but requires careful timing to grab data. The only real downside of this
sensor is you can only get new data from it once every 2 seconds, so when using our
library, sensor readings can be up to 2 seconds old.
39
Table 4.3 Pin Identification and Configuration
40
Figure 4. 6 DHT 11
If you are trying to interface it with some other MCU then the datasheet
given below will come in handy. The output given out by the data pin will be in the
order of 8bit humidity integer data + 8bit the Humidity decimal data +8 bit
temperature integer data + 8bit fractional temperature data +8 bit parity bit.
To request the DHT11 module to send these data the I/O pin has to be
momentarily made low and then held high as shown in the timing diagram below.
The duration of each host signal is explained in the DHT11 datasheet, with neat steps
and illustrative timing diagrams.
4.12.4 Features
4.12.4 Applications:
41
1) Measure temperature and humidity
2) Local Weather station
3) Automatic climate control
4) Environment monitoring
4.13 LM45
General Description
It can be used with single power supplies, or with plus and minus supplies.
As it draws only 60 µA from its supply, it has very low self-heating, less than
0.1˚C in still air. The LM45 is rated to operate over a −55˚ to +150˚C temperature
range, while the LM45C is rated for a −40˚ to +110˚C range (−10˚ with improved
accuracy). The LM45 series is available pack-aged in hermetic TO-46 transistor
packages, while the LM45C, LM45CA, and LM45D are also available in
the plastic TO-92 transistor package. The LM45D is also avail- able in an 8-lead
surface mount small outline package and a plastic TO-220 package.
4.13.1 Features
1) Calibrated directly in ˚ Celsius (Centigrade)
2) Linear + 10.0 mV/˚C scale factor
3) 0.5˚C accuracy guaranteeable (at +25˚C)
42
4) Rated for full −55˚ to +150˚C range
5) Suitable for remote applications
6) Low cost due to wafer-level trimming
7) Operates from 4 to 40 volts
8) Less than 60 µA current drain
9) Low self-heating, 0.08˚C in still air
It consists of 2 transistors with one of them having larger (10 times) emitter
area than the other. This means it has 1/10 of the current density, as the same current
flows through both the transistors. This causes a voltage across the resistor R1 that is
proportional to the absolute temperature, and is mostly linear. It has a special circuit
that straightens out the slightly curved graph of voltage versus temperature. LM45 is
an IC temperature sensor with its output in Celsius.
The sensor cannot undergo oxidation and other processes. With LM45,
temperature can be measured more accurately than with a thermistor. It is capable of
low self-heating and does not cause more than 0.1 oC temperature rise in still air. Its
operating temperature range is from -55°C to 150°C.
43
Figure 4.9 Temperature sensor
4.13.3 Applications
1) The LM45 can be applied easily in the same way as other integrated-
circuit temperature sensors.
2) It can be glued or cemented to a surface and its temperature will be within
about 0.01˚C of the surface temperature.
3) This presumes that the ambient air temperature is almost the same as the
surface temperature; if the air temperature were much higher or lower than the
surface temperature, the actual temperature of the LM45 die would be at an
intermediate temperature between the surface temperature and the air temperature.
4) This is especially true for the TO-92 plastic package, where the copper
leads are the principal thermal path to carry heat into the device, so its
temperature might be closer to the air temperature than to the surface temperature.
44
can be measured by using pulse sensor. Pulse sensor is a well-designed plug-and-
play heart rate sensor. The sensor clips onto a fingertip or to earlobes and plugs right
into MCU unit with some jumper cables. It essentially combines a simple optical
heart rate sensor with amplification and noise cancellation circuitry making it fast
and easy to get reliable pulse readings. The front of the sensor is the side that makes
contact with the skin. On the front side a small round hole is present, which is where
the LED shines through from the back and there is also a little square just under the
LED. The square is an ambient light sensor, exactly like the one used in cell phones,
tablets and laptops to adjust the screen brightness in different light conditions. The
LED shines light into the fingertip or earlobe or other capillary tissue and sensor
reads the light that bounces back. The back of the sensor is where the rest of the parts
are mounted. The fig shows the front side and back side of the pulse sensor.
It consists of a LED light that is used to measure the pulse rate. Based on
the volume of blood in the capillaries, the light gets reflected as the sensor is placed on the
body. So, the amount of reflection taking place during heartbeat will be less than that
with no heartbeat. Also the volume of blood inside the capillaries decreases in between
heartbeats, which affects the transmission of light through the tissues. This variation in
transmission and reflection of light gives the analog pulse output from the sensor.
45
The pulse sensor has three pins which are as described below:
There is also a LED in the center of this sensor module which helps in detecting the
heartbeat. Below the LED, there is a noise elimination circuitry which is supposed to
keep away the noise from affecting the readings.
When a heartbeat occurs blood is pumped through the human body and gets
squeezed into the capillary tissues. The volume of these capillary tissues increases as
a result of the heartbeat. But in between the heartbeats (the time between two
consecutive heartbeats,) this volume inside capillary tissues decreases. This change
in volume between the heartbeats affects the amount of light that will transmit
through these tissues. This change is very small but we can measure it with the help
46
of Arduino. The pulse sensor module has a light which helps in measuring the pulse
rate. When we place the finger on the pulse sensor, the light reflected will change
based on the volume of blood inside the capillary blood vessels. During a heartbeat,
the volume inside the capillary blood vessels will be high. This affects the reflection
of light and the light reflected at the time of a heartbeat will be less compared to that
of the time during which there is no heartbeat (during the period of time when there
is no heartbeat or the time period in between heartbeats, the volume inside the
capillary vessels will be lesser. This will lead higher reflection of light). This
variation in light transmission and reflection can be obtained as a pulse from the
output of pulse sensor. This pulse can be then conditioned to measure heartbeat and
then programmed accordingly to read as heartbeat count.
Thus, this is all about Pulse Sensor (Heartbeat / Heart rate Sensor). It is
open-source and plug-and-play hardware. This sensor can easily include live
heartbeat information into their projects. This sensor includes two circuits like an
optical amplifying & a noise eliminating. The connection of this sensor on earlobe
otherwise fingertip can be done using a Clip, and connect it to Arduino board. So that
heart rate can be easily measured. These sensors are used by developers, students,
makers, athletes, artists, etc.
4.15 EM Reader
47
Figure 4.12 EM18 Reader Module
EM-18 is a nine pin device. Among nine pins, 2 pins are not connected, so
we basically have to consider seven terminals.
48
NC No Connection
SEL=1 then o/p =RS242
SEL
SEL=0then o/p=WEIGAND
TX DATA is given out through TX of RS242
DATA1 WEIGAND interface DATA HIGH pin
DATA0 WEIGAND interface DATA LOW pin
EM-18 is used like any other sensor module. First we choose the mode
of communication between MODULE and CONTROLLER. Next we will program
the controller to receive data from module to display. Next power the system. When
a tag is brought near the MODULE it reads the ID and sends the information to
controller. The controller receives the information and performs action programmed
by us.
49
Step2: The output of MODULE bit rate is 9600bps (bit per second). The controller
should be programmed to receive information from MODULE at this rate. If bit rate
of controller mismatches then the system will not work correctly.
In the circuit buzzer is not compulsory. When a TAG is read the BUZZER turns ON.
As given in circuit, TX is given to CONTROLLER which is to receive DATA.
Consider a TAG is brought near the MODULE. The MODULE reads the ID
and sends the information to controller in 12 ASCII CHARACTERS. In them,
10CHARACTERS represent the TAG ID and 2 CHARACTERS are XOR of
previous 10 CHARACTERS. So
DATA sent = 10ASCII DATA (tag no.) + 2ASCII DATA (XOR result)
Once the Information is sent, the MODULES stop sending DATA. This serial DATA
received by the controller though RX pin contains TAG information which is ready
for processing. We can program the controller to save the DATA or process it to
provide response immediately.
4.15.4 Applications
50
1) Robotics
2) Security systems
3) Medical tags
4) Computer Peripherals
5) Package Identification
6) Theft protection systems
7) Data authorization
8) Unique Identity
9) Body implants
• Micro chip
• Antenna
• Case
The size of the chip depends mostly on the Antenna. Its size and form is
dependent on the frequency the tag is using. The size of a tag also depends on its area
of use. In addition to the microchip, some tags also have rewritable memory attached
where the tag can store updates between reading cycles or new data like serial
number. The antenna is clearly visible. As said before the antenna has the largest
impact of the size of the tag.
51
Fig 4.15 passive tag
52
We distinguish 4 types of RFID tags in relation to power or energy:
• Passive
• Semi-passive
• Active
Passive tags do not have an internal power source, and they therefore rely on
the power induced by the reader. This means that the reader has to keep up its field
until the transaction is completed. Because of the lack of a battery, these tags are the
smallest and cheapest tags available; however it also restricts its reading range to a
range between 2mm and a few meters. As an added benefit those tags are also
suitable to be produced by printing. Furthermore their lifespan is unlimited since they
do not depend on an internal power source.
The second type of tags is semi-passive tags. Those tags have an internal
power source that keeps the microchip powered at all times. There are many
advantages: Because the chip is always powered it can respond faster to requests,
therefore increasing the number of tags that can be queried per second which is
important to some applications. Furthermore, since the antenna is not required for
collecting power it can be optimized for back scattering and therefore increasing the
reading range. And last but not least, since the tag does not use any energy from the
field the back scattered signal is stronger, increasing the range even further. Because
of the last two reasons, a semi-active tag has usually a range larger than a passive
tag.
The third type of tags is active tags. Like semi-active tags they contain an
internal power source but they use the energy supplied for both, to power the
microchip and to generate a signal on the antenna. Active tags that send signals
without being queried are called beacons. An active tag's range can be tens of meters,
making it ideal for locating objects or serving as landmark points. The lifetime is up
to 5 years.
53
4.16.2 Frequency Bands
Low frequency tags are cheaper than any of the higher frequency tags. They
are fast enough for most applications, however for larger amounts of data the time a
tag has to stay in a readers range will increase. Another advantage is that low
frequency tags are least affected by the presence of fluids or metal. The disadvantage
of such tags is their short reading range. The most common frequencies used for low
frequency tags are 125 - 144.2 kHz and 140 - 148.5 kHz.
High frequency tags have higher transmission rates and ranges but also cost
more than LF tags. Smart tags are the most common member of this group and they
work at 14.56MHz. UHF tags have the highest range of all tags. It ranges from 4-6
meters for passive tags and 40+ meters for active tags. In addition the transmission
rate is also very high, which allows to read a single tag in a very short time. This
feature is important where tagged entities are moving with a high speed and remain
only for a short time in a readers range.
UHF tags are also more expensive than any other tag and are severely
affected by fluids and metal. Those properties make UHF mostly useful in automated
toll collection systems. Typical frequencies are 868MHz (Europe), 915MHz (USA),
950MHz (Japan), and 2.45GHz. Frequencies for LF and HF tags are license exempt
and can be used worldwide; however frequencies for UHF tags differ from country to
country and require a permit.
54
A RFID reader and a few tags are in general of little use. The retrieval of a
serial number does not provide much information to the user nor does it help to keep
track of items in a production chain. The real power of RFID comes in combination
with a backend that stores additional information such as descriptions for products
and where and when a certain tag was scanned.
RFID readers scan tags, and then forward the information to the backend.
The backend in general consists of a database and a Well Defined application
interface. When the backend receives new information, it adds it to the database and
if needed performs some computation on related fields. The application retrieves data
from the backend. In many cases, the application is collocated with the reader itself.
4.17.1 INTRODUCTION
55
It introduces the operation of power supply circuits built using filters,
rectifiers, and then voltage regulators. Starting with an ac voltage, a steady dc
voltage is obtained by rectifying the ac voltage, then filtering to a dc level, and
finally, regulating to obtain a desired fixed dc voltage. The regulation is usually
obtained from an IC voltage regulator unit, which takes a dc voltage and provides a
somewhat lower dc voltage, which remains the same even if the input dc voltage
varies, or the output load connected to the dc voltage changes.
A block diagram containing the parts of a typical power supply and the
voltage at various points in the unit is shown in figure. The ac voltage, typically 120
V rms, is connected to a transformer, which steps that ac voltage down to the level
for the desired dc output. A diode rectifier then provides a full-wave rectified voltage
that is initially filtered by a simple capacitor filter to produce a dc voltage. This
resulting dc voltage usually has some ripple or ac voltage variation.
A regulator circuit can use this dc input to provide a dc voltage that not
only has much less ripple voltage but also remains the same dc value even if the
input dc voltage varies somewhat, or the load connected to the output dc voltage
changes. This voltage regulation is usually obtained using one of a number of
popular voltage regulator IC units.
56
The potential transformer will step down the power supply voltage (0-240V) to
(0-6V) level. Then the secondary of the potential transformer will be connected to
the precision rectifier, which is constructed with the help of opamp. The advantages
of using precision rectifier are it will give peak voltage output as DC, rest of the
circuits will give only RMS output.
b) Bridge rectifier
When four diodes are connected as shown in figure, the circuit is called as
bridge rectifier. The input to the circuit is applied to the diagonally opposite corners
of the network, and the output is taken from the remaining two corners.
Let us assume that the transformer is working properly and there is a
positive potential, at point A and a negative potential at point B. the positive
potential at point A will forward bias D4 and reverse bias D4.
The negative potential at point B will forward bias D1 and reverse D2.
At this time D4 and D1 are forward biased and will allow current flow to pass
through them; D4 and D2 are reverse biased and will block current flow.
The path for current flow is from point B through D1, up through RL,
through D4, through the secondary of the transformer back to point B. This path is
indicated by the solid arrows. Waveforms (1) and (2) can be observed across D1 and
D4.
One-half cycle later the polarity across the secondary of the transformer
reverse, forward biasing D2 and D4 and reverse biasing D1 and D4. Current flow
will now be from point A through D4, up through RL, through D2, through the
secondary of T1, and back to point A. This path is indicated by the broken arrows.
Waveforms (4) and (4) can be observed across D2 and D4. The current flow through
RL is always in the same direction. In flowing through RL this current develops a
voltage corresponding to that shown waveform (5). Since current flows through the
load (RL) during both half cycles of the applied voltage, this is called bridge
rectifier. One advantage of a bridge rectifier over a conventional full-wave rectifier is
that with a given transformer the bridge rectifier produces a voltage output that is
nearly twice that of the conventional full-wave circuit.
This may be shown by assigning values to some of the components
shown in views A and B. assume that the same transformer is used in both circuits.
The peak voltage developed between points X and y is 1000 volts in both circuits.
57
In the conventional full-wave circuit shown in view A, the peak voltage
from the center tap to either X or Y is 500 volts. Since only one diode can conduct at
any instant, the maximum voltage that can be rectified at any instant is 500 volts.
The maximum voltage that appears across the load resistor is nearly-but
never exceeds-500 volts, as result of the small voltage drop across the diode. In the
bridge rectifier shown in view B, the maximum voltage that can be rectified is the
full secondary voltage, which is 1000 volts. Therefore, the peak output voltage across
the load resistor is nearly 1000 volts. With both circuits using the same transformer,
the bridge rectifier circuit produces a higher output voltage than the conventional
full-wave rectifier circuit.
c) IC voltage regulators
Voltage regulators comprise a class of widely used ICs. Regulator IC
units contain the circuitry for reference source, comparator amplifier, control device,
and overload protection all in a single IC. Although the internal construction of the
IC is somewhat different from that described for discrete voltage regulator circuits,
the external operation is much the same. IC units provide regulation of either a fixed
positive voltage, a fixed negative voltage, or an adjustable set voltage.
A power supply can be built using a transformer connected to the ac supply
line to step the ac voltage to a desired amplitude, then rectifying that ac voltage,
filtering with a capacitor and RC filter, if desired, and finally regulating the dc
voltage using an IC regulator. The regulators can be selected for operation with load
currents from hundreds of ml amperes to tens of amperes, corresponding to power
ratings from ml watts to tens of watts.
58
modern attitudes towards technology. Its new and advanced elements bring major
changes in the delivery of products, goods, and services; and the social, economic,
and political impact of those changes.
4.18.1 IOT-Key Features
The most important features of IOT include artificial intelligence, connectivity,
sensors, active
engagement, and small device use. A brief review of these features is given below:
a) AI – IOT essentially makes virtually anything “smart”, meaning it enhances every
aspect
of life with the power of data collection, artificial intelligence algorithms, and
networks.
This can mean something as simple as enhancing your refrigerator and cabinets to
detect
when milk and your favorite cereal run low, and to then place an order with your
preferred
grocer.
b) Connectivity – New enabling technologies for networking, and specifically IOT
networking, mean networks are no longer exclusively tied to major providers.
Networks
can exist on a much smaller and cheaper scale while still being practical. IOT creates
these small networks between its system devices.
c) Sensors – IOT loses its distinction without sensors. They act as defining
instruments
which transform IOT from a standard passive network of devices into an active
system
capable of real-world integration.
d) Active Engagement – Much of today's interaction with connected technology
happens
through passive engagement. IOT introduces a new paradigm for active content,
product,
or service engagement.
e) Small Devices – Devices, as predicted, have become smaller, cheaper, and more
powerful over time. IOT exploits purpose-built small devices to deliver its precision,
scalability, and versatility.
59
4.18.2 IOT-Advantages
The advantages of IOT span across every area of lifestyle and business. Here
is a list of some of the advantages that IOT has to offer:
a) Improved Customer Engagement – Current analytics suffer from blind-spots
and
significant flaws in accuracy; and as noted, engagement remains passive. IOT
completely
transforms this to achieve richer and more effective engagement with audiences.
b) Technology Optimization – The same technologies and data which improve the
customer experience also improve device use, and aid in more potent improvements
to
technology. IOT unlocks a world of critical functional and field data.
c) Reduced Waste – IOT makes areas of improvement clear. Current analytics give
us
superficial insight, but IOT provides real-world information leading to more effective
management of resources.
d) Enhanced Data Collection – Modern data collection suffers from its limitations
and its
design for passive use. IOT breaks it out of those spaces, and places it exactly where
humans really want to go to analyze our world. It allows an accurate picture of
everything.
60
Businesses can leverage IOT applications to automate safety tasks (for
example, notify authorities when a fire extinguisher in the building is blocked) to
performing real-world A/B testing using networked cameras and sensors to detect
how customers engage with products.
Experts estimate that the IOT will consist of almost 50 billion objects by
2020. British entrepreneur Kevin Ashton first coined the term in 1999 while working
at Auto-ID Labs (originally called Auto-ID centers, referring to a global network of
objects connected to radio-frequency identification, or RFID). Typically, IOT is
expected to offer advanced connectivity of devices, systems, and services that goes
beyond machine-to-machine (M2M) communications and covers a variety of
protocols, domains, and applications. The interconnection of these embedded devices
(including smart objects), is expected to usher in automation in nearly all fields,
while also enabling advanced applications like a smart grid, and expanding to the
areas such as smart cities.
"Things," in the IOT sense, can refer to a wide variety of devices such as
heart monitoring implants, biochip transponders on farm animals, electric clams in
coastal waters, automobiles with built-in sensors, DNA analysis devices for
environmental/food/pathogen monitoring or field operation devices that assist fire
fighters in search and rescue operations.
61
Legal scholars suggest to look at "Things" as an "inextricable mixture of
hardware, software, data and service". These devices collect useful data with the help
of various existing technologies and then autonomously flow the data between other
devices. Current market examples include smart thermostat systems and
washer/dryers that use Wi-Fi for remote monitoring.
4.18.4 Architecture
62
Three- and Five-Layer Architectures
(i)The perception layer is the physical layer, which has sensors for sensing and
gathering information about the environment. It senses some physical parameters or
identifies other smart objects in the environment.
(ii)The network layer is responsible for connecting to other smart things, network
devices, and servers. Its features are also used for transmitting and processing sensor
data.
63
architectures proposed in the literature. One is the five-layer architecture, which
additionally includes the processing and business layers [4–6]. The five layers are
perception, transport, processing, application, and business layers (see Figure). The
role of the perception and application layers is the same as the architecture with three
layers. We outline the function of the remaining three layers.
(i)The transport layer transfers the sensor data from the perception layer to the
processing layer and vice versa through networks such as wireless, 4G, LAN,
Bluetooth, RFID, and NFC.
(ii)The processing layer is also known as the middleware layer. It stores, analyses,
and processes huge amounts of data that comes from the transport layer. It can
manage and provide a diverse set of services to the lower layers. It employs many
technologies such as databases, cloud computing, and big data processing modules.
(iii)The business layer manages the whole IOT system, including applications,
business and profit models, and users’ privacy. The business layer is out of the scope
of this paper. Hence, we do not discuss it further.
Description
Node MCU is an open-source firmware and development kit that helps you to
prototype or build IOT products. It includes firmware that runs on the ESP8266 Wi-
Fi SOC from press if Systems, and hardware which is based on the ESP-12 module.
64
The firmware uses the scripting language. It is based on the project and built on the
Espressif Non-OS SDK for ESP8266.
With just a few lines of code you can establish a WIFI connections and
define input/output pins according to your needs exactly like arduino, turning your
ESP8266 into a web server and a lot more. It is the WIFI equivalent of Ethernet
module. Now you have internet of things (IOT) real tool. With its USB-TTL, the
NodeMCU board supports directly flashing from USB port. It combines features of
WIFI access point and station + microcontroller. These features make the NodeMCU
extremly powerful tool for WIFI networking. It can be used as access point and/or
station, host a webserver or connect to internet to fetch or upload data.
65
or I2C/UART interface). ESP8266EX is among the most integrated Wi-Fi chip in the
industry. It integrates the antenna switches, RF balun, power amplifier, low noise
receive amplifier, filters and power management modules. It requires minimal
external circuitry and the entire solution, including front-end module are designed to
occupy minimal PCB area.ESP8266EX also integrates an enhanced version of
Tensilica’s L106 Diamond series 42-bit processor, with on-chip SRAM, besides the
Wi-Fi functionalities.
4.19.1 Features
66
Fig 4.21 NodeMCU
NodeMCU provides access to the GPIO (General Purpose Input/Output) and a pin
mapping table is part of the API documentation.
4.20 COOLING FAN
A cooling fan is any fan inside, or attached to, a computer case used
for active cooling. Fans are used to draw cooler air into the case from the outside,
expel warm air from inside and move air across a heat sink to cool a particular
component. Both axial and sometimes centrifugal (blower/squirrel-cage) fans are
used in computers. Computer fans commonly come in standard sizes, and are
powered and controlled using 4-pin or 4-pin fan connectors.
67
Fig 22
68
The dimensions and mounting holes must suit the equipment that
uses the fan. Square-framed fans are usually used, but round frames are also used,
often so that a larger fan than the mounting holes would otherwise allow can be used
(e.g., a 140 mm fan with holes for the corners of a 120 mm square fan). The width of
square fans and the diameter of round ones are usually stated in millimeters. The
dimension given is the outside width of the fan, not the distance between mounting
holes.
2) Rotational speed
A fan with high static pressure is more effective at forcing air through
restricted spaces, such as the gaps between a radiator or heat sink; static pressure is
more important than airflow in CFM when choosing a fan for use with a heat sink.
Heat lamps are incandescent lamps used for the primary application of generating
heat. They come in a variety of wattages, voltages, and sizes.
69
4.21.1Working
70
CHAPTER 5
TOOLS USED
Arduino IDE
You can also bypass the boot loader and program the microcontroller through
the ICSP (In-Circuit Serial Programming) header using Arduino ISP or similar;
see these instructions for details. The ATmega16U2 (or 8U2 in the rev1 and rev2
boards) firmware source code is available in the Arduino repository. The
ATmega16U2/8U2 is loaded with a DFU boot loader, which can be activated by:
1) On Rev1 boards: connecting the solder jumper on the back of the board (near
the map of Italy) and then reseing the 8U2.
2) On Rev2 or later boards: there is a resistor that pulling the 8U2/16U2 HWB
line to ground, making it easier to put into DFU mode.
71
Fig 24 Arduino IDE Viewer
5.1.2 Warnings
The Uno has a resettable poly fuse that protects your computer's USB ports
from shorts and overcurrent. Although most computers provide their own internal
protection, the fuse provides an extra layer of protection. If more than 500 mA is
applied to the USB port, the fuse will automatically break the connection until the
short or overload is removed.
5.1.4 Power
The Uno board can be powered via the USB connection or with an external
power supply. The power source is selected automatically. External (non-USB)
power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter
can be connected by plugging a 2.1mm center-positive plug into the board's power
jack. Leads from a battery can be inserted in the GND and V in pin headers of the
POWER connector.The board can operate on an external supply from 6 to 20 volts.
72
If supplied with less than 7V, however, the 5V pin may supply less than five volts
and the board may become unstable. If using more than 12V, the voltage regulator
may overheat and damage the board. The recommended range is 7 to 12 volts. The
power pins are as follows:
a. V in - The input voltage to the Uno board when it's using an external
power source (as opposed to 5 volts from the USB connection or other
regulated power source). You can supply voltage through this pin, or, if
supplying voltage via the power jack, access it through this pin.
b. 5V - This pin outputs a regulated 5V from the regulator on the board. The
board can be supplied with power either from the DC power jack (7 -
12V), the USB connector (5V), or the VIN pin of the board (7-12V).
Supplying voltage via the 5V or 5.5V pins bypasses the regulator, and can
damage your board. We don't advise it.
c. 5V5 - A 5.5 volt supply generated by the on-board regulator. Maximum
current draw is 50 mA.
d. GND - Ground pins.
e. IOREF - This pin on the Uno board provides the voltage reference with
which the microcontroller operates. A properly configured shield can read
the IOREF pin voltage and select the appropriate power source or enable
voltage translators on the outputs to work with the 5V or 5.5V.
5.1.5 Memory
The ATmega528 has 52 KB (with 0.5 KB occupied by the boot loader). It also
has 2 KB of SRAM and 1 KB of EEPROM (which can be read and written with
the EEPROM library).
73
by default) of 20-50k ohm. A maximum of 50mA is the value that must not be
exceeded on any I/O pin to avoid permanent damage to the microcontroller.
In addition, some pins have specialized functions:
1) Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL
serial data. These pins are connected to the corresponding pins of the ATmega8U2
USB-to-TTL Serial chip.
2) External Interrupts: 2 and 5. These pins can be configured to trigger an
interrupt on a low value, a rising or falling edge, or a change in value. See the attach
Interrupt () function for details.
3) PWM: 5, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analog
Write () function.
4) SPI: 10 (SS), 11 (MOSI), 12 (MISO), 15 (SCK). These pins support SPI
communication using the SPI library.
5) LED: 15. There is a built-in LED driven by digital pin 15. When the pin is
HIGH value, the LED is on, when the pin is LOW, it's off.
6) TWI: A5 or SDA pin and A5 or SCL pin. Support TWI communication using
the Wire library.
The Uno has 6 analog inputs, labeled A0 through A5, each of which provide 10
bits of resolution (i.e. 1025 different values). By default they measure from ground to
5 volts, though is it possible to change the upper end of their range using the AREF
pin and the analog Reference () function.
5.2 COMMUNICATION
The Uno has a number of facilities for communicating with a computer,
another Uno board, or other microcontrollers. The ATmega528 provides UART TTL
(5V) serial communication, which is available on digital pins 0 (RX) and 1 (TX). An
ATmega16U2 on the board channels this serial communication over USB and
74
appears as a virtual com port to software on the computer. The 16U2 firmware uses
the standard USB COM drivers, and no external driver is needed. However, on
Windows, a .in f file is required. The Arduino Software (IDE) includes a serial
monitor which allows simple textual data to be sent to and from the board. The RX
and TX LEDs on the board will flash when data is being transmitted via the USB-to-
serial chip and USB connection to the computer (but not for serial communication on
pins 0 and 1. A Software Serial library allows serial communication on any of the
Uno's digital pins. The ATmega528 also supports I2C (TWI) and SPI
communication. The Arduino Software (IDE) includes a Wire library to simplify use
of the I2C bus; see the documentation for details. For SPI communication, use
the SPI library.
75
CHAPTER 6
RESULTS
Project Outlook
76
This Project can offer an Intelligent Neonatal Monitoring System using multi sensor
based on Android Applications. The new wearable sensor for measuring KMC dosage for
premature neonates has shown promising results in field testing. The device and system
design incorporate many features for robust measurement and retrieval of data. A key
feature is to predicate the readings of the internal sensors with the skin-touch sensor in order
to minimize false alarms.
In future it has a great scope and it will have greater impact in medical society. The
new born babies will be saved from improper conditions and health conditions of the babies
will be monitor by doctors and nurses. This incubator the doctors and nurses easily handle
the more number of infants. In future. the death rate of the pre-matured babies is reduces in
this incubator.
77
CHAPTER 7
CONCLUSION
Each part is designed to fit into only one location so that it is intuitive for any
health worker to assemble. And this will allow target health center to scale up
incubator features without having to buy a new model. Incubator will be designed
with locally available materials that have parts that are easily replaceable. And lastly
there will be continuous monitoring where the temperature of one or more incubators
can be easily controlled using the app rather than handling manually. In future more
rural areas can implement this mechanism for providing safe incubation for preterm
babies and obtain a connected environment in hospitals without having to invest on
more costly smart incubators.
We are still on the runway and are yet to experience a lot of advancements in
the healthcare industry, which IOT practitioners have been seamlessly preparing for.
By overcoming some of the limitations, IOT offers a great platform for real time
monitoring of parameters from the patients and also it improves the quality of
information in healthcare monitoring.
78
REFERENCES
79
Incubator Using Arduino,” International Journal For Advance Research
In Engineering And Technology vol. 5, 2015.
9. Ibrahim.B, N.Aziah.M.A1, S. Ahmad, R. Akmeliawati, Nizam H.M.I,
A.G.A.Muthalif, S.F.Toha1, and M.K.Hassan, “Fuzzy-based
Temperature and Humidity Control for HVAC of Electric Vehicle,”
International Symposium on Robotics and Intelligent Sensors vol. 51,
no. Iris, pp. 905–910, 2012.
10.Andreas Tobola, Heike Leutheuser, Markus Pollak, Peter Spies,
Christian Hofmann, Christian Weigand, BjoernM. Eskofier, and Georg
Fischer , “Self-Powered Multiparameter Health Sensor”,
10.1109/JBHI.2017.2708051,Aug2017.
80