-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up the Raspberry Pi
Good information on how to get started with a Raspberry Pi can be found here. If you use a fresh memory card, you can install the Raspberry Pi operating system via the Raspberry Pi Imager.
An excellent overview of examples for using the Rasperry Pi as a research tool and instructions on how to get started with the Pi, can be found here or in the associated paper by Jolle W. Jolles.
If you've just installed your Pi, change the password, allow SSH and enable the camera port.
You can do this by typing
sudo raspi-config
on the command line in the Pi.
Open the terminal on the Raspberry Pi and type the following commands:
-
You'll need to install PyQt5 to display the WormObserver graphical user interface.
sudo apt install python3-pyqt5 -
Download the WormObserver GUI. For this, your Pi needs to be connected to the internet.
We will need to download two files:
curl https://raw.githubusercontent.com/Fritze/WormObserver/master/PI/GUI/WormObserver_gui.ui -o WormObserver_gui.uicurl https://raw.githubusercontent.com/Fritze/WormObserver/master/PI/GUI/WormObserver.py -o WormObserver.py
You can also omit this step. In that case, make sure to tick the "Keep videos on raspberry pi" option. Files will remain on the Pi and you can transfer them manually.
(make sure to have enough space on your SD card)
In order for the WormObserver GUI to automatically send your files to a workstation for processing, you'll need to establish a ssh connection without password from your Raspberry Pi to your workstation. A good explanation about how to do this can be found here.
Type python3 WormObserver.py
This will start the graphical user interface:
Once you start your timelapse, all settings will be saved to a metadata file as .txt file.