Project in progress
Modified  Aquariumatic Management System (AMS IoT App)

Modified Aquariumatic Management System (AMS IoT App) © CERN-OHL

IoT app to monitor and control intelligently the fishing farms by using Arduino as a main controller!

  • 4,093 views
  • 0 comments
  • 6 respects

Components and supplies

Necessary tools and machines

About this project

The objectives of this thesis are to design and fabricate a low cost and longer life span Aquariumatic Management System. This AMS is designed to monitor, control all sensors and control nodes and to dispense food into the aquarium at a particular time each day. In this project, concepts are generated through the research on the existing fisheries in Gaza Strip to improve its techniques and previous papers to improve its limitations. Internet of thing technology is used as the main mechanism to design this management system. To accomplish the factors of lost cost and longer life span, Arduino Boards with Blynk web server is used to transmit and receive any desired order, and making the desired automatic controlling and monitoring process over Ethernet cable by using Blynk Mobile App. In this concept, the fish feeder, sensors and relays are connected with the control Board by tiny cables. The user build easily the Blynk App to make such a control panel connected to Blynk server .This panel can read or write to the server, and then the server which has tags about each thing will make the wanted command to these things and reply to the user via the mobile App. The fish feeder and the emergency components are separated in the operations and are supplied by an internal rechargeable battery.

Watch what i did here !

Code

Blynk Server Code Arduino
  /*************
  
    The Islamic University of Gaza Faculty of Engineering
    Electrical Engineering Department 
    Aquariumatic management system (AMS - IoT App)

    A graduation project is submitted to the Electrical Engineering Department in partial fulfillment of the requirements for the degree of B.Sc. in Electrical Engineering!
    By : Basem M. Khalaf     basem.khalaf.1994@ieee.org
         Hazem E. Abu Taha
    Supervisor : Dr. Jawdat Abu Taha

    Gaza, Palestine 
    15 May 2017
    You can find more about this project , just click on the Link : 
    or you can contact with Basem by this email : basem.khalaf.1994@ieee.org
    
    Note :
    Typical Ethernet Module wiring would be:
 *  VCC -- 5V
 *  GND -- GND
 *  CS  -- D10
 *  SI  -- D11
 *  SCK -- D13
 *  SO  -- D12
 *  INT -- D2
 
 **************/
 
#define BLYNK_PRINT Serial           // Comment this out to disable prints and save space
#include <SPI.h>
#include <UIPEthernet.h>
#include <BlynkSimpleUIPEthernet.h>
#include <SimpleTimer.h>

                                     // You should get Auth Token in the Blynk App.
                                     // Go to the Project Settings (nut icon).
char auth[] = "ef83d5daf43e406987fca44a0a90015d";
#define echoPin 8                    // Echo Pin
#define trigPin 9                    // Trigger Pin
long duration, distance;             // Duration used to calculate distance
float temp;
int tempPin = 1;                     //analog pin 1
SimpleTimer  timer;                  // http://playground.arduino.cc/Code/SimpleTimer , simply how to use timer in your code to send data over time intervals !

    
void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  timer.setInterval(1500, sendUptime);                    //i removed L from 1000L! more time to send less flood on to Blynk server !
  timer.setInterval(1500, sendUpdestance);                // USonic sensor data sending!
  
                                                          //You can also specify server.
                                                          //For more options, see Boards_Ethernet/Arduino_Ethernet_Manual example
                                                          //Blynk.begin(auth, "blynk-cloud.com", 8442);
                                                          //Blynk.begin(auth, IPAddress(192,168,1,100), 8888);
}
 void sendUpdestance()               // shows the value temp on virtual pin 10
 {
  Blynk.virtualWrite(8, distance);                  
 }
                                     // that you define how often to send data to Blynk App.
 void sendUptime()
    {
                                                           // shows the value temp on virtual pin 10
      Blynk.virtualWrite(10, temp); 
    }

void loop()
{
  
  /* The following trigPin/echoPin cycle is used to determine the
 distance of the nearest object by bouncing soundwaves off of it. */ 
 digitalWrite(trigPin, LOW); 
 delayMicroseconds(2); 

 digitalWrite(trigPin, HIGH);
 delayMicroseconds(10); 
 
 digitalWrite(trigPin, LOW);
 duration = pulseIn(echoPin, HIGH);
 
 //Calculate the distance (in cm) based on the speed of sound.
 distance = duration/58.2;
 Serial.println(distance);
 delay(500);
 Blynk.run();                                              //Initiates Blynk server 
  timer.run();                                              // Initiates SimpleTimer
  temp = analogRead(tempPin);
  temp = (temp * 0.48828125)/100;
}

Custom parts and enclosures

sensors_hub-control_panel_nFQQtygrV2.pdsprj
sensors_hub-control_panel_nFQQtygrV2.pdsprj

Schematics

fish_feeder_controller_KRtcr83hv7.PNG
Fish feeder controller krtcr83hv7

Comments

Similar projects you might like

Android App-Based Home Automation System Using IOT

Project tutorial by Team Autoshack

  • 24,838 views
  • 17 comments
  • 75 respects

Smart Home Automation And Security System Using 1Sheeld

Project tutorial by Team SADEE

  • 5,509 views
  • 3 comments
  • 25 respects

IoT Blink - Getting started with IoT

Project showcase by AppShed Support

  • 2,026 views
  • 0 comments
  • 11 respects

IoT arduino ESP Garage Door opener (UD)

Project in progress by David Smerkous

  • 10,854 views
  • 6 comments
  • 16 respects

Cardiac Monitoring System - EKG

Project showcase by Zorzonel Vlad

  • 10,431 views
  • 7 comments
  • 34 respects

Smartwatch - Arduino LED Control

Project in progress by dspenas

  • 6,032 views
  • 7 comments
  • 24 respects
Add projectSign up / Login