Skip to content

lamewarden/RaPiD-boxes-software

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaPiD-chambers-software

Original publication - RaPiD-chamber: Easy to self-assemble live-imaging chamber with adjustable LEDs allows to track small differences in dynamic plant movement adaptation on tissue level

This project is designed to show how plants move in response to gravity or light. To accomplish this, a Raspberry PI3B+ computer and a Raspberry PiNoir v2 camera which is IR-sensitive were used. Illumination is set up with 12 infrared (IR) lights to prevent unwanted reactions from the plants. To create light stimuli for dark grown plants, Adafruit NeoPixel RGBW LED stripes with 60 LEDs per meter were used for both lateral and top-down illumination. The project also uses a WaveShare 4.3-inch TFT resistive display to create a graphical user interface for operation.

Contacts:

For support, address Ivan Kashkan [email protected]/[email protected]

Content of the repository:

1. General scheme

2. Detailed scheme of wiring

3. Files for the headless control via ssh

4. Files for GUI-based control;

5. Examples

6. Operating manual

Initial setup:

  1. Update packages: sudo apt-get install python3-pil python3-pil.imagetk
  2. Autohide top panel
  3. Remove mouse pointer from the top panel (unhides it automatically) sudo nano /etc/xdg/lxsession/LXDE-pi/autostart and comment @point-rpi line
  4. Select the lowest screen scaling
  5. sudo apt-get install screen
  6. (if needed)Upgrade Raspbian Stretch to Buster or Bullseye
  7. Enable automatic login Assuming your using the default username and password.
  • From the command line enter sudo raspi-config
  • Select Boot Options, Desktop/CLI, Console Autologin
  1. Install neopixel for python3: sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel sudo python3 -m pip install --force-reinstall adafruit-blinka
  2. Install the module of screen brightness control https://github.com/jakeh12/rpi-backlight rpi-backlight off rpi-backlight min and set the screen brightness to minimum

Headless mode (over SSH connection)

  1. Connect assembled RaPiD chamber to the local network (ideally over LAN cable);
  2. Setup SSH connection between your working station and the RaPiD chamber - official manual;
  3. Locate RaPiD-boxes_software folder to /home/pi/camera;
  4. Make both files in the RaPiD-boxes-software/terminal_interface/ folder executable by sudo chmod +x <filename>;
  5. Run launcher3.sh file.

GUI mode

  1. Locate RaPiD-boxes_software folder to /home/pi/camera;
  2. Make all *.py files in RaPiD-boxes-software/GUI/ executable by sudo chmod +x <filename>;
  3. Run intro_page.py file as root (unfortunatelly some libraries require superuser rights).

About

Script, controlling operation of the phenotyping boxes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published