Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 2.91 KB

README.md

File metadata and controls

66 lines (44 loc) · 2.91 KB

PeaPodOS

issuesopen issuesclosed opensource coffee 24/7 FLDSMDFR

A cloud-connected isolated and automated plant growth environment, able to generate any environment from a combination of independent environment parameters.

Designed as both a hassle-free food production system and a research tool for precise and distributed mapping of the plant-environment relationship.


Table of Contents


Background


Development

Production

Setting Up Raspberry Pi

The following are performed on a computer:

  1. Format a microSD card (>=4GB) with a single FAT partition.
  2. Download the Raspberry Pi Imager (Download).
  3. Flash the SD card with a Raspberry Pi OS Lite image.

Note: In Future, a custom PeaPod image will be released with steps 4-6 already complete.

  1. Plug in a keyboard and display, insert the microSD card, and power the Raspberry Pi device.

The following are performed on the Raspberry Pi:

  1. Login with the default username (pi) and password (raspberry).

  2. Execute sudo raspi-config and perform these steps to setup the Pi:

    1. System Options > Wireless Lan - Setup WiFi
    2. System Options > Hostname - Set a unique host name (e.g. john-peapod)
    3. System Options > Boot/Auto Login - Select Console Autologin
    4. Disable UART console
    5. Interface Options > Camera - Enable Camera
  3. Set up localization:

    1. Locale
    2. Timezone
    3. Keyboard

Note: In Future, step 8 will be automated at startup.

  1. Update Packages:

    1. sudo apt-get update
    2. sudo apt-get install nodejs npm
    3. sudo npm i -g @peapodtech/peapodos --save
  2. Import .env file with Firebase and auth keys (TBA), as well as the field SERIALPORT="/dev/ttyS0". This is the GPIO mini-UART on the Raspberry Pi Zero 2 W.

  3. Run the program by executing peapodos.