Skip to content

this project combines a server, Particle Photons, and the oculus rift to make program that allows someone to gather data about a plant which is then stored in a database and then transmitted to an VR application where the user can see a virtual representation in 3D space. This program uses the Arduino IDE along with Python, SQL and Unity

Notifications You must be signed in to change notification settings

chasebowlin/Virtual-Reality-plant-monitor

Repository files navigation

CROFT

  • Customizable, Remote, Oculus Rift, Farming, Tool.
  • A tool that takes the busy work out of monitoring plants. Implements several sensors on a wifi capable development board, a server that is connected to a database, and a virtual reality user interface where users can interact with the data
  • Contents

    1. Description
    2. Software Required for Use
    3. Compilation
    4. About

    Description

    This project was designed to take the busy work out of monitoring your plants' enviroment and tracking the history of how your plants have been doing. The idea stemed from the need to insure the best living conditions for plants without constant human interaction. By implementing technology, promoting a healthy environment for a plant(s) is much simpler even if the user does not have a green thumb.

    Another main idea for this project was to allow a user to keep track of multiple plants at once unlike many products on the market now that can only allow to see data about one plant by connecting to each device via bluetooth. The application gathers all the data from each of the different photons, which each photon represents one plant, into one place and is displayed in one easy to use user application. THis project was also designed to be far cheaper than the leading IoT plant monitoring devices.

    Three Major Components:

    The Photon
  • Arduino like development board with built in WiFi capabilities
  • DHT11 Sensor to measure temperature and humidity
  • Photoresistor to measure light intensity in lumens
  • soil moisture sensor
  • continously sends data about a plant's environment to the server
  • documentation about Particle Photon here
  • The Server
  • Python 3.6
  • creates and connects to a SQLite Database where all information about each photon and its sensor readings are stored
  • calculates the ephemiris of the Sun
  • runs in the background with any computer
  • The User Interface
  • runs on the Oculus Rift
  • built using the Unity Engine
  • a virtual reality environment where a user can see and interact with their plants and the data about them
  • Overall, This project is only a beginning of what could be accomplished. There will be more updates to come making this project larger and able to be used by more people. The next major update will come in the form of the user interface being able to work with Android via Google VR.


    Usage

    This documentation is for Windows users and there will be documentation later for Linux and Mac. All software needed to compile and run the code will be easily done via the download links provided

    Downloads

    Python 3.6 and PyCharm

    To compile and run the server code, I recommend using PyCharm as your main IDE which can be downloaded here. From within the PyCharm IDE, it is very strait forward to configure it with Python 3.6.

    Unity Editor

    You can download the Unity Editor from this link here. There are several assets that will needed to be downloaded to make sure the application can run. The first is the Graph And Chart Software published by Prousource Labs which can be found here. The next asset needed to be downloaded is Lowpoly Flowers by Chlyang which is found here. The last one is the Curved VR Keyboard by Handcrafted VR which from here

    Oculus Rift

    There are several things that you will need to download to use the Oculus Rift and Edit the code. Before you go to download the software to use the Oculus Rift, Follow this link to download the application that will check to see if your computer has the capabilities of running an Oculus Rift. compatability tool

    If your computer is capable of handling the Oculus Rift, then download the Oculus drivers from here. You will also need the Oculus Utilities for Unity which can be downloaded from here

    Compilation

    To run the code for the Particle Photon, go to build.particle.io and either create an account or sign in. After, just copy and paste the Photon code into the online Editor and flash your photon which will update the firmware.

    For the server code, just download the code from this repository and add it into the PyCharm IDE and press run.

    For the User interface, download all the prefabs, scenes, and scripts included in this repository and put them in the right folders. Open the scene in the Unity editor and include all the assets that were downloaded. Make sure that all scriptws and Game objects are linked correctly and run the scene.


    About

    This project was written using the Particle web IDE, PyCharm, and the Unity Editor including MonoDevelop. Classes used were Adafruit_DHT.h and all assets downloaded from the Unity Asset Store.

    Languages include:
  • C++ (for Arduino)
  • Python 3.6
  • SQL
  • C#
  • If you would like to use any of the code from this project, please annotate this as its origin.

    Authored by Chase Bowlin

    About

    this project combines a server, Particle Photons, and the oculus rift to make program that allows someone to gather data about a plant which is then stored in a database and then transmitted to an VR application where the user can see a virtual representation in 3D space. This program uses the Arduino IDE along with Python, SQL and Unity

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published