bumblebox-example-for-github.mp4
average-distance-example-for-github.mp4
The BumbleBox is an open-source system for automated tracking and behavioral quantification of individual bumblebees that can be built using low-cost consumer components and DIY fabrication (i.e., 3D-printing and laser-cutting). Here we provide an integrated pipeline for data collection and analysis, including nest arena design, software for automated collection of video data, and the quantification of individual behavior. The BumbleBox system is designed to be (a) accessible, requiring no prior experience with programming or hardware design to operate; (b) scalable, allowing long-term, automated tracking across many units in parallel at low-cost; and (c) modular, allowing for flexible adoption to unique applications in bumblebees and other systems.
For more information and detail, see the BumbleBox preprint available here
Youtube link to the animations playlist here
See building instructions in a google document here
See tag printing instructions in a google document here
See instruction videos here The below steps 1-4 are walked through in the video tutorials
Installed using the following hardware:
- Rasbperry Pi 4b, 8GB RAM
- 32GB SanDisk Ultra SD card
- Monitor with HDMI
- HDMI to micro-HDMI cable
-
Download Debian Bookworm 64-bit OS onto your SD card using a computer with the Raspberry Pi Imager application (Download the application here: https://www.raspberrypi.com/software/)
-
Put the SD card into the Pi's SD card slot, hook the Pi up to a monitor via a micro-HDMI to HDMI cable, and power the Pi on - you should see the operating system load on the screen
-
You will need to create a username and password for the Raspberry Pi - IMPORTANT: use 'pi' for the username, and some password you'll remember
-
Change your computer hostname to " bumblebox-XX " ex. " bumblebox-01 " or " bumblebox-11 " if you don't know how to do this on the Raspberry Pi, see this video
-
Open a terminal window (look for a button on the top left of the screen that looks like a black box with a blue top and white text inside it showing '>_')
-
We're now going to install the required software to use the BumbleBox code. For each of the following commands, type the command (or copy and paste) into the terminal window, and then press enter. Once you enter the command, the computer may take some time to download the required software, and will show a lot of text on the screen. Wait for each command to finish running before attempting to run the next command.
pip3 install opencv-contrib-python --break-system-packagespip3 install pandas --break-system-packagespip3 install scipy --break-system-packagespip3 install python-crontab --break-system-packagespip3 install scikit-video --break-system-packagespip3 install dask --break-system-packagesAmazing! You have now downloaded all the necessary packages to run the BumbleBox on the Raspberry Pi.
6. Next, download the BumbleBox code onto your Raspberry Pi. To download the code, click the green 'Code' button on the main BumbleBox page and then press the 'Download Zip' button. After downloading the folder onto the Pi and unzipping it, you might want to put the folder onto the Pi's Desktop so you can access it easily.
Install labelling software (on a separate computer, not the Raspberry Pi - install instructions tested for Mac and Linux computers so far) - this is included in the software and setup section, but this will only be used after data is collected, so it does not need to be completed prior to using the BumbleBox.
The BumbleBox generates nest images daily that can be labelled in order to track different nest components, which can be useful for a variety of interesting research questions. To do this, we need to install the BumbleBox code and the labelling software we will use on a separate computer.
-
Install BumbleBox code onto your computer, in the same manner as above
-
Open a terminal window on your computer (try typing 'terminal' into your computer search bar to find it, or go to your applications page and search for the terminal app)
-
Type the following command to create what is called a virtual environment, which basically creates an isolated place on your computer to download software so that it won't potentially cause conflicts with other software on your computer. The virtual environment we're creating is called labelme, because we will be downloading software called labelme.
python3 -m venv labelme- Now we have to 'go into' the virtual environment that we've created, using this command:
source labelme/bin/activateYour terminal should now look something like this:
Now we're ready to install labelme! Run the following command in the same terminal window after entering the virtual environment:
pip3 install labelme

