Software Installation

Things Needed

  • An account created on FarmSignal with a plant added.

    • You will need to both create an account and add a plant to your account in order to get started.

  • Micro SD card (8gb minimum)

    • Optional: Make sure the SD card has fast read and write speeds.

    • If you’re unsure about what micro SD card to choose, you can read this.

Start

  1. Create an account on FarmSignal and add a plant.

Navigation steps.
  1. Back up your data from the micro SD card you plan on using then reformat it.

  2. Flash the official Raspberry Pi OS onto the SD card.

  • If you already have the Raspberry Pi OS installed on the micro SD card, you can skip to step 3.

  • If you’re not sure about how to flash the Raspberry Pi OS onto the micro SD card, you can follow these steps here.

  • Tip: We recommend using Balena Etcher to flash the Raspberry Pi OS onto the micro SD card.

  1. Once you’re logged in and at the Desktop, open the terminal and update the system using sudo apt-get update and sudo apt-get upgrade

Navigation steps.
Navigation steps.
  1. Once you finish updating and installing updates, navigate to the Raspberry Pi Logo, click it, then hover over Preferences and click on Raspberry Pi Configuration

Navigation steps.
  1. Once the Raspberry Pi Configuration menu pops up, go ahead and enable “SSH”, “i2c”, and “Remote GPIO” and then click ok to confirm your changes.

  • Note: You may be required to restart once you confirm your changes, if prompted to do so go ahead and restart your Pi.

Navigation steps.
  1. Go to the FarmSignal GitHub and under releases, download the latest release.

Navigation steps.
  1. Unzip the file you just downloaded on your Desktop.

Navigation steps.
  1. Double-click the folder you just extracted to go inside of it and navigate to the Pi folder and go inside of it.

Navigation steps.
  1. Once you’re inside of the Pi folder, right click inside of it and bring up the terminal.

Navigation steps.
  1. Once you bring up your terminal, run the following command to install some Python depedencies needed for FarmSignal to function properly.

  • Run the command pip3 install adafruit-circuitpython-dht

Navigation steps.
  • Run the command sudo apt-get install libgpiod2

Navigation steps.
  1. Now open the FarmSignal/Pi folder and give the file calibration.py executable permissions with the chmod command.

  • Open a new terminal window and navigate to the FarmSignal/Pi directory with the following command cd ~/Desktop/FarmSignal/Pi

Navigation steps.
  • Give the calibration.py file executable permissions with the following command chmod +x calibration.py

Navigation steps.
  1. Start the FarmSignal application by running the following command python3 app.py

Navigation steps.
  1. Follow the instructions as they appear on the terminal.

Navigation steps.
Navigation steps.
Navigation steps.
Navigation steps.
Navigation steps.
  1. Head over to the FarmSignal web app and click on the plant you decided to connect the Raspberry Pi to and you should see some data appear.

Navigation steps.
  1. Enjoy!