SlideShare a Scribd company logo
1 of 8
Download to read offline
International Journal of Advances in Applied Sciences (IJAAS)
Vol. 9, No. 2, June 2020, pp. 77~84
ISSN: 2252-8814, DOI: 10.11591/ijaas.v9.i2.pp77-84  77
Journal homepage: http://ijaas.iaescore.com
Design, simulation and implementation of an Arduino
microcontroller based automatic water level controller with I2C
LCD display
Akinwole OO
Department of Electrical/Electronic Engineering, Federal Polytechnic, Nigeria
Article Info ABSTRACT
Article history:
Received May 8, 2019
Revised Feb 11, 2020
Accepted Mar 14, 2020
The paper explains utilization of Arduino Microcontroller to automatically
control level of water in a tank. From a well spelt out algorithms, flowchart
was drawn, from which Codes were written and compiled on Arduino IDE.
IF statements were copiously used. Proteus was used to simulate the design
while the project was implemented on breadboard. Liquid Crystal Display
function displays the level of water on the 16 × 2 LCD thus: Very Low, Low,
High and Very High. An option of I2C LCD codes was written thus
providing advantage of using only two analog input A4 and A5 pins instead
of 4 to 8 pins in other configurations thereby allowing other pins dedicated
for other tasks. The design recommends improvements in the area of sump
control so that its low water level could disable pump thus preventing it from
running dry. Protection devices like circuit breaker overload and phase
failure relays are recommended in order to prolong the life of the Water
pump. It is believed that the design will go in long way in educating power
electronic engineers in the arts of design using Arduino; also, a mass
production of the device will accentuate Small and Medium Enterprises
SMEs in developing countries with its concomitant economic advantages.
Keywords:
Arduino microcontroller
Float switch
I2C LCD
Simulation
Water level
This is an open access article under the CC BY-SA license.
Corresponding Author:
Akinwole OO,
Department of Electrical/Electronic Engineering,
Federal Polytechnic,
Ado-Ikare Rd, Ado-Ekiti, Nigeria.
Email: oyeakin2003@yahoo.com
1. INTRODUCTION
One of the results of modern age is the increase in devices that work in automatic fashion.
Daily man tends to find a way to simplify his activities thereby solving problems. Many times are wasted
operating systems manually; also cost of employing operators can eat deep into the company finance.
The design, apart from solving this problem, also delves into trending Arduino design methodology.
Appliance or equipment manufacturers and designers alike have keyed-in into this in order to remain
relevant. Automatic systems reduce number of workers to attend to industrial process; the resultant is
the drastic reduction in wages and losses which will undoubtedly dovetail into more profits. Thus automatic
system supports lean manufacturing where customers are satisfied at low and affordable cost [1].
The aforementioned is made possible by continuous improvement in design techniques and ingenuous usage
of electronics components and building blocks. Microcontrollers offer better solution, being computers on
single chips; enable production of embedded smart systems which are prevalent everywhere today [2].
A designer just need to master it, learn their instruction sets and write codes that make them work.
 ISSN: 2252-8814
Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84
78
This project will allow the level of water in a tank to be maintained automatically, that is, unattended to; it
uses Arduino microcontroller, codes were written in order for it to perform as water level controller.
2. METHODOLOGY
The tasks to be performed were listed while flowchart for the design was drawn. Input pins hosting
three float switches were connected to Arduino pins 1 to 3 using pull down 10k resistors. Four LEDs level
indicators indicating “Water Level Very High, High, Low, and Very Low” were connected to Arduino pins 9,
8,7and 6 respectively. IF statements were in the codes. The project was simulated using Proteus while
the implementation was done on breadboard. An LCD displaying water levels was included using six
Arduino pins. An option of I2C LCD was included thus enabling only two analog pins A4 and A5 to be
engaged; where A4 is connected to SDA and A5 to SCL , that is, i2C data and clock respectively [3].
2.1. System’s flowchart
Algorithms that explain the sequence of operations and steps for the design were written thus
enabling the diagrammatical representation of flow of process through the agency of flowcharting [4].
This approach simplifies the writing of system’s codes (Figure 1).
Stop
Start
Read kpinF, kpinM,
kpinL
False
False
True
LEDvl =ON,LEDl=OFF
LEDh=OFF, LEDvh=OFF,PUMP=ON
Print Water Level,VERY LOW
PUMP ON
True
LEDvl =ON,LEDl=ON
LEDh=OFF, LEDvh=OFF, PUMP=ON
Print Water Level: LOW
If
valf =LOW
&valm=LOW
& vall=LOW
If
valf =LOW
&valm=LOW
& vall= HIGH
False
True
LEDvl =ON,LEDl=ON
LEDh=ON, LEDvh=OFF, PUMP=ON
Print Water Level: HIGH
True
LEDvl =ON,LEDl=ON
LEDh=ON, LEDvh=ON, PUMP=OFF
Print Water Level: VERY HIGH
PUMP OFF
If
valf =LOW
&valm=HIGH
& vall=HIGH
If
valf =HIGH
&valm=HIGH
& vall= HIGH
False
Figure 1. Flow chart
Step 1: Read the digital values (HIGH, +5V or LOW, 0V) at microcontroller pins kpinF, kpinM and kpinL
and store their values at valf, valM and vall respectively. (F, M and L represent Full, Medium and
Low respectively).
Int J Adv Appl Sci ISSN: 2252-8814 
Design, simulation and implementation of an arduino (Akinwole OO)
79
Step 2: If valf, valm and vall have LOW (0V) values, Light Emitting Diodes LEDs LEDvl ON (lit), LEDl
OFF, LEDh OFF, LEDvh OFF; Water Pump Switched ON, Print on LCD “Water Level: VERY
LOW PUMP ON” else go to step 3. (vl, l, h, vh represent very low, low, high and very high
respectively).
Step 3: If valf and valm are LOW (0V) values and vall HIGH, Light Emitting Diodes LEDs LEDvl ON (lit),
LEDl ON, LEDh OFF, LEDvh OFF; Water Pump ON, Print on LCD “Water Level: LOW PUMP
ON” else go to step 4.
Step 4: If valf LOW while valm and vall HIGH (+5V), Light Emitting Diodes LEDs LEDvl ON (lit), LEDl
ON, LEDh ON, LEDvh OFF; Water Pump ON, Print on LCD “Water Level: HIGH PUMP ON”
else go to step 5.
Step 5: If valf, valm and vall are HIGH (+5V), Light Emitting Diodes LEDs LEDvl ON (lit), LEDl ON,
LEDh ON, LEDvh ON; Water Pump switch OFF, Print on LCD “Water Level: VERY HIGH
PUMP OFF”.
2.2. Arduino uno microcontroller
A Microcontroller can be referred to as a computer on a chip. It parades input and output pins.
Unlike a Microprocessor, it includes processor with memory location for storing programs written in
C language [5].
Arduino Uno board, Figure 2, has an Atmega 328 on it as the main Microcontroller. Using this unit
does not require extra money for a Programmer. Codes or sketches and compilations are done on its
Integrated Development Environment IDE This advantage makes prototyping of embedded system easier by
engineers and electronic systems enthusiasts. The board has six (A0 to A5) analog inputs to handle analog
signals and fourteen I/O pins for input and output functions [4].
Figure 2. Arduino uno board
2.3. Design of a relay controlling switch
Transistor works as a switch when it is operated at its extreme regions, that is, at cut-off and
saturation [6] At saturation, Common-Emitter Voltage, VCE =0; and Collector Current IC =
𝑽 𝑪𝑪
𝑹 𝑪
As shown in Figure 3.
Figure 3. A transistor switch
While at cut-off, Collector Supply VCC is equal to Collector Emitter Voltage VCE (VCE = VCC)
and IC = 0.
Using Kirchhoff’s Voltage Law in the collector circuit (1),
𝑉𝐶𝐶 = 𝐼𝐶 𝑅 𝑟𝑒𝑙𝑎𝑦 + 𝑉𝐶𝐸 (1)
Using a switching and linear amplification transistor 2N2222,
+Vcc
0V
Rrelay1N4001
Controls Pump
starter and alarm
RB
 ISSN: 2252-8814
Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84
80
IC max = 800mA at IC= 150mA, VCE = 10V while hFE min =100 and hFEmax = 300 [7]
VHIGH = VCC = 9V, Rrelay = 400 Ω, hFE= 100, Relay operating voltage = 9V
By using 300Ω, IC =
𝑽 𝑪𝑪
𝑹 𝒓𝒆𝒍𝒂𝒚
=
9
400
= 22.5mA
Base current, 𝐼 𝐵 =
𝐼 𝐶
ℎ𝐹𝐸
=
22.5𝑚𝐴
100
= 0.23mA
For saturation, IB> 0.23mA.
Let IB = 2.5mA.
Arduino VHIGH = 5V, VBE = 0.7V
RB =
𝑉 𝐻𝐼𝐺𝐻−𝑉 𝐵𝐸
𝐼 𝐵
=
5−0.7
2.5𝑚𝐴
4.3
3𝑚𝐴
= 1720Ω
Preferred Value = 1.5kΩ
2.4. The system’s codes
The system’s codes below were punctuated with comments thereby given clear understandings of
the application of Arduino microcontroller’s syntax in one hand and providence of needed assistance in
future software improvements. In order to write to the LCD, 4 bits mode was adopted in which LCD’s D4-D7
are engaged (figure 4). The syntax is LiquidCrystal lcd (RS, EN, D4, D5, D6, D7), in this case: LiquidCrystal
lcd (4,5,10,11,12,13) are connected to RS, EN, D4, D5, D6 and D7 respectively [4].
#include <LiquidCrystal.h>
#include <Wire.h>
LiquidCrystallcd (4,5,10,11,12,13);
int kpinF=1; // pin 1 is set as water full sensor pin
int kpinM=2;// pin 2 is set as water medium level sensor pin
int kpinL=3;// pin 3 is set as water low level sensor pin
int MotorBuzzer=0; // pin 0 is set as water pump and buzzer drive pin
int LEDvh=9; // pin 9 is set as Very High water level indicator pin
int LEDh=8; // pin 8 is set as High water level indicator pin
int LEDl=7; // pin 7 is set as Low water level indicator pin.
int LEDvl=6;//pin 6 is set as Very Low water level indicator pin.
int valf=0;//The value of the memory location sensing Full water level initialized to
zero
int valm=0;// The value of the memory location sensing Medium water level initialized
to zero
int vall=0;// The value of the memory location sensing Low water level initialized to
zero
void setup()
{
lcd.begin(16,2); // for 16 X 2 LCD module
lcd.setCursor(0,0);
lcd.print("AUTO WATER LEVEL");
lcd.setCursor(0,1);
lcd.print(" CONTROLLER");
delay(1000);
pinMode(kpinF, INPUT);//kpinF set as Input pin
pinMode(kpinM, INPUT);//kpinM set as input pin
pinMode(kpinL, INPUT);// kpinL set as input pin
pinMode(LEDvh, OUTPUT);//LEDvh set as output pin
pinMode(LEDh, OUTPUT);// LEDh set as output pin
pinMode(LEDl, OUTPUT);// LEDl set as output pin
pinMode(LEDvl, OUTPUT);// LEDvl set as output pin
pinMode(MotorBuzzer, OUTPUT);// MotorBuzzer set as output pin
}
void loop()
{
valf=digitalRead(kpinF);// Read kpinF and store the digital value in valf
valm=digitalRead(kpinM); // Read kpinM and store the digital value in valm
vall=digitalRead(kpinL);// Read kpinL and store the digital value in vall
if((valf==LOW)&&(valm==LOW)&&(vall==LOW))
{
digitalWrite(LEDvl, HIGH);
digitalWrite(LEDl, LOW);
digitalWrite(LEDh, LOW);
digitalWrite(LEDvh, LOW);
Int J Adv Appl Sci ISSN: 2252-8814 
Design, simulation and implementation of an arduino (Akinwole OO)
81
digitalWrite(MotorBuzzer, HIGH);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("WATER LEVEL");
lcd.setCursor(0,1);
lcd.print("VERY LOW PUMP ON");
delay(500);
}
if((valf==LOW)&&(valm==LOW)&&(vall==HIGH))
{
digitalWrite(LEDvl, HIGH);
digitalWrite(LEDl, HIGH);
digitalWrite(LEDh, LOW);
digitalWrite(LEDvh, LOW);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("WATER LEVEL");
lcd.setCursor(0,1);
lcd.print("LOW");
delay(500);
}
if((valf==LOW)&&(valm==HIGH)&&(vall==HIGH))
{
digitalWrite(LEDvl, HIGH);
digitalWrite(LEDl, HIGH);
digitalWrite(LEDh, HIGH);
digitalWrite(LEDvh, LOW);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("WATER LEVEL");
lcd.setCursor(0,1);
lcd.print("HIGH");
delay(500);
}
if((valf==HIGH)&&(valm==HIGH)&&(vall==HIGH))
{
digitalWrite(LEDvl, HIGH);
digitalWrite(LEDl, HIGH);
digitalWrite(LEDh, HIGH);
digitalWrite(LEDvh, HIGH);
digitalWrite(MotorBuzzer, LOW);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("WATER LEVEL");
lcd.setCursor(0,1);
lcd.print("VHIGH PUMP OFF");
delay(500);
}
}
2.5. Codes using I2C
In order to employ i2C configuration and benefit from its gain, the above code can be modified by
including its code using #include<LIquidCrystal_I2C.h> and LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7);
0x3F is the address of the i2C module [4]. Other syntax should be noted. The void () loop codes which
the Arduino executes continuously remain the same as in the section above.
#include <LiquidCrystal_I2C.h>
#include <Wire.h>
LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7);
int kpinF=1; // pin 1 is set as water full sensor pin
int kpinM=2;// pin 2 is set as water medium level sensor pin
int kpinL=3;// pin 3 is set as water low level sensor pin
int MotorBuzzer=0; // pin 0 is set as water pump and buzzer drive pin
int LEDvh=9; // pin 9 is set as Very High water level indicator pin
int LEDh=8; // pin 8 is set as High water level indicator pin
int LEDl=7; // pin 7 is set as Low water level indicator pin.
int LEDvl=6;//pin 6 is set as Very Low water level indicator pin.
int valf=0;//The value of the memory location sensing Full water level initialized to
zero
int valm=0;// The value of the memory location sensing Medium water level initialized
to zero
 ISSN: 2252-8814
Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84
82
int vall=0;// The value of the memory location sensing Low water level initialized to
zero
void setup()
{
lcd.begin(16,2); // for 16 X 2 LCD module
lcd.setBacklightPin(3,POSITIVE);
lcd.setBacklight(HIGH);
lcd.setCursor(0,0);
lcd.print("AUTO WATER LEVEL");
lcd.setCursor(0,1);
lcd.print(" CONTROLLER");
delay(1000);
pinMode(kpinF, INPUT);//kpinF set as Input pin
pinMode(kpinM, INPUT);//kpinM set as input pin
pinMode(kpinL, INPUT);// kpinL set as input pin
pinMode(LEDvh, OUTPUT);//LEDvh set as output pin
pinMode(LEDh, OUTPUT);// LEDh set as output pin
pinMode(LEDl, OUTPUT);// LEDl set as output pin
pinMode(LEDvl, OUTPUT);// LEDvl set as output pin
pinMode(MotorBuzzer, OUTPUT);// MotorBuzzer set as output pin
}
2.6. Simulation using proteus
The project was wired in Proteus [8] for simulation, (Figure 4). Proteus is a simulation and design
software developed by labcenter electronics [9]. Single pole single throw switch was employed to represent
float switches sensing low, medium and full water levels. They drive kpinL, kpinM and kpinF respectively.
The pins are pull down using three 10kΩ resistors. A closed switch applies +5V across its respective pin.
Figure 4. Simulation in proteus environment with general LCD connection
3. THE COMPLETE CIRCUIT
Water sensors sensing Low, Medium and Full levels of water tank are connected to Arduino pins 1,
2 and 3 respectively. Pin 0 drives the water pump and buzzer while Light Emitting Diodes indicating Very
Low (vl), Low(l), High(h) and Very High(vh) are connected to pins 6, 7, 8, and 9 respectively.
Current flowing in the LEDs are minimized by connecting 220Ω resistors in series with them; As their
cathodes are grounded (0V), the arrangement is active High, that is, when the conditions for any of the LED
to be illuminated is met, its anode terminal connected to an Arduino pin goes High, thereby allowing current
to flow through it, as shown in Figure 5.
Input Pins (Sensors) are tied down using 10KΩ resistors; so +5VDC is connected through the float
switches to each input pin. When the water level is below any switch, its contacts becomes opened, its
Arduino pin sees 0V but as water reaches that float device the switch closes thus presenting +5V to its
Arduino pin. The values in the pins are stored in valf (full), valm (medium) and vall (low) memory location.
Int J Adv Appl Sci ISSN: 2252-8814 
Design, simulation and implementation of an arduino (Akinwole OO)
83
digitalRead functions are used to read the values, if all the values are LOW, it means the water level is Very
Low, Pin 0 that drives the water pump goes HIGH (+5V)
The HIGH level drives a transistor switch [10] using a switching transistor 2N2222, Its Vcc is
connected to the output terminal of a +9V fixed voltage regulator, LM7809. The base resistor 4.7Ω provides
a potential difference in the base circuit which allows current to flow into the transistor. A transistor
connected in common emitter configuration act as an Inverter [11], that is, +5V at the base produces 0V at
the collector. Since a 9V relay with operating coil having ohmic (DC) resistance of 400Ω is the load, a 9V is
effectively across the coil thus cause it to operate thereby closing its normally open contact which is wired in
series with Electric pump control circuit. A piezoelectric device wired across the relay produces sound.
A power diode 1N4001 acting as a suppression diode [11] connected across the relay protects the transistor
against the back emf.
As the level of the water in the tank rises with val, valm and valf become HIGH, all the LEDs are lit,
Arduino pin 0 becomes 0V, the transistor switch cuts off, relay de-energizes, hitherto closed relay contact
becomes opened thereby disengaging power into the water pump control circuit. The buzzer goes off.
The Water Pump is automatically switched off.
The LCD circuit uses the 12C module to reduce complexity of display circuit. Instead of using six
Arduino I/O pins 4, 5, 10, 11, 12 and 13; only two analog pins A4 and A5 are used. They are connected to
SDA and SCK respectively. The I2C module is soldered to the back of the 16 x 2 LCD unit. (Figure 6)
Figure 5. Implementation on breadboard. water float switches are realised by closing
successive contacts using wire jumpers.
Figure 6. Working circuit for i2c lcd connection: the i2c backpack was soldered to
the display while only 2 arduino pins were used.
 ISSN: 2252-8814
Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84
84
4. RESULTS
The result has helped to solve problems of manual operations of water pumping system. It has also
deviated from usage of PIC microcontrollers into trending Arduino platform. The result of implementation is
shown in Figure 5; the HIGH (+5V) driving the buzzer and motor pump was represented by a blue LED, so
when it is lit, the pump and buzzer were ON and vice versa, float switches were realized by manual closing
of a set of four contacts. At Very Low water level, one LED was lit, at Low water level, two LEDs were ON,
at High tank level, three LEDs were lit and at Very High tank level all the four LEDs were in ON positions;
at this juncture, the water pump went off, indicated by the OFF blue LED.
5. CONCLUSION
The paper has succeeded in highlighting the simplicity of using Arduino Microcontroller in
the designs of Power Electronic systems. In order to prolong the life of the pump, a Direct- on-Line starter
could be engaged in starting it. In this arrangement, an overload relay would be wired into the motor main
circuit thus preventing overloads from burning its stator windings. The following recommendations
are made:
1. The design can be improved by having means of sensing low water level in the sump to prevent the pump
from running dry.
2. An inclusion of a well selected circuit breaker will protect the motor main circuit from short circuit.
3. To further protect the water pump, an overload relay and a phase failure relay can be included in
the starter unit to protect it from single phasing, wrong phase sequence and power supply imbalance.
REFERENCES
[1] Reliable Plant, “Benefits of automation in lean manufacturing,” Retrieved from: fromwww.reliableplant.com/lean-
manufacturing-automation, Accessed online 2019.
[2] Bates, M.P., “Programming 8-bit PIC microcontrollers in C with interactive hardware simulation,”
NewnessUSA, 2008.
[3] Adafruit Learning System. I2C/SPI LCD Backpack. Retrieved online 2018 from
www.learnadafruit.com/i2c-spi-lcd-backpack
[4] Akinwole, OO, Oladimeji, TT. “Design and implementation of Arduino microcontroller based automatic lighting
control with I2C LCD Display,” J. Electr Electron Syst, vol. 7, pp. 258, 2018.
[5] Arduino Tutorialpoint, pp. 24-35, 2016, Retrieved online from www.tutorialpont.com, 2018.
[6] Electronics Hub., “Transistor as Switch,” Retrieved from: www.electronicshub.org/transistor-as-switch/, Sep 2018.
[7] Philips Semiconductors Datasheet on 2N2222 Switching Transistor, Retrieved from:
www.semiconductors.philips.com, 2017.
[8] Labcenter Electronics, Proteus User manual, Intelligent Schematic Input System, www.ele.uva.es, 2002
[9] Narasimha, R. “Proteus PCB Design and Simulation Software-Introduction”, www.circuittoday.com,2017
[10] Akinwole, OO, “Design and implementation of an electric cooker control as a means of preventing domestic fire
incidence” Journal of Engineering Reaearch and Reports, vol. 4, no. 3, pp. 1-9, 2019.
[11] Horowitz, P., Hill, W., The Art of Electroni.cs, Cambridge University Press, 1989.

More Related Content

What's hot

Capacitance Sensing - Waterproof Capacitance Sensing
Capacitance Sensing - Waterproof Capacitance SensingCapacitance Sensing - Waterproof Capacitance Sensing
Capacitance Sensing - Waterproof Capacitance Sensingoliviajacob
 
IRJET - Automatic Mechanism for LED Parameters Testing & Checking
IRJET -  	  Automatic Mechanism for LED Parameters Testing & CheckingIRJET -  	  Automatic Mechanism for LED Parameters Testing & Checking
IRJET - Automatic Mechanism for LED Parameters Testing & CheckingIRJET Journal
 
IRJET- Design & Implementation of Black Box in Automobiles System
IRJET-  	  Design & Implementation of Black Box in Automobiles SystemIRJET-  	  Design & Implementation of Black Box in Automobiles System
IRJET- Design & Implementation of Black Box in Automobiles SystemIRJET Journal
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
Automatic Room Lock And Lights Off Circuit
Automatic Room Lock And Lights Off CircuitAutomatic Room Lock And Lights Off Circuit
Automatic Room Lock And Lights Off CircuitAmrish Tejas
 
Information sheet/Kertas Penerangan
Information sheet/Kertas PeneranganInformation sheet/Kertas Penerangan
Information sheet/Kertas Peneranganathirahchehusin
 

What's hot (12)

K010316571
K010316571K010316571
K010316571
 
LO(D)D ant2012
LO(D)D ant2012LO(D)D ant2012
LO(D)D ant2012
 
Capacitance Sensing - Waterproof Capacitance Sensing
Capacitance Sensing - Waterproof Capacitance SensingCapacitance Sensing - Waterproof Capacitance Sensing
Capacitance Sensing - Waterproof Capacitance Sensing
 
Deepak
DeepakDeepak
Deepak
 
IRJET - Automatic Mechanism for LED Parameters Testing & Checking
IRJET -  	  Automatic Mechanism for LED Parameters Testing & CheckingIRJET -  	  Automatic Mechanism for LED Parameters Testing & Checking
IRJET - Automatic Mechanism for LED Parameters Testing & Checking
 
Resume_Santosh
Resume_SantoshResume_Santosh
Resume_Santosh
 
IRJET- Design & Implementation of Black Box in Automobiles System
IRJET-  	  Design & Implementation of Black Box in Automobiles SystemIRJET-  	  Design & Implementation of Black Box in Automobiles System
IRJET- Design & Implementation of Black Box in Automobiles System
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
R2 r dac
R2 r dacR2 r dac
R2 r dac
 
Automatic Room Lock And Lights Off Circuit
Automatic Room Lock And Lights Off CircuitAutomatic Room Lock And Lights Off Circuit
Automatic Room Lock And Lights Off Circuit
 
Research Paper
Research PaperResearch Paper
Research Paper
 
Information sheet/Kertas Penerangan
Information sheet/Kertas PeneranganInformation sheet/Kertas Penerangan
Information sheet/Kertas Penerangan
 

Similar to Design, simulation and implementation of an Arduino microcontroller based automatic water level controller with I2C LCD display

Udayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptxUdayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptxSyncrotrone
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ajit kumar singh
 
IRJET- Water Level Monitoring System
IRJET- Water Level Monitoring SystemIRJET- Water Level Monitoring System
IRJET- Water Level Monitoring SystemIRJET Journal
 
IRJET - Low Cost Arduino Controlled Humidity Meter
IRJET  -  	  Low Cost Arduino Controlled Humidity MeterIRJET  -  	  Low Cost Arduino Controlled Humidity Meter
IRJET - Low Cost Arduino Controlled Humidity MeterIRJET Journal
 
IoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIJSRED
 
IRJET- Multi-Sensor based Water Quality Monitoring in IoT Environment
IRJET-  	  Multi-Sensor based Water Quality Monitoring in IoT EnvironmentIRJET-  	  Multi-Sensor based Water Quality Monitoring in IoT Environment
IRJET- Multi-Sensor based Water Quality Monitoring in IoT EnvironmentIRJET Journal
 
Interface stepper motor through Arduino using LABVIEW.
Interface stepper motor through Arduino using LABVIEW.Interface stepper motor through Arduino using LABVIEW.
Interface stepper motor through Arduino using LABVIEW.Ankita Tiwari
 
Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock deviceAmitoj Kaur
 
Automated irrigation system based on soil moisture using arduino
Automated irrigation system based on soil moisture using arduinoAutomated irrigation system based on soil moisture using arduino
Automated irrigation system based on soil moisture using arduinoVishal Nagar
 
Automatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoTAutomatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoTDanish Mehraj
 
Energy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counterEnergy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counterIRJET Journal
 
finalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdffinalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdfsaketkumar128143
 
Iot Based fish aquarium
Iot Based fish aquariumIot Based fish aquarium
Iot Based fish aquariumKhaanJunaid
 
IRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain VehicleIRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain VehicleIRJET Journal
 
Drowsiness Detected For Vehicle Using Smart Glass With Eye Blink Sensor
Drowsiness Detected For Vehicle Using Smart Glass With Eye Blink SensorDrowsiness Detected For Vehicle Using Smart Glass With Eye Blink Sensor
Drowsiness Detected For Vehicle Using Smart Glass With Eye Blink SensorIRJET Journal
 

Similar to Design, simulation and implementation of an Arduino microcontroller based automatic water level controller with I2C LCD display (20)

Udayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptxUdayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptx
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
 
IRJET- Water Level Monitoring System
IRJET- Water Level Monitoring SystemIRJET- Water Level Monitoring System
IRJET- Water Level Monitoring System
 
IRJET - Low Cost Arduino Controlled Humidity Meter
IRJET  -  	  Low Cost Arduino Controlled Humidity MeterIRJET  -  	  Low Cost Arduino Controlled Humidity Meter
IRJET - Low Cost Arduino Controlled Humidity Meter
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
 
Power Measurement with IoT
Power Measurement with IoTPower Measurement with IoT
Power Measurement with IoT
 
IoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIoT Based Solar Water Pump Controller
IoT Based Solar Water Pump Controller
 
IRJET- Multi-Sensor based Water Quality Monitoring in IoT Environment
IRJET-  	  Multi-Sensor based Water Quality Monitoring in IoT EnvironmentIRJET-  	  Multi-Sensor based Water Quality Monitoring in IoT Environment
IRJET- Multi-Sensor based Water Quality Monitoring in IoT Environment
 
Interface stepper motor through Arduino using LABVIEW.
Interface stepper motor through Arduino using LABVIEW.Interface stepper motor through Arduino using LABVIEW.
Interface stepper motor through Arduino using LABVIEW.
 
Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock device
 
Automated irrigation system based on soil moisture using arduino
Automated irrigation system based on soil moisture using arduinoAutomated irrigation system based on soil moisture using arduino
Automated irrigation system based on soil moisture using arduino
 
mini project
mini projectmini project
mini project
 
Automatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoTAutomatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoT
 
ADAELS .docx
ADAELS .docxADAELS .docx
ADAELS .docx
 
Mini project
Mini projectMini project
Mini project
 
Energy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counterEnergy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counter
 
finalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdffinalpresentationp-25iotbasedfishaquarium-200618162040.pdf
finalpresentationp-25iotbasedfishaquarium-200618162040.pdf
 
Iot Based fish aquarium
Iot Based fish aquariumIot Based fish aquarium
Iot Based fish aquarium
 
IRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain VehicleIRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
 
Drowsiness Detected For Vehicle Using Smart Glass With Eye Blink Sensor
Drowsiness Detected For Vehicle Using Smart Glass With Eye Blink SensorDrowsiness Detected For Vehicle Using Smart Glass With Eye Blink Sensor
Drowsiness Detected For Vehicle Using Smart Glass With Eye Blink Sensor
 

More from IJAAS Team

Super Capacitor Electronic Circuit Design for Wireless Charging
Super Capacitor Electronic Circuit Design for Wireless ChargingSuper Capacitor Electronic Circuit Design for Wireless Charging
Super Capacitor Electronic Circuit Design for Wireless ChargingIJAAS Team
 
On the High Dimentional Information Processing in Quaternionic Domain and its...
On the High Dimentional Information Processing in Quaternionic Domain and its...On the High Dimentional Information Processing in Quaternionic Domain and its...
On the High Dimentional Information Processing in Quaternionic Domain and its...IJAAS Team
 
Using FPGA Design and HIL Algorithm Simulation to Control Visual Servoing
Using FPGA Design and HIL Algorithm Simulation to Control Visual ServoingUsing FPGA Design and HIL Algorithm Simulation to Control Visual Servoing
Using FPGA Design and HIL Algorithm Simulation to Control Visual ServoingIJAAS Team
 
Mitigation of Selfish Node Attacks In Autoconfiguration of MANETs
Mitigation of Selfish Node Attacks In Autoconfiguration of MANETsMitigation of Selfish Node Attacks In Autoconfiguration of MANETs
Mitigation of Selfish Node Attacks In Autoconfiguration of MANETsIJAAS Team
 
Vision Based Approach to Sign Language Recognition
Vision Based Approach to Sign Language RecognitionVision Based Approach to Sign Language Recognition
Vision Based Approach to Sign Language RecognitionIJAAS Team
 
Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...
Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...
Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...IJAAS Team
 
Review: Dual Band Microstrip Antennas for Wireless Applications
Review: Dual Band Microstrip Antennas for Wireless ApplicationsReview: Dual Band Microstrip Antennas for Wireless Applications
Review: Dual Band Microstrip Antennas for Wireless ApplicationsIJAAS Team
 
Building Fault Tolerance Within Wsn-A Topology Model
Building Fault Tolerance Within Wsn-A Topology ModelBuilding Fault Tolerance Within Wsn-A Topology Model
Building Fault Tolerance Within Wsn-A Topology ModelIJAAS Team
 
Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...
Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...
Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...IJAAS Team
 
An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...
An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...
An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...IJAAS Team
 
A Novel Handoff Necessity Estimation Approach Based on Travelling Distance
A Novel Handoff Necessity Estimation Approach Based on Travelling DistanceA Novel Handoff Necessity Estimation Approach Based on Travelling Distance
A Novel Handoff Necessity Estimation Approach Based on Travelling DistanceIJAAS Team
 
The Combination of Steganography and Cryptography for Medical Image Applications
The Combination of Steganography and Cryptography for Medical Image ApplicationsThe Combination of Steganography and Cryptography for Medical Image Applications
The Combination of Steganography and Cryptography for Medical Image ApplicationsIJAAS Team
 
Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...
Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...
Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...IJAAS Team
 
Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...
Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...
Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...IJAAS Team
 
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...IJAAS Team
 
An Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc Network
An Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc NetworkAn Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc Network
An Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc NetworkIJAAS Team
 
A Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM System
A Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM SystemA Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM System
A Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM SystemIJAAS Team
 
Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...
Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...
Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...IJAAS Team
 
A Fusion Based Visibility Enhancement of Single Underwater Hazy Image
A Fusion Based Visibility Enhancement of Single Underwater Hazy ImageA Fusion Based Visibility Enhancement of Single Underwater Hazy Image
A Fusion Based Visibility Enhancement of Single Underwater Hazy ImageIJAAS Team
 
Graph Based Workload Driven Partitioning System by Using MongoDB
Graph Based Workload Driven Partitioning System by Using MongoDBGraph Based Workload Driven Partitioning System by Using MongoDB
Graph Based Workload Driven Partitioning System by Using MongoDBIJAAS Team
 

More from IJAAS Team (20)

Super Capacitor Electronic Circuit Design for Wireless Charging
Super Capacitor Electronic Circuit Design for Wireless ChargingSuper Capacitor Electronic Circuit Design for Wireless Charging
Super Capacitor Electronic Circuit Design for Wireless Charging
 
On the High Dimentional Information Processing in Quaternionic Domain and its...
On the High Dimentional Information Processing in Quaternionic Domain and its...On the High Dimentional Information Processing in Quaternionic Domain and its...
On the High Dimentional Information Processing in Quaternionic Domain and its...
 
Using FPGA Design and HIL Algorithm Simulation to Control Visual Servoing
Using FPGA Design and HIL Algorithm Simulation to Control Visual ServoingUsing FPGA Design and HIL Algorithm Simulation to Control Visual Servoing
Using FPGA Design and HIL Algorithm Simulation to Control Visual Servoing
 
Mitigation of Selfish Node Attacks In Autoconfiguration of MANETs
Mitigation of Selfish Node Attacks In Autoconfiguration of MANETsMitigation of Selfish Node Attacks In Autoconfiguration of MANETs
Mitigation of Selfish Node Attacks In Autoconfiguration of MANETs
 
Vision Based Approach to Sign Language Recognition
Vision Based Approach to Sign Language RecognitionVision Based Approach to Sign Language Recognition
Vision Based Approach to Sign Language Recognition
 
Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...
Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...
Design and Analysis of an Improved Nucleotide Sequences Compression Algorithm...
 
Review: Dual Band Microstrip Antennas for Wireless Applications
Review: Dual Band Microstrip Antennas for Wireless ApplicationsReview: Dual Band Microstrip Antennas for Wireless Applications
Review: Dual Band Microstrip Antennas for Wireless Applications
 
Building Fault Tolerance Within Wsn-A Topology Model
Building Fault Tolerance Within Wsn-A Topology ModelBuilding Fault Tolerance Within Wsn-A Topology Model
Building Fault Tolerance Within Wsn-A Topology Model
 
Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...
Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...
Simplified Space Vector Pulse Width Modulation Based on Switching Schemes wit...
 
An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...
An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...
An Examination of the Impact of Power Sector Reform on Manufacturing and Serv...
 
A Novel Handoff Necessity Estimation Approach Based on Travelling Distance
A Novel Handoff Necessity Estimation Approach Based on Travelling DistanceA Novel Handoff Necessity Estimation Approach Based on Travelling Distance
A Novel Handoff Necessity Estimation Approach Based on Travelling Distance
 
The Combination of Steganography and Cryptography for Medical Image Applications
The Combination of Steganography and Cryptography for Medical Image ApplicationsThe Combination of Steganography and Cryptography for Medical Image Applications
The Combination of Steganography and Cryptography for Medical Image Applications
 
Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...
Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...
Physical Properties and Compressive Strength of Zinc Oxide Nanopowder as a Po...
 
Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...
Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...
Experimental and Modeling Dynamic Study of the Indirect Solar Water Heater: A...
 
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
 
An Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc Network
An Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc NetworkAn Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc Network
An Improved Greedy Parameter Stateless Routing in Vehicular Ad Hoc Network
 
A Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM System
A Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM SystemA Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM System
A Novel CAZAC Sequence Based Timing Synchronization Scheme for OFDM System
 
Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...
Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...
Workload Aware Incremental Repartitioning of NoSQL for Online Transactional P...
 
A Fusion Based Visibility Enhancement of Single Underwater Hazy Image
A Fusion Based Visibility Enhancement of Single Underwater Hazy ImageA Fusion Based Visibility Enhancement of Single Underwater Hazy Image
A Fusion Based Visibility Enhancement of Single Underwater Hazy Image
 
Graph Based Workload Driven Partitioning System by Using MongoDB
Graph Based Workload Driven Partitioning System by Using MongoDBGraph Based Workload Driven Partitioning System by Using MongoDB
Graph Based Workload Driven Partitioning System by Using MongoDB
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 

Design, simulation and implementation of an Arduino microcontroller based automatic water level controller with I2C LCD display

  • 1. International Journal of Advances in Applied Sciences (IJAAS) Vol. 9, No. 2, June 2020, pp. 77~84 ISSN: 2252-8814, DOI: 10.11591/ijaas.v9.i2.pp77-84  77 Journal homepage: http://ijaas.iaescore.com Design, simulation and implementation of an Arduino microcontroller based automatic water level controller with I2C LCD display Akinwole OO Department of Electrical/Electronic Engineering, Federal Polytechnic, Nigeria Article Info ABSTRACT Article history: Received May 8, 2019 Revised Feb 11, 2020 Accepted Mar 14, 2020 The paper explains utilization of Arduino Microcontroller to automatically control level of water in a tank. From a well spelt out algorithms, flowchart was drawn, from which Codes were written and compiled on Arduino IDE. IF statements were copiously used. Proteus was used to simulate the design while the project was implemented on breadboard. Liquid Crystal Display function displays the level of water on the 16 × 2 LCD thus: Very Low, Low, High and Very High. An option of I2C LCD codes was written thus providing advantage of using only two analog input A4 and A5 pins instead of 4 to 8 pins in other configurations thereby allowing other pins dedicated for other tasks. The design recommends improvements in the area of sump control so that its low water level could disable pump thus preventing it from running dry. Protection devices like circuit breaker overload and phase failure relays are recommended in order to prolong the life of the Water pump. It is believed that the design will go in long way in educating power electronic engineers in the arts of design using Arduino; also, a mass production of the device will accentuate Small and Medium Enterprises SMEs in developing countries with its concomitant economic advantages. Keywords: Arduino microcontroller Float switch I2C LCD Simulation Water level This is an open access article under the CC BY-SA license. Corresponding Author: Akinwole OO, Department of Electrical/Electronic Engineering, Federal Polytechnic, Ado-Ikare Rd, Ado-Ekiti, Nigeria. Email: oyeakin2003@yahoo.com 1. INTRODUCTION One of the results of modern age is the increase in devices that work in automatic fashion. Daily man tends to find a way to simplify his activities thereby solving problems. Many times are wasted operating systems manually; also cost of employing operators can eat deep into the company finance. The design, apart from solving this problem, also delves into trending Arduino design methodology. Appliance or equipment manufacturers and designers alike have keyed-in into this in order to remain relevant. Automatic systems reduce number of workers to attend to industrial process; the resultant is the drastic reduction in wages and losses which will undoubtedly dovetail into more profits. Thus automatic system supports lean manufacturing where customers are satisfied at low and affordable cost [1]. The aforementioned is made possible by continuous improvement in design techniques and ingenuous usage of electronics components and building blocks. Microcontrollers offer better solution, being computers on single chips; enable production of embedded smart systems which are prevalent everywhere today [2]. A designer just need to master it, learn their instruction sets and write codes that make them work.
  • 2.  ISSN: 2252-8814 Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84 78 This project will allow the level of water in a tank to be maintained automatically, that is, unattended to; it uses Arduino microcontroller, codes were written in order for it to perform as water level controller. 2. METHODOLOGY The tasks to be performed were listed while flowchart for the design was drawn. Input pins hosting three float switches were connected to Arduino pins 1 to 3 using pull down 10k resistors. Four LEDs level indicators indicating “Water Level Very High, High, Low, and Very Low” were connected to Arduino pins 9, 8,7and 6 respectively. IF statements were in the codes. The project was simulated using Proteus while the implementation was done on breadboard. An LCD displaying water levels was included using six Arduino pins. An option of I2C LCD was included thus enabling only two analog pins A4 and A5 to be engaged; where A4 is connected to SDA and A5 to SCL , that is, i2C data and clock respectively [3]. 2.1. System’s flowchart Algorithms that explain the sequence of operations and steps for the design were written thus enabling the diagrammatical representation of flow of process through the agency of flowcharting [4]. This approach simplifies the writing of system’s codes (Figure 1). Stop Start Read kpinF, kpinM, kpinL False False True LEDvl =ON,LEDl=OFF LEDh=OFF, LEDvh=OFF,PUMP=ON Print Water Level,VERY LOW PUMP ON True LEDvl =ON,LEDl=ON LEDh=OFF, LEDvh=OFF, PUMP=ON Print Water Level: LOW If valf =LOW &valm=LOW & vall=LOW If valf =LOW &valm=LOW & vall= HIGH False True LEDvl =ON,LEDl=ON LEDh=ON, LEDvh=OFF, PUMP=ON Print Water Level: HIGH True LEDvl =ON,LEDl=ON LEDh=ON, LEDvh=ON, PUMP=OFF Print Water Level: VERY HIGH PUMP OFF If valf =LOW &valm=HIGH & vall=HIGH If valf =HIGH &valm=HIGH & vall= HIGH False Figure 1. Flow chart Step 1: Read the digital values (HIGH, +5V or LOW, 0V) at microcontroller pins kpinF, kpinM and kpinL and store their values at valf, valM and vall respectively. (F, M and L represent Full, Medium and Low respectively).
  • 3. Int J Adv Appl Sci ISSN: 2252-8814  Design, simulation and implementation of an arduino (Akinwole OO) 79 Step 2: If valf, valm and vall have LOW (0V) values, Light Emitting Diodes LEDs LEDvl ON (lit), LEDl OFF, LEDh OFF, LEDvh OFF; Water Pump Switched ON, Print on LCD “Water Level: VERY LOW PUMP ON” else go to step 3. (vl, l, h, vh represent very low, low, high and very high respectively). Step 3: If valf and valm are LOW (0V) values and vall HIGH, Light Emitting Diodes LEDs LEDvl ON (lit), LEDl ON, LEDh OFF, LEDvh OFF; Water Pump ON, Print on LCD “Water Level: LOW PUMP ON” else go to step 4. Step 4: If valf LOW while valm and vall HIGH (+5V), Light Emitting Diodes LEDs LEDvl ON (lit), LEDl ON, LEDh ON, LEDvh OFF; Water Pump ON, Print on LCD “Water Level: HIGH PUMP ON” else go to step 5. Step 5: If valf, valm and vall are HIGH (+5V), Light Emitting Diodes LEDs LEDvl ON (lit), LEDl ON, LEDh ON, LEDvh ON; Water Pump switch OFF, Print on LCD “Water Level: VERY HIGH PUMP OFF”. 2.2. Arduino uno microcontroller A Microcontroller can be referred to as a computer on a chip. It parades input and output pins. Unlike a Microprocessor, it includes processor with memory location for storing programs written in C language [5]. Arduino Uno board, Figure 2, has an Atmega 328 on it as the main Microcontroller. Using this unit does not require extra money for a Programmer. Codes or sketches and compilations are done on its Integrated Development Environment IDE This advantage makes prototyping of embedded system easier by engineers and electronic systems enthusiasts. The board has six (A0 to A5) analog inputs to handle analog signals and fourteen I/O pins for input and output functions [4]. Figure 2. Arduino uno board 2.3. Design of a relay controlling switch Transistor works as a switch when it is operated at its extreme regions, that is, at cut-off and saturation [6] At saturation, Common-Emitter Voltage, VCE =0; and Collector Current IC = 𝑽 𝑪𝑪 𝑹 𝑪 As shown in Figure 3. Figure 3. A transistor switch While at cut-off, Collector Supply VCC is equal to Collector Emitter Voltage VCE (VCE = VCC) and IC = 0. Using Kirchhoff’s Voltage Law in the collector circuit (1), 𝑉𝐶𝐶 = 𝐼𝐶 𝑅 𝑟𝑒𝑙𝑎𝑦 + 𝑉𝐶𝐸 (1) Using a switching and linear amplification transistor 2N2222, +Vcc 0V Rrelay1N4001 Controls Pump starter and alarm RB
  • 4.  ISSN: 2252-8814 Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84 80 IC max = 800mA at IC= 150mA, VCE = 10V while hFE min =100 and hFEmax = 300 [7] VHIGH = VCC = 9V, Rrelay = 400 Ω, hFE= 100, Relay operating voltage = 9V By using 300Ω, IC = 𝑽 𝑪𝑪 𝑹 𝒓𝒆𝒍𝒂𝒚 = 9 400 = 22.5mA Base current, 𝐼 𝐵 = 𝐼 𝐶 ℎ𝐹𝐸 = 22.5𝑚𝐴 100 = 0.23mA For saturation, IB> 0.23mA. Let IB = 2.5mA. Arduino VHIGH = 5V, VBE = 0.7V RB = 𝑉 𝐻𝐼𝐺𝐻−𝑉 𝐵𝐸 𝐼 𝐵 = 5−0.7 2.5𝑚𝐴 4.3 3𝑚𝐴 = 1720Ω Preferred Value = 1.5kΩ 2.4. The system’s codes The system’s codes below were punctuated with comments thereby given clear understandings of the application of Arduino microcontroller’s syntax in one hand and providence of needed assistance in future software improvements. In order to write to the LCD, 4 bits mode was adopted in which LCD’s D4-D7 are engaged (figure 4). The syntax is LiquidCrystal lcd (RS, EN, D4, D5, D6, D7), in this case: LiquidCrystal lcd (4,5,10,11,12,13) are connected to RS, EN, D4, D5, D6 and D7 respectively [4]. #include <LiquidCrystal.h> #include <Wire.h> LiquidCrystallcd (4,5,10,11,12,13); int kpinF=1; // pin 1 is set as water full sensor pin int kpinM=2;// pin 2 is set as water medium level sensor pin int kpinL=3;// pin 3 is set as water low level sensor pin int MotorBuzzer=0; // pin 0 is set as water pump and buzzer drive pin int LEDvh=9; // pin 9 is set as Very High water level indicator pin int LEDh=8; // pin 8 is set as High water level indicator pin int LEDl=7; // pin 7 is set as Low water level indicator pin. int LEDvl=6;//pin 6 is set as Very Low water level indicator pin. int valf=0;//The value of the memory location sensing Full water level initialized to zero int valm=0;// The value of the memory location sensing Medium water level initialized to zero int vall=0;// The value of the memory location sensing Low water level initialized to zero void setup() { lcd.begin(16,2); // for 16 X 2 LCD module lcd.setCursor(0,0); lcd.print("AUTO WATER LEVEL"); lcd.setCursor(0,1); lcd.print(" CONTROLLER"); delay(1000); pinMode(kpinF, INPUT);//kpinF set as Input pin pinMode(kpinM, INPUT);//kpinM set as input pin pinMode(kpinL, INPUT);// kpinL set as input pin pinMode(LEDvh, OUTPUT);//LEDvh set as output pin pinMode(LEDh, OUTPUT);// LEDh set as output pin pinMode(LEDl, OUTPUT);// LEDl set as output pin pinMode(LEDvl, OUTPUT);// LEDvl set as output pin pinMode(MotorBuzzer, OUTPUT);// MotorBuzzer set as output pin } void loop() { valf=digitalRead(kpinF);// Read kpinF and store the digital value in valf valm=digitalRead(kpinM); // Read kpinM and store the digital value in valm vall=digitalRead(kpinL);// Read kpinL and store the digital value in vall if((valf==LOW)&&(valm==LOW)&&(vall==LOW)) { digitalWrite(LEDvl, HIGH); digitalWrite(LEDl, LOW); digitalWrite(LEDh, LOW); digitalWrite(LEDvh, LOW);
  • 5. Int J Adv Appl Sci ISSN: 2252-8814  Design, simulation and implementation of an arduino (Akinwole OO) 81 digitalWrite(MotorBuzzer, HIGH); lcd.clear(); lcd.setCursor(0,0); lcd.print("WATER LEVEL"); lcd.setCursor(0,1); lcd.print("VERY LOW PUMP ON"); delay(500); } if((valf==LOW)&&(valm==LOW)&&(vall==HIGH)) { digitalWrite(LEDvl, HIGH); digitalWrite(LEDl, HIGH); digitalWrite(LEDh, LOW); digitalWrite(LEDvh, LOW); lcd.clear(); lcd.setCursor(0,0); lcd.print("WATER LEVEL"); lcd.setCursor(0,1); lcd.print("LOW"); delay(500); } if((valf==LOW)&&(valm==HIGH)&&(vall==HIGH)) { digitalWrite(LEDvl, HIGH); digitalWrite(LEDl, HIGH); digitalWrite(LEDh, HIGH); digitalWrite(LEDvh, LOW); lcd.clear(); lcd.setCursor(0,0); lcd.print("WATER LEVEL"); lcd.setCursor(0,1); lcd.print("HIGH"); delay(500); } if((valf==HIGH)&&(valm==HIGH)&&(vall==HIGH)) { digitalWrite(LEDvl, HIGH); digitalWrite(LEDl, HIGH); digitalWrite(LEDh, HIGH); digitalWrite(LEDvh, HIGH); digitalWrite(MotorBuzzer, LOW); lcd.clear(); lcd.setCursor(0,0); lcd.print("WATER LEVEL"); lcd.setCursor(0,1); lcd.print("VHIGH PUMP OFF"); delay(500); } } 2.5. Codes using I2C In order to employ i2C configuration and benefit from its gain, the above code can be modified by including its code using #include<LIquidCrystal_I2C.h> and LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7); 0x3F is the address of the i2C module [4]. Other syntax should be noted. The void () loop codes which the Arduino executes continuously remain the same as in the section above. #include <LiquidCrystal_I2C.h> #include <Wire.h> LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7); int kpinF=1; // pin 1 is set as water full sensor pin int kpinM=2;// pin 2 is set as water medium level sensor pin int kpinL=3;// pin 3 is set as water low level sensor pin int MotorBuzzer=0; // pin 0 is set as water pump and buzzer drive pin int LEDvh=9; // pin 9 is set as Very High water level indicator pin int LEDh=8; // pin 8 is set as High water level indicator pin int LEDl=7; // pin 7 is set as Low water level indicator pin. int LEDvl=6;//pin 6 is set as Very Low water level indicator pin. int valf=0;//The value of the memory location sensing Full water level initialized to zero int valm=0;// The value of the memory location sensing Medium water level initialized to zero
  • 6.  ISSN: 2252-8814 Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84 82 int vall=0;// The value of the memory location sensing Low water level initialized to zero void setup() { lcd.begin(16,2); // for 16 X 2 LCD module lcd.setBacklightPin(3,POSITIVE); lcd.setBacklight(HIGH); lcd.setCursor(0,0); lcd.print("AUTO WATER LEVEL"); lcd.setCursor(0,1); lcd.print(" CONTROLLER"); delay(1000); pinMode(kpinF, INPUT);//kpinF set as Input pin pinMode(kpinM, INPUT);//kpinM set as input pin pinMode(kpinL, INPUT);// kpinL set as input pin pinMode(LEDvh, OUTPUT);//LEDvh set as output pin pinMode(LEDh, OUTPUT);// LEDh set as output pin pinMode(LEDl, OUTPUT);// LEDl set as output pin pinMode(LEDvl, OUTPUT);// LEDvl set as output pin pinMode(MotorBuzzer, OUTPUT);// MotorBuzzer set as output pin } 2.6. Simulation using proteus The project was wired in Proteus [8] for simulation, (Figure 4). Proteus is a simulation and design software developed by labcenter electronics [9]. Single pole single throw switch was employed to represent float switches sensing low, medium and full water levels. They drive kpinL, kpinM and kpinF respectively. The pins are pull down using three 10kΩ resistors. A closed switch applies +5V across its respective pin. Figure 4. Simulation in proteus environment with general LCD connection 3. THE COMPLETE CIRCUIT Water sensors sensing Low, Medium and Full levels of water tank are connected to Arduino pins 1, 2 and 3 respectively. Pin 0 drives the water pump and buzzer while Light Emitting Diodes indicating Very Low (vl), Low(l), High(h) and Very High(vh) are connected to pins 6, 7, 8, and 9 respectively. Current flowing in the LEDs are minimized by connecting 220Ω resistors in series with them; As their cathodes are grounded (0V), the arrangement is active High, that is, when the conditions for any of the LED to be illuminated is met, its anode terminal connected to an Arduino pin goes High, thereby allowing current to flow through it, as shown in Figure 5. Input Pins (Sensors) are tied down using 10KΩ resistors; so +5VDC is connected through the float switches to each input pin. When the water level is below any switch, its contacts becomes opened, its Arduino pin sees 0V but as water reaches that float device the switch closes thus presenting +5V to its Arduino pin. The values in the pins are stored in valf (full), valm (medium) and vall (low) memory location.
  • 7. Int J Adv Appl Sci ISSN: 2252-8814  Design, simulation and implementation of an arduino (Akinwole OO) 83 digitalRead functions are used to read the values, if all the values are LOW, it means the water level is Very Low, Pin 0 that drives the water pump goes HIGH (+5V) The HIGH level drives a transistor switch [10] using a switching transistor 2N2222, Its Vcc is connected to the output terminal of a +9V fixed voltage regulator, LM7809. The base resistor 4.7Ω provides a potential difference in the base circuit which allows current to flow into the transistor. A transistor connected in common emitter configuration act as an Inverter [11], that is, +5V at the base produces 0V at the collector. Since a 9V relay with operating coil having ohmic (DC) resistance of 400Ω is the load, a 9V is effectively across the coil thus cause it to operate thereby closing its normally open contact which is wired in series with Electric pump control circuit. A piezoelectric device wired across the relay produces sound. A power diode 1N4001 acting as a suppression diode [11] connected across the relay protects the transistor against the back emf. As the level of the water in the tank rises with val, valm and valf become HIGH, all the LEDs are lit, Arduino pin 0 becomes 0V, the transistor switch cuts off, relay de-energizes, hitherto closed relay contact becomes opened thereby disengaging power into the water pump control circuit. The buzzer goes off. The Water Pump is automatically switched off. The LCD circuit uses the 12C module to reduce complexity of display circuit. Instead of using six Arduino I/O pins 4, 5, 10, 11, 12 and 13; only two analog pins A4 and A5 are used. They are connected to SDA and SCK respectively. The I2C module is soldered to the back of the 16 x 2 LCD unit. (Figure 6) Figure 5. Implementation on breadboard. water float switches are realised by closing successive contacts using wire jumpers. Figure 6. Working circuit for i2c lcd connection: the i2c backpack was soldered to the display while only 2 arduino pins were used.
  • 8.  ISSN: 2252-8814 Int J Adv Appl Sci, Vol. 9, No. 2, June 2020: 77 – 84 84 4. RESULTS The result has helped to solve problems of manual operations of water pumping system. It has also deviated from usage of PIC microcontrollers into trending Arduino platform. The result of implementation is shown in Figure 5; the HIGH (+5V) driving the buzzer and motor pump was represented by a blue LED, so when it is lit, the pump and buzzer were ON and vice versa, float switches were realized by manual closing of a set of four contacts. At Very Low water level, one LED was lit, at Low water level, two LEDs were ON, at High tank level, three LEDs were lit and at Very High tank level all the four LEDs were in ON positions; at this juncture, the water pump went off, indicated by the OFF blue LED. 5. CONCLUSION The paper has succeeded in highlighting the simplicity of using Arduino Microcontroller in the designs of Power Electronic systems. In order to prolong the life of the pump, a Direct- on-Line starter could be engaged in starting it. In this arrangement, an overload relay would be wired into the motor main circuit thus preventing overloads from burning its stator windings. The following recommendations are made: 1. The design can be improved by having means of sensing low water level in the sump to prevent the pump from running dry. 2. An inclusion of a well selected circuit breaker will protect the motor main circuit from short circuit. 3. To further protect the water pump, an overload relay and a phase failure relay can be included in the starter unit to protect it from single phasing, wrong phase sequence and power supply imbalance. REFERENCES [1] Reliable Plant, “Benefits of automation in lean manufacturing,” Retrieved from: fromwww.reliableplant.com/lean- manufacturing-automation, Accessed online 2019. [2] Bates, M.P., “Programming 8-bit PIC microcontrollers in C with interactive hardware simulation,” NewnessUSA, 2008. [3] Adafruit Learning System. I2C/SPI LCD Backpack. Retrieved online 2018 from www.learnadafruit.com/i2c-spi-lcd-backpack [4] Akinwole, OO, Oladimeji, TT. “Design and implementation of Arduino microcontroller based automatic lighting control with I2C LCD Display,” J. Electr Electron Syst, vol. 7, pp. 258, 2018. [5] Arduino Tutorialpoint, pp. 24-35, 2016, Retrieved online from www.tutorialpont.com, 2018. [6] Electronics Hub., “Transistor as Switch,” Retrieved from: www.electronicshub.org/transistor-as-switch/, Sep 2018. [7] Philips Semiconductors Datasheet on 2N2222 Switching Transistor, Retrieved from: www.semiconductors.philips.com, 2017. [8] Labcenter Electronics, Proteus User manual, Intelligent Schematic Input System, www.ele.uva.es, 2002 [9] Narasimha, R. “Proteus PCB Design and Simulation Software-Introduction”, www.circuittoday.com,2017 [10] Akinwole, OO, “Design and implementation of an electric cooker control as a means of preventing domestic fire incidence” Journal of Engineering Reaearch and Reports, vol. 4, no. 3, pp. 1-9, 2019. [11] Horowitz, P., Hill, W., The Art of Electroni.cs, Cambridge University Press, 1989.