Giter VIP home page Giter VIP logo

eat-pi's Introduction

Extraterrestrial Automated Terrarium (EAT-PI)

University of South Florida 2021-2022

Electrical Engineering Senior Design


Created by:


Overview

Through the Florida Space Grant Consortium and collaboration with the National Aeronautical and Space Administration’s (NASA) Kennedy Space Center (KSC), this project provides a plant life sciences CubeSat research platform to study the effects of nutritious crop production in transit to lunar orbit.


Project Website

https://usfcsli.wixsite.com/home


Getting Setup

This project requires two main programs to be run in order for the EAT System to operate as intended.

Assuming the Raspberry Pi Zero 2 is already configured following the document "Pi Connections" found in the SharePoint.

Dependencies

The following packages and files are dependencies for eatMain.py

Local File

  • DF_Oxygen.py is a local library file that must be in the same directory

Packages

packages = [
    "sensor",
    "RPi.GPIO",
    "matplotlib",
    "numpy==1.20.0",
    "gpiozero",
    "pydrive"
]

Run the following setup script to install necessary packages and cleanup the GPIO pins.

python eatSetup.py

To operate EAT normally run:

python eatMain.py

Notes: This project uploads images and plots to Google Drive, you will need to re-download the client-secrets from the Project's Google Account before rerunning this code.

Following this page for Authentication: https://www.projectpro.io/recipes/upload-files-to-google-drive-using-python

Hint: You'll need to create the settings.yml file and download the client_secrets.json file


File Breakdown

  • breatheTest.py
    • Used for an experiment of the temperature/humidity sensor and oxygen sensor
  • breatheTest.txt
    • Results of the Breathe Test
  • calOxy.py
    • Used to calibrate the oxgyen sensor for it's very first time use, corrects the baseline per manufacturer specification
  • DF_Oxygen.py
    • Local File used to fetch oxygen data in the code from the manufacturer
  • eatMain.py
    • Main Script for operating the EAT System
  • eatMainReverse.py
    • Copy of Main Script for operating the EAT system pump in Reverse
  • eatSetup.py
    • Setup Script for initial turn-on of the EAT systme
  • motor_test.py
    • Testing the Stepper Motors
  • parseLog.py
    • Script for exporting TXT file to CSV for plotting in MATLAB from O2 Calibration
  • testKill.py
    • Script for testing Software Shutdown of Raspberry Pi
  • upload_log.py
    • Script to test uploading files to Google Drive

For questions or concerns on information found in this repository contact Noah Hamilton at [email protected]


eat-pi's People

Contributors

therealnoah avatar jhireland avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.