Salah UddinSabiha SultanaIoT-Bangladesh
Published © LGPL

Aquaculture Monitoring System (powered by Helium network)

A system based on Lora Network for monitoring the fish farm for better production.

IntermediateFull instructions provided18 hours3,246
Aquaculture Monitoring System (powered by Helium network)

Things used in this project

Hardware components

Adafruit Waterproof DS18B20 Digital temperature sensor
Adafruit Waterproof DS18B20 Digital temperature sensor
×1
Turbidity Sensor, Phototransistor Output
Turbidity Sensor, Phototransistor Output
×1
Gravity: Analog Dissolved Oxygen Sensor / Meter Kit For Arduino
DFRobot Gravity: Analog Dissolved Oxygen Sensor / Meter Kit For Arduino
×1
Consumer Grade pH Probe
Atlas Scientific Consumer Grade pH Probe
×1
Helium Developer Kit
Helium Developer Kit
×1

Software apps and online services

Arduino IDE
Arduino IDE
Cayenne
myDevices Cayenne

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)
10 Pc. Jumper Wire Kit, 5 cm Long
10 Pc. Jumper Wire Kit, 5 cm Long
Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

circuit

Code

test source

Arduino
#include "LoRaWAN.h"
#include <f401reMap.h>

const char *devEui = "FILL_ME_IN";
const char *appEui = "FILL_ME_IN";
const char *appKey = "FILL_ME_IN";

float ph =  pinMap(1);
float temp =  pinMap(11);
float DO = pinMap(12);
flaot tur =  pinMap(13);
float sal =  pinMap(16);




// Max Payload 53 Bytes for DR 1
const uint8_t payload[] = "";

void setup( void )
{
    Serial.begin(9600);
    
    while (!Serial) { }

    // US Region
    LoRaWAN.begin(US915);
    // Helium SubBand
    LoRaWAN.setSubBand(2);
    // Disable Adaptive Data Rate
    LoRaWAN.setADR(false);
    // Set Data Rate 1 - Max Payload 53 Bytes
    LoRaWAN.setDataRate(1);
    // Device IDs and Key
    LoRaWAN.joinOTAA(appEui, appKey, devEui);

    Serial.println("JOIN( )");
    
    
   pinMode(DO, INPUT);
   pinMode(sal, INPUT);
   pinMode(temp, INPUT);
   pinMode(tur, INPUT);
   pinMode(ph, INPUT);
}

void loop( void )
{
    if (LoRaWAN.joined() && !LoRaWAN.busy())
    {
      
      analogRead(DO);
      analogRead(sal);
      analogRead(temp);
      analogRead(tur);
      analogRead(ph);
      
      payload[] = (analogRead(DO) + analogRead(sal) +  analogRead(temp) +    analogRead(tur) +   analogRead(ph));
      
        // Send Packet
        LoRaWAN.sendPacket(1, payload, sizeof(payload));
    }

    delay(20000); //20 Seconds
}

Credits

Salah Uddin

Salah Uddin

44 projects • 148 followers
Technology and IoT Hacker, Robot Killer and Drone lover.
Sabiha Sultana

Sabiha Sultana

5 projects • 12 followers
IoT-Bangladesh

IoT-Bangladesh

19 projects • 49 followers

Comments