SlideShare une entreprise Scribd logo
1  sur  42
IOT Based Fish
Aquarium
Group Members
 Junaid Khan 15-EE-170
 Onib-ur-Rehman 15-EE-038
 Zafran Jalil 15-EE-174
 Sikandar Ali 15-EE-181
Supervisor
Dr Ashiq Hussain
Table of Content
 Problem Statement
 Introduction
 Objectives
 Components
 Block Diagram
 Methodology
 Calculations
 Results
 Problems Faced
 Future Work
 Conclusion
Problem Statement
• As the trend of keeping pets increases people
are keeping more animals at home.
• All of these animals require special care and
sometimes human cannot attend to their needs.
• Out of these animals, fish require the most care
because their environment is completely
different and maintaining these conditions is
very hard manually, so automating this process
will greatly reduce the fish death rate and will
create great convenience for the owners.
• This will also decrease the time for taking care
and can be controlled from anywhere, such as a
mobile phone or PC etc.
Introduction
The Internet of Things (IOT)
The Internet of Things (IOT), also called the
Internet of Everything or the Industrial
Internet.
It is a technology envisioned as a global
network of machines and devices capable of
interacting with each other.
IoT evolved from machine-to-machine (M2M)
communication without human interaction.
It refers to connecting a device to the cloud,
managing it and collecting data.
IoT applications
Objectives
Our project has following objectives to be
accomplished:
 To sense and control the water temperature.
 To monitor the water level of the aquarium.
 To automate the refilling and drainage systems of
aquarium
 To automatically feed the fishes at specific interval of
times.
 To check the purity of water by checking its pH.
 To transfer all the data to the internet.
 To make system capable of displaying and
monitoring sensor’s data online in real time.
 To display the useful data of aquarium on the
Components
 Arduino Mega 2560
 Esp 8266
 4 Relay module
 HC-SR04 Sensor
 pH Sensor
 Temperature Sensor
 DC Servo Motor
 Water Pumps
 Water Heater
 Water Filter
 Fan
 Connecting Wires
Arduino Mega 2560
 Arduino mega 2560 is a microcontroller it consists of
 16 analog , 54 digital and 15 PWM pins
 It has a crystal oscillator of 16MHz frequency
 It has a USB port
 An external DC power jack
 It will extract the data from sensor and perform necessary
actions .
 It will also send and receive the data from Esp 8266.
Esp 8266
 It plays an important role in IOT.
 It is a low cost wifi microchip which programmed
with Arduino .
 It gets the data from Arduino and sends it to Internet
using wifi.
 It has USB slot for uploading code.
 It hosts a web server to connect to internet to fetch
or upload data.
 It will receive the commands from Cayenne and
send signal to arduino to do respective
tasks.(Automatic feeding, water refilling & Draining)
HC-SR04
 It provides distance non-contact measurement function.
 It range is usually up to 50cm.
 It works on the principle of echo.
 Ultrasonic sensor needs 5V to operate.
 The transmitter transmits the wave and receiver gets it by
reflection from object or surface by measuring the
distance from emission to reflection.
 In our Project it will measure water level and feed level.
pH Sensor
 It is used to measure hydrogen ion activity in a
solution.
 Glass pH electrode is widely used in pH sensors
 The electrode we used is main reason of measuring
the acidity in a solution.
 It works on the principle of voltmeter and use
potential difference to check solution voltages and
compare them with existing ones.
 The ideal value for a solution should be pH=7 and if
it increases than it will a basic solution and if pH is
less than 7 then solution will be acidic.
Temperature Sensor
 Temperature sensors are usually thermocouple or
RTD.
 It is capable of monitoring water temperature.
 The resistance of thermistor decrease within
increase in temperature which gives the signals of
rise in temperature.
 It has 3 pins.
 It sense the temperature and sends the data to
arduino according to the sensed temprature
arduino takes action.
DC Servo Motor
 Its working principle is based on the applied
signal to the control pin.
 The principle behind it is Pulse Width
Modulation.
 The construction of servo motor is consisting
of DC motor and variable resistors with gear
mechanism.
 We have adjusted its rotating angle to be 90 so
that it pulls the feeding tray outwards.
 We have assigned a button on Cayenne web
page ,when we press the button servo motor
rotates and pulls the feeding try so that fish are
fed up.
4-Relay Module
 It is an Electro-mechanical relay
 It is used to derive load based on setting.
 It is connected with arduino board.
 Its Switches inside relay make it useful for
quick switching of load.
 According to the given signal it will turn
ON/OFF Motor M1,M2 ,Heater and Fan.
Water Heater
 It consists of rod with spiral type
resistive material.
 Heater is usually used to stable the
temperature inside the fish tank.
 It is connected to 4-Relay module
when temperature of water falls
below 20 degree Celsius then relay
will turn on heater so it will bring the
temperature back to the optimum
limit.
FAN
 It cools down temperature to certain
extend.
 It is Connected to 4-Relay module
whenever water temperature exceeds
28 degree Celsius the relay will turn on
the Fan and it will try to balance the
optimum temperature inside the
aquarium.
DC Water Pumps
 DC water pump consists of an inlet and an outlet
for extraction and refilling of water respectively.
 It is operated on voltage between 6 to 12 v DC
supply.
 Its flow rate is 10 liters per minute.
 We have used 2 pumps which are connected with
4-Relay module .
 One pump extracts impure water from the
aquarium and second refills the aquarium with
fresh water after sensing the pH.
 We have also used the buttons for
Auto Refilling and drainage system.
LCD Display
 This LCD consists of 20 characters wide 4 rows
with white text and blue background.
 It is used to display the results in digital form.
 It is connected with arduino and display output.
 It is powered by 5 v directly from arduino.
 It is connected with I2C module to minimize the
pins.
I2C Module
•I2C is inter integrated Circuit Module
•It Minimizes the pins
connected with LCD
•It has 4 input pins
(VCC ,GND ,SCL and SDA)
Block Diagram
Methodology
 We have interfaced the sensors with Arduino.
 Arduino senses the data from sensors and takes
necessary actions according to that.
 Arduino sends the data to module Esp 8266.
 Esp 8266 is a Wifi module which sends the data to
Cayenne.
 We have created remote controlled feeding system which
feeds the fish when button on Cayenne is pressed.
 We have created automatic remotely controlled refilling
and drainage system of water which can be controlled by
pressing buttons on the cayenne web page.
 The web application Cayenne my Devices makes graphs
and show real time feed as well.
 Data will also be displayed on an LCD on the aquarium
Calculations
Water Level/Feed Calculation:
 The distance to the liquid surface is based on
the speed of sound in air.
 This distance, D, is subtracted from the height
of the tank, H, to give the depth, L, of liquid. The
transmitter unit relays the level back to the LCD
display to give you the current depth of your
tank.
S = v * T/2
At sea level Speed of sound= v = 34300 cm/s
S = 17150 * Time (unit cm)
Feed Level Calculation
 We initially measured the total distance with a scale
11 cms.
 We wanted to take 4cm height as max so we
subtracted our empty container height from 4cm ,
which made it the 0% or 0cm level.
Speed of sound in air v= 340 m/s
Distance= v*(time/2)
h_f = (t_f*340)/20000
h_f = (h_f- 7) //Distance of ultrasonic sensor from bottom 100%
feed
h_f = 4 - h_f //Actual Height of feed
pH Sensor Calculation
To calculate pH value we will take the
average of almost 6 samples and then
multiplied it with transfer function then
we add some correction factors to get
accurate value of pH.
pH=avgValue*5.0/1024/6
phValue = 3.5* pHValue + 3.10
Design of Fish Feeder:
 We have constructed special mechanical design of
fish feeder which we mounted on the roof of
aquarium.
 The Feeder is made up of aluminum and has 3
layers.
 It has a capacity for storing feed in its box.
 Each layer has hole in it. With the help of flexible
wire the tray is connected with DC servo motor
which rotates 180 degree .
 Whenever we press button on Cayenne fish are fed
up.
 The tray is also connected with rubber band to
restore its original position.
Video Clip
Cayenne Website Setup
 Make an Cayenne Account by using
email.
 Add a controller or
device(Arduino,ESp8266)
 A user name password and MQTT pass
phrase will be provided to you.
 Add Buttons gadgets and other controls
by clicking the button ‘’Add widgets’’.
 Now We configured the button to be used
on arduino by assigning it a channel and
some other properties
 Now we adjusted the widgets according to
our preferences(size , and positions)
Cayenne Website Setup
 If you want to view the graphs you can
click the icons .
 You can also set a trigger which will
send you a message or email
notification.
STEPS TO CONNECT board with
Cayenne
 Install the Arduino IDE and add Cayenne
MQTT Library to Arduino IDE.
 Install the ESP8266 board package to
Arduino IDE.
 Install required USB driver on your
computer so you can program the
ESP8266.
 Connect the ESP8266 to your PC/Mac
via data-capable USB cable.
 In the Arduino IDE, go to
the tools menu, select your board, and
the port your ESP8266 is connected to.
Cayenne Display
Water Level
pH Sensor
Feed Level
Water Temperature
Results on LCD
Problems Faced
 Feed Design
At start we had designed wooden
feeder which was slightly heavy to pull of
so we redesigned feeder with aluminium,
now its free to move.
 pH Sensor Calibration
pH sensor’s values were not stable
they were continuously varying so we
recoded it to solve that issue.
Future Work
 A camera can be added which can
stream live video of the aquarium,
providing detailed knowledge of fish
growth and health
Conclusion:
The project was inspired by the idea , to
create a system that could automatically take
care of the fish and the ability to be able to
control these devices remotely over the Iot .
Now most of the operations happen by
themselves, maintaining steady pH, water
level, temperature.
Our project achieves ,simplicity ,efficiency
,time and cost saving .It serves as a way to
practically implement our skills to solve a real
world problem and to make a product.
IOT Based Fish Aquarium Monitoring and Feeding System

Contenu connexe

Tendances

Smart irrigation system using internet of things
Smart irrigation system using internet of thingsSmart irrigation system using internet of things
Smart irrigation system using internet of thingsBasavaraj Galagi
 
FYP PRESENTATION-ROOM MONITORING SYSTEM USING IOT
FYP PRESENTATION-ROOM MONITORING SYSTEM USING IOTFYP PRESENTATION-ROOM MONITORING SYSTEM USING IOT
FYP PRESENTATION-ROOM MONITORING SYSTEM USING IOTinrhumaira
 
Home security system using iot
Home security system using iotHome security system using iot
Home security system using iotMDMarufMF
 
IoT enabled automatic aquaponics system
IoT enabled automatic aquaponics systemIoT enabled automatic aquaponics system
IoT enabled automatic aquaponics systemNishmi Suresh
 
IoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart CitiesIoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart CitiesYogeshIJTSRD
 
Blind Navigation system
 Blind Navigation system Blind Navigation system
Blind Navigation systemNilesh Jha
 
Iot based water quality monitoring system
Iot based water quality monitoring systemIot based water quality monitoring system
Iot based water quality monitoring systemBinayakreddy
 
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
 
Water quality monitoring in a smart city based on IOT
Water quality monitoring in a smart city based on IOTWater quality monitoring in a smart city based on IOT
Water quality monitoring in a smart city based on IOTMayur Rahangdale
 
Movement Sensed Automatic Door Opening System
Movement Sensed Automatic Door Opening SystemMovement Sensed Automatic Door Opening System
Movement Sensed Automatic Door Opening SystemEdgefxkits & Solutions
 
Arduino based heartbeat monitoring system.
Arduino based heartbeat monitoring system.Arduino based heartbeat monitoring system.
Arduino based heartbeat monitoring system.Arkadeep Dey
 

Tendances (20)

Smart irrigation system using internet of things
Smart irrigation system using internet of thingsSmart irrigation system using internet of things
Smart irrigation system using internet of things
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
 
FYP PRESENTATION-ROOM MONITORING SYSTEM USING IOT
FYP PRESENTATION-ROOM MONITORING SYSTEM USING IOTFYP PRESENTATION-ROOM MONITORING SYSTEM USING IOT
FYP PRESENTATION-ROOM MONITORING SYSTEM USING IOT
 
Home security system using iot
Home security system using iotHome security system using iot
Home security system using iot
 
IoT enabled automatic aquaponics system
IoT enabled automatic aquaponics systemIoT enabled automatic aquaponics system
IoT enabled automatic aquaponics system
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
IoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart CitiesIoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart Cities
 
Eye directive wheel chair
Eye directive wheel chairEye directive wheel chair
Eye directive wheel chair
 
Pill camera presentation
Pill camera presentationPill camera presentation
Pill camera presentation
 
Eye directive wheel chair
Eye directive wheel chairEye directive wheel chair
Eye directive wheel chair
 
Blind Navigation system
 Blind Navigation system Blind Navigation system
Blind Navigation system
 
Iot based water quality monitoring system
Iot based water quality monitoring systemIot based water quality monitoring system
Iot based water quality monitoring system
 
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
 
Password Base Door Lock
Password Base Door LockPassword Base Door Lock
Password Base Door Lock
 
IOT PPT.pptx
IOT PPT.pptxIOT PPT.pptx
IOT PPT.pptx
 
An atm with an eye
An atm with an eyeAn atm with an eye
An atm with an eye
 
Water quality monitoring in a smart city based on IOT
Water quality monitoring in a smart city based on IOTWater quality monitoring in a smart city based on IOT
Water quality monitoring in a smart city based on IOT
 
Movement Sensed Automatic Door Opening System
Movement Sensed Automatic Door Opening SystemMovement Sensed Automatic Door Opening System
Movement Sensed Automatic Door Opening System
 
Arduino based heartbeat monitoring system.
Arduino based heartbeat monitoring system.Arduino based heartbeat monitoring system.
Arduino based heartbeat monitoring system.
 
Home automation using blynk
Home automation using blynkHome automation using blynk
Home automation using blynk
 

Similaire à IOT Based Fish Aquarium Monitoring and Feeding System

Automatic room temperature controlled fan using arduino uno microcontroller
Automatic room temperature controlled fan using   arduino uno  microcontrollerAutomatic room temperature controlled fan using   arduino uno  microcontroller
Automatic room temperature controlled fan using arduino uno microcontrollerMohammod Al Emran
 
Iot based acquaponic system (dsd)
Iot based acquaponic system (dsd)Iot based acquaponic system (dsd)
Iot based acquaponic system (dsd)fahima meem
 
INDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptx
INDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptxINDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptx
INDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptxHarshitChouhan30
 
Irrigation IoT G22222.ppt
Irrigation IoT G22222.pptIrrigation IoT G22222.ppt
Irrigation IoT G22222.pptWajdi Bellil
 
Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...IJAAS Team
 
Automatic tank level control using arduino mega converted
Automatic tank level control using arduino mega convertedAutomatic tank level control using arduino mega converted
Automatic tank level control using arduino mega convertedKunal Adhikari
 
IRJET- Smart Device to Control Water Billing Units
IRJET- Smart Device to Control Water Billing UnitsIRJET- Smart Device to Control Water Billing Units
IRJET- Smart Device to Control Water Billing UnitsIRJET Journal
 
MC SEMINAR.pptx
MC SEMINAR.pptxMC SEMINAR.pptx
MC SEMINAR.pptxMunishSmw
 
ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-ReportAhmad Faizan
 
IoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIJSRED
 
smart home automation system
smart home automation systemsmart home automation system
smart home automation systemMdSaifuddinQuader
 
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
 
Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266Rishav Pandey
 
IRJET- IoT based System for Smart and Secured Home
IRJET- IoT based System for Smart and Secured HomeIRJET- IoT based System for Smart and Secured Home
IRJET- IoT based System for Smart and Secured HomeIRJET Journal
 
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
 
Infrared Temperature Pen
Infrared Temperature PenInfrared Temperature Pen
Infrared Temperature PenCharlie Aylward
 

Similaire à IOT Based Fish Aquarium Monitoring and Feeding System (20)

Automatic room temperature controlled fan using arduino uno microcontroller
Automatic room temperature controlled fan using   arduino uno  microcontrollerAutomatic room temperature controlled fan using   arduino uno  microcontroller
Automatic room temperature controlled fan using arduino uno microcontroller
 
Smart aquaculture
Smart aquaculture Smart aquaculture
Smart aquaculture
 
Iot based acquaponic system (dsd)
Iot based acquaponic system (dsd)Iot based acquaponic system (dsd)
Iot based acquaponic system (dsd)
 
INDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptx
INDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptxINDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptx
INDIAN INSTITUTE OF INFORMATION TECHNOLOGY^J VADODARA INTERNATIONAL.pptx
 
Irrigation IoT G22222.ppt
Irrigation IoT G22222.pptIrrigation IoT G22222.ppt
Irrigation IoT G22222.ppt
 
Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...Design, simulation and implementation of an Arduino microcontroller based aut...
Design, simulation and implementation of an Arduino microcontroller based aut...
 
Automatic tank level control using arduino mega converted
Automatic tank level control using arduino mega convertedAutomatic tank level control using arduino mega converted
Automatic tank level control using arduino mega converted
 
IRJET- Smart Device to Control Water Billing Units
IRJET- Smart Device to Control Water Billing UnitsIRJET- Smart Device to Control Water Billing Units
IRJET- Smart Device to Control Water Billing Units
 
MC SEMINAR.pptx
MC SEMINAR.pptxMC SEMINAR.pptx
MC SEMINAR.pptx
 
ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-Report
 
IoT Based Solar Water Pump Controller
IoT Based Solar Water Pump ControllerIoT Based Solar Water Pump Controller
IoT Based Solar Water Pump Controller
 
smart home automation system
smart home automation systemsmart home automation system
smart home automation system
 
PID - Copy
PID - CopyPID - Copy
PID - Copy
 
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
 
Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266
 
K010316571
K010316571K010316571
K010316571
 
IRJET- IoT based System for Smart and Secured Home
IRJET- IoT based System for Smart and Secured HomeIRJET- IoT based System for Smart and Secured Home
IRJET- IoT based System for Smart and Secured Home
 
Ctara report
Ctara reportCtara report
Ctara report
 
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
 
Infrared Temperature Pen
Infrared Temperature PenInfrared Temperature Pen
Infrared Temperature Pen
 

Dernier

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSneha Padhiar
 
Theory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfTheory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfShreyas Pandit
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosVictor Morales
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier Fernández Muñoz
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organizationchnrketan
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTSneha Padhiar
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptNoman khan
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 

Dernier (20)

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
 
Theory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfTheory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdf
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptx
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organization
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).ppt
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 

IOT Based Fish Aquarium Monitoring and Feeding System

  • 2. Group Members  Junaid Khan 15-EE-170  Onib-ur-Rehman 15-EE-038  Zafran Jalil 15-EE-174  Sikandar Ali 15-EE-181 Supervisor Dr Ashiq Hussain
  • 3. Table of Content  Problem Statement  Introduction  Objectives  Components  Block Diagram  Methodology  Calculations  Results  Problems Faced  Future Work  Conclusion
  • 4. Problem Statement • As the trend of keeping pets increases people are keeping more animals at home. • All of these animals require special care and sometimes human cannot attend to their needs. • Out of these animals, fish require the most care because their environment is completely different and maintaining these conditions is very hard manually, so automating this process will greatly reduce the fish death rate and will create great convenience for the owners. • This will also decrease the time for taking care and can be controlled from anywhere, such as a mobile phone or PC etc.
  • 5. Introduction The Internet of Things (IOT) The Internet of Things (IOT), also called the Internet of Everything or the Industrial Internet. It is a technology envisioned as a global network of machines and devices capable of interacting with each other. IoT evolved from machine-to-machine (M2M) communication without human interaction. It refers to connecting a device to the cloud, managing it and collecting data.
  • 7. Objectives Our project has following objectives to be accomplished:  To sense and control the water temperature.  To monitor the water level of the aquarium.  To automate the refilling and drainage systems of aquarium  To automatically feed the fishes at specific interval of times.  To check the purity of water by checking its pH.  To transfer all the data to the internet.  To make system capable of displaying and monitoring sensor’s data online in real time.  To display the useful data of aquarium on the
  • 8. Components  Arduino Mega 2560  Esp 8266  4 Relay module  HC-SR04 Sensor  pH Sensor  Temperature Sensor  DC Servo Motor  Water Pumps  Water Heater  Water Filter  Fan  Connecting Wires
  • 9. Arduino Mega 2560  Arduino mega 2560 is a microcontroller it consists of  16 analog , 54 digital and 15 PWM pins  It has a crystal oscillator of 16MHz frequency  It has a USB port  An external DC power jack  It will extract the data from sensor and perform necessary actions .  It will also send and receive the data from Esp 8266.
  • 10. Esp 8266  It plays an important role in IOT.  It is a low cost wifi microchip which programmed with Arduino .  It gets the data from Arduino and sends it to Internet using wifi.  It has USB slot for uploading code.  It hosts a web server to connect to internet to fetch or upload data.  It will receive the commands from Cayenne and send signal to arduino to do respective tasks.(Automatic feeding, water refilling & Draining)
  • 11. HC-SR04  It provides distance non-contact measurement function.  It range is usually up to 50cm.  It works on the principle of echo.  Ultrasonic sensor needs 5V to operate.  The transmitter transmits the wave and receiver gets it by reflection from object or surface by measuring the distance from emission to reflection.  In our Project it will measure water level and feed level.
  • 12. pH Sensor  It is used to measure hydrogen ion activity in a solution.  Glass pH electrode is widely used in pH sensors  The electrode we used is main reason of measuring the acidity in a solution.  It works on the principle of voltmeter and use potential difference to check solution voltages and compare them with existing ones.  The ideal value for a solution should be pH=7 and if it increases than it will a basic solution and if pH is less than 7 then solution will be acidic.
  • 13. Temperature Sensor  Temperature sensors are usually thermocouple or RTD.  It is capable of monitoring water temperature.  The resistance of thermistor decrease within increase in temperature which gives the signals of rise in temperature.  It has 3 pins.  It sense the temperature and sends the data to arduino according to the sensed temprature arduino takes action.
  • 14. DC Servo Motor  Its working principle is based on the applied signal to the control pin.  The principle behind it is Pulse Width Modulation.  The construction of servo motor is consisting of DC motor and variable resistors with gear mechanism.  We have adjusted its rotating angle to be 90 so that it pulls the feeding tray outwards.  We have assigned a button on Cayenne web page ,when we press the button servo motor rotates and pulls the feeding try so that fish are fed up.
  • 15. 4-Relay Module  It is an Electro-mechanical relay  It is used to derive load based on setting.  It is connected with arduino board.  Its Switches inside relay make it useful for quick switching of load.  According to the given signal it will turn ON/OFF Motor M1,M2 ,Heater and Fan.
  • 16. Water Heater  It consists of rod with spiral type resistive material.  Heater is usually used to stable the temperature inside the fish tank.  It is connected to 4-Relay module when temperature of water falls below 20 degree Celsius then relay will turn on heater so it will bring the temperature back to the optimum limit.
  • 17. FAN  It cools down temperature to certain extend.  It is Connected to 4-Relay module whenever water temperature exceeds 28 degree Celsius the relay will turn on the Fan and it will try to balance the optimum temperature inside the aquarium.
  • 18. DC Water Pumps  DC water pump consists of an inlet and an outlet for extraction and refilling of water respectively.  It is operated on voltage between 6 to 12 v DC supply.  Its flow rate is 10 liters per minute.  We have used 2 pumps which are connected with 4-Relay module .  One pump extracts impure water from the aquarium and second refills the aquarium with fresh water after sensing the pH.  We have also used the buttons for Auto Refilling and drainage system.
  • 19. LCD Display  This LCD consists of 20 characters wide 4 rows with white text and blue background.  It is used to display the results in digital form.  It is connected with arduino and display output.  It is powered by 5 v directly from arduino.  It is connected with I2C module to minimize the pins.
  • 20. I2C Module •I2C is inter integrated Circuit Module •It Minimizes the pins connected with LCD •It has 4 input pins (VCC ,GND ,SCL and SDA)
  • 22. Methodology  We have interfaced the sensors with Arduino.  Arduino senses the data from sensors and takes necessary actions according to that.  Arduino sends the data to module Esp 8266.  Esp 8266 is a Wifi module which sends the data to Cayenne.  We have created remote controlled feeding system which feeds the fish when button on Cayenne is pressed.  We have created automatic remotely controlled refilling and drainage system of water which can be controlled by pressing buttons on the cayenne web page.  The web application Cayenne my Devices makes graphs and show real time feed as well.  Data will also be displayed on an LCD on the aquarium
  • 24. Water Level/Feed Calculation:  The distance to the liquid surface is based on the speed of sound in air.  This distance, D, is subtracted from the height of the tank, H, to give the depth, L, of liquid. The transmitter unit relays the level back to the LCD display to give you the current depth of your tank. S = v * T/2 At sea level Speed of sound= v = 34300 cm/s S = 17150 * Time (unit cm)
  • 25. Feed Level Calculation  We initially measured the total distance with a scale 11 cms.  We wanted to take 4cm height as max so we subtracted our empty container height from 4cm , which made it the 0% or 0cm level. Speed of sound in air v= 340 m/s Distance= v*(time/2) h_f = (t_f*340)/20000 h_f = (h_f- 7) //Distance of ultrasonic sensor from bottom 100% feed h_f = 4 - h_f //Actual Height of feed
  • 26. pH Sensor Calculation To calculate pH value we will take the average of almost 6 samples and then multiplied it with transfer function then we add some correction factors to get accurate value of pH. pH=avgValue*5.0/1024/6 phValue = 3.5* pHValue + 3.10
  • 27. Design of Fish Feeder:  We have constructed special mechanical design of fish feeder which we mounted on the roof of aquarium.  The Feeder is made up of aluminum and has 3 layers.  It has a capacity for storing feed in its box.  Each layer has hole in it. With the help of flexible wire the tray is connected with DC servo motor which rotates 180 degree .  Whenever we press button on Cayenne fish are fed up.  The tray is also connected with rubber band to restore its original position.
  • 29. Cayenne Website Setup  Make an Cayenne Account by using email.  Add a controller or device(Arduino,ESp8266)  A user name password and MQTT pass phrase will be provided to you.  Add Buttons gadgets and other controls by clicking the button ‘’Add widgets’’.  Now We configured the button to be used on arduino by assigning it a channel and some other properties  Now we adjusted the widgets according to our preferences(size , and positions)
  • 30. Cayenne Website Setup  If you want to view the graphs you can click the icons .  You can also set a trigger which will send you a message or email notification.
  • 31. STEPS TO CONNECT board with Cayenne  Install the Arduino IDE and add Cayenne MQTT Library to Arduino IDE.  Install the ESP8266 board package to Arduino IDE.  Install required USB driver on your computer so you can program the ESP8266.  Connect the ESP8266 to your PC/Mac via data-capable USB cable.  In the Arduino IDE, go to the tools menu, select your board, and the port your ESP8266 is connected to.
  • 32.
  • 39. Problems Faced  Feed Design At start we had designed wooden feeder which was slightly heavy to pull of so we redesigned feeder with aluminium, now its free to move.  pH Sensor Calibration pH sensor’s values were not stable they were continuously varying so we recoded it to solve that issue.
  • 40. Future Work  A camera can be added which can stream live video of the aquarium, providing detailed knowledge of fish growth and health
  • 41. Conclusion: The project was inspired by the idea , to create a system that could automatically take care of the fish and the ability to be able to control these devices remotely over the Iot . Now most of the operations happen by themselves, maintaining steady pH, water level, temperature. Our project achieves ,simplicity ,efficiency ,time and cost saving .It serves as a way to practically implement our skills to solve a real world problem and to make a product.