Design of Digital Blood Glucose Meter Based On Arduino UNO: September 2015
Design of Digital Blood Glucose Meter Based On Arduino UNO: September 2015
Design of Digital Blood Glucose Meter Based On Arduino UNO: September 2015
net/publication/305590433
CITATIONS READS
2 14,979
4 authors, including:
All content following this page was uploaded by Amani Fetohi on 24 July 2016.
Abstract:
In this paper we present an electronic system to perform a measurement of the blood glucose based on Arduino
UNO. A glucose sensor is an electrochemical diagnostic strip which used glucose oxidizes enzymes; INA219 current
sensing module converts signals from glucose sensor (milliamp) to voltage interfaces with the Arduino UNO. LCD
module is used to display the measured value of the blood glucose. Software is developed in C language.
I. Introduction
Millions of people throughout the world have been suffered from diabetes, which is a kind of metabolic
diseases. It is characterized by hyperglycemia resulting from defects in insulin secretion, insulin action, or both [1].
Many methods have been used for the detection of glucose, such as amperometric [2, 3], spectrophotometric [4],
fluorometric methods [5, 6]. Compared to conventional methods, biosensors can provide improved specificity,
detection limits and speed of response [7]. A lot of effort has to be done in exploring nonenzymatic electrochemical
glucose sensors which depend on direct oxidation of glucose by using noble and transition metals as electrocatalysts.
Noble metals such as platinum [8, 9], gold [10], and palladium [11] have been explored in nonenzymatic glucose
sensors. It is well known that noble metals are expensive moreover, they being depleted, in order to resolve this
problem and maximize the usage of a noble metal, novel nanoparticles with core and shell structure have been
explored recently. Ni core/ Pt shell nanoparticles have been used in oxidation of some alcohols [12, 13] but to the
best of our knowledge it is the first time to use this combination in glucose oxidation. In the present investigation,
we measure the blood glucose based on Amperometic method. The glucose sensor [5] is an electrochemical
diagnostic strip which used glucose oxidizes enzymes. When blood sample is applied, the enzyme becomes
catalytically active and mediator compound transfer electrons to the electrode. The electrical signal is then processed
and converted via INA219 module to Arduino UNO and displayed by LCD module [14, 15, 16].
II. Electronic Monitoring System Design
In this paper, the design of monitoring system has two parts.
a. Hardware Design,
b. Software Design
The Arduino UNO microcontroller serves as the brain of the system to facilitate programming. It is a
microcontroller board based on ATMega328 that comprises 14 digital pin entries (input) 6 analog production entries
(output), a 16 MHz ceramic resonator, USB connection, power jack, ICSP header, and reset button. The board is
equipped with the features needed to support the microcontroller by connecting it to a computer using a USB cable.
The UNO 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 Ground and Vin pin headers of the power connector. The board can operate on an
external supply of 6 to 20 volts. The UNO can be programmed with the Arduino 1.6.4 software. Select "Uno from
the Tools > Board menu (according to the microcontroller on your board). The ATmega328 on the Uno comes
preburned with a bootloader that allows you to upload new code to it without the use of an external hardware
programmer.
The INA219 is a high-side current shunt and power monitor with an I 2C interface. The INA219 monitors both
shunt drop and supply voltage, with programmable conversion times and filtering. A programmable calibration
value, combined with an internal multiplier, enables direct readouts in amperes. An additional multiplying register
calculates power in watts. The I2C interface features 16 programmable addresses. The INA219 senses across shunts
on buses that can vary from 0V to 26V. The device uses a single +3V to +5.5V supply, drawing a maximum of 1mA
of supply current. The INA219 operates from –40°C to +125°C. The pin connection of INA219 current sensing is
shown below in Figure 3.
The INA219 current sensor is used in the implementation of this digital Glucose meter. As the circuit
connection of INA219 current sensing to Arduino for displaying blood glucose is shown below in Figure 4, connect
the Arduino 5V to the INA219 VCC and the Arduino GND to the INA219 GND. To read the output voltage level,
connect the Arduino SDA (analog pin 4) to the INA219 SDA and connect the Arduino SCL (analog pin 5) to the
INA219 SCL. As current passes from V IN+ through RS to VIN-, it creates a voltage drop across R S. The op-amp
inside of the INA219 chip measures the difference between the V IN+ and VIN- voltages and outputs a voltage based
on that difference. The output of the op-amp is amplified through the internal transistor, which sources a current out
of the INA219 chip. As that current passes through R L to ground, a voltage level is generated at VOUT.
LCD modules form a very important part in many Arduino based embedded system designs. LMB162AFC is
the LCD module used here. LMB162AFC liquid crystal display (LCD) is used to get the output of the blood glucose
meter. The LMB162AFC has 16 pins and can be operated in 4-bit mode or 8-bit mode. Here we are using the LCD
module in 4-bit mode. The pin connection of interfacing LCD to Arduino for displaying blood glucose is shown in
Figure 5. RS pin of the LCD module is connected to digital pin 12 of the Arduino. R/W pin of the LCD is grounded.
Enable pin of the LCD module is connected to digital pin 11 of the Arduino. In this project, the LCD module and
Arduino are interfaced in the 4-bit mode. That means only four of the digital input lines (DB4 to DB7 of the LCD
are used). This method is very simple, requires less connections and you can almost utilize the full potential of the
LCD module. Digital lines DB4, DB5, DB6 and DB7 are interfaced to digital pins 5, 4, 3 and 2 of the Arduino. The
10K potentiometer is used for adjusting the contrast of the display. 560 ohm resistor R1 limits the current through
the back light LED.
VI. Software
The software program of this digital blood glucose meter is listed below by “C” programming language. The
“C” programming language is growing in importance and has become the standard high level language for real-time
embedded applications. This part shows how to write the C program for using the INA216 current sensor Breakout
Board; as current passes through the shunt resistor, a voltage is generated. Use an analog read and some math to
determine the current and then converted to blood glucose value via lookup table which stored in Arduino memory.
In this study, the hardware and software features of Arduino UNO based system used to determine the
approximate concentration of glucose in the blood is described. We used Bio sensor for monitoring blood glucose
levels. The necessary software is developed in C, using Arduino 1.6.4 software. In the present paper, we used test
strips, when a drop of blood is placed on the test strip it interacts with the elements on the strip that causes a
reaction and an electric is generated. The current is sent to IMA219 current sensing module and convert to voltage.
This voltage is sent to Arduino UNO for further processing and LCD to display which operated with less power and
brighter. The accuracy of the system can be improved with a large set of data.
REFERENCES
[1] Y. Lia, J. Fua, R. Chena, M. Huanga, B. Gaoa, K. Huoa, L. Wangb, P. K. Chuc, Sensors and Actuators B 192
(2014) 474– 479
[2] C.M.C.M. Couto, A.N. Araujo, M.C.B.S.M. Montenegro, J. Rohwedder,I. Raimindo, C. Pasquini, Talanta 56
(2002) 997–1003.
[3] Q. Yang, P. Atanasov, E. Wilkins, Sensors and Actuators B 46 (1998) 249–256.
[4] H. Ukeda, Y. Fujita, M. Ohira, M. Sawamura, Journal of Agricultural and Food Chemistry ,44(1996) 3858–
3963.
[5] M. Lepore, M. Portaccio, E.D. Tommasi, P.D. Luca, U. Bencivenga, P.Maiuri, D.G. Mita, Journal of Molecular
Catalysis B: Enzymatic. 31 (2004) 151–158.
[6] X.J. Wu, M.M.F. Choi, Anal. Chim. Acta 514 (2004) 219–226.
[8] B. Beden, F. Largeaud, K.B. Kokoh, C. Lamy, , Electrochimica Acta 41 (1996) 701–709.
[9] J.H. Yuan, K. Wang, X.H. Xia, , Advanced Functional Materials 15 (2005)803–809
[10] F.Y. Xie, Z. Huang, C. Chen, Q.J. Xie, Y. Huang, C. Qin, Y. Liu, Z.H.Su, S.Z. Yao, Electrochemistry
Communications 18 (2012)108–111.
[12] X-Z. Fu, Y. Liang, S-P.i Chen, J-D. Lin, D-W. Liao, Catalysis Communications, Volume 10, Issue 14, 25
August 2009, Pages 1893-1897
[13] Q. Yuan, D. Duan, Y. Ma, G. Wei, Z. Zhang, X. Hao, S. Liu, Journal of Power Sources, Volume 245, 1
January 2014, Pages 886-891
[14] R.G. Jamkar and R.H. Chile “Microcontroller based Temperature Indicator and Controller”, Journal of
Instrument. Society of India 34(3)pp.180-186, Sept-2004.
[15] A.Rajendran and P. Neelamegam “Design of AT89C52 Microcontroller based system for the measurement of
Temperature and control”, Journal of Instrument. Society of India 35(I) pp. 99-105, March-2005.
[16] N. Anju Latha1*, B. Rama Murthy1, U. Sunitha “ Design And Development Of A Microcontroller Based
System For The Measurement Of Blood Glucose” International Journal of Engineering Research and Applications
(IJERA) Vol. 2, Issue 5, September- October 2012, pp.1440-1444