Revolutionizing the Future of Hydroponics
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.
#screenshots
Screens Descriptions:
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.
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
- Open Terminal and navigate to the project folder
- 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
- To run the app on the Android simulator, open a command prompt window and navigate to the project folder
- 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)
- Username : lamberttest@gamil.com
- Password : lambert123
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
- Open Terminal and navigate to the project folder
- 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
To learn more about the app visit: https://2020.igem.org/Team:Lambert_GA/Software#agroQ