Arduino Mega 2560.
Arduino Mega is a microcontroller. It has 54 digital
input/output pins 16 analog inputs, 4 UARTs(hardware serial ports)and a 16 MHz
crystal oscillator. It also has a USB connection, a Power jack, an ICSP header
and a Reset button. The Arduino can be powered by using USB or with an external
power supply unit. The power source is selected automatically by the Arduino.
External (non-USB) power supply can come either from an AC-to-DC adapter
(wall-wart) or a battery.
Arduino Mega is used to display the text “Enter the saline
drop rate” on an Android phone so that user can enter number of drops per
minute. Arduino also continuously reads the saline rate from the flow sensor.
WiFi Module (ESP8266).
The WIFI Module is System on Chip (SOC). It is integrated with
a Transmission Control Protocol/Internet Protocol (TCP/IP) protocol stack that
can give any microcontroller access to your WIFI network. The module is highly
cost efficient . It provides on-board processing as well as storage capacity thus
allowing it to be integrated with sensors.
WIFI module is used in
order to provide connectivity across the world. WiFi connects the Arduino Mega
2560 to the software application.
A servo motor is a linear or rotary actuator. It allows exact
control of angular/linear position, velocity and acceleration of servo motor. A
motor is coupled to a sensor for position feedback. It is a self-contained
electrical device. Servo motor rotates parts of a machine with high efficiency
and high precision. The output shaft of the servo motor can be moved to a
The servo motor is used to control the saline flow rate. The
servo motor is able to rotate from 0o to 180o to control
the flow rate. If the saline flow rate is more than that specified in the command
then the servo motor rotates anti-clockwise to reduce the flow rate and if the
actual flow rate is less than that specified in the command then servo motor
rotates clockwise to reduce the gap between the valve and pipe. When actual
flow rate is same as the one specified in the command, then servo motor stops
to keep flow rate same.
Flow sensor consists of two metal wires arranged in parallel
very close to each other. Flow sensor is used to detect the saline flow from
the saline bottle. The flow sensor provides a digital pulse each time a certain
amount of saline passes through the pipe. The output can easily be connected to
a microcontroller for monitoring saline flow.
A keypad matrix consists of a set of push buttons or switches
which are arranged in a matrix format of rows and columns. These keypads are
available in different configurations.
We have used a 4×4 matrix configuration. Keypad Matrix is
used to take the user inputs. In case Android phone is discharged or is not working,
then the user can use Keypad Matrix to provide the saline drop rate.
An Infrared (IR) Sensor is an electronic instrument which is
used to sense certain characteristics of its surroundings by either emitting
and/or detecting infrared radiation. Infrared (IR) Sensor senses the saline
drops from saline bottle when it reaches a particular critical level. After sensing that the saline in the saline
bottle has come to a critical level, it transmits a signal to the sensor