Skip to content

Agro-Q is a mobile app used to monitor a hydroponics system wirelessly

License

Notifications You must be signed in to change notification settings

igemsoftware2020/Agro-Q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebase


Logo

Agro-Q

Revolutionizing the Future of Hydroponics

Table of Contents

Logo

Overview

The Agro-Q mobile app has a wide variety of features that allow users to maintain their hydroponics system. Users can view sensor data of pH, water temperature, CO2, atmospheric temperature, and light intensity, via the app, and analyze the plant growth. The Agro-Q app allows collaboration among the user by sharing their specific hydroponics setups through the google maps in the app.

Screens

#screenshots

Screens Descriptions:


appscreen1

appscreen2

appscreen3

appscreen4

appscreen5

appscreen6

appscreen7

DataFlow

Once the data is collected from the sensors, the data is sent to the Raspberry Pi using a serial connection. Using the Raspberry Pi’s internet connection, the data is then sent to the Firebase Cloud Server to be stored in a non-sql database. The data is then read from the database and displayed in the Agro-Q app for users to monitor their hydroponics system.

dataflow

Installation

Agro-Q uses React Native . First, install the React Native CLI using the instructions at https://reactnative.dev/docs/environment-setup. Select the “React Native CLI Quickstart” option and your desired platforms and complete the installation with the instructions provided.

Download the project files to your computer

Mac - Android or iOS

  1. Open Terminal and navigate to the project folder
  2. To run the app on the iOS Simulator, Xcode must be installed with a valid signing profile. Enter the following command in the terminal:
npx react-native run-ios

Run the app on the iOS Simulator by opening the .xcworkspace file and clicking the play button at the top of the screen. To run on a physical iOS device, plug the device into the Mac and choose the device from the dropdown menu at the top of the screen.

To run on an Android simulator, simply use the following command or open Android Studio and run the app manually.

npx react-native run-android

Windows - Android

  1. To run the app on the Android simulator, open a command prompt window and navigate to the project folder
  2. Run the following command:
npx react-native run-android

To run on a physical Android device, plug in the device into the computer and use Android Studio to manually run the app onto the device.

Note to user:

  • app currently optimized for android
  • Data uploads to the app between 5sec -1min
  • Sometimes data may not update properly so restart the app and run again

Login info for test account: (create user will be created in future version)

Testing

Download the code from this repository to run a node js server to update values on the app: https://github.com/VarunSendilraj/testingagro-q/tree/main

Run

  1. Open Terminal and navigate to the project folder
  2. To run the server, enter the following command in the terminal:
npm install

To start the server run the following command in the terminal:

npm start

To update the data values type the values in the following link

http://localhost:3000/sendData/temp,Ph,light,co2,waterTemp,humidity

Contact

varunsendil2003@gmail.com

To learn more about the app visit: https://2020.igem.org/Team:Lambert_GA/Software#agroQ