License: This is an open accessĀ protocolĀ distributed under the terms of theĀ Creative Commons Attribution License, Ā which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: June 26, 2021
Last Modified: February 28, 2025
ProtocolĀ Integer ID: 51088
Abstract
This protocol guides you through the installation of a swarm of raspberry Pis
Guidelines
Setup only 1 Rpi at a time to be able to identify the IP address
Put together all the parts
Put together all the parts
Read the paper here:
Order Parts:
parts list.xlsx
add power strips,
Put together RPi parts:
Connect RPi to NoIR Camera using the 2 ft flat connector (Blue tab on the side of the black connector)
Connect the PoE HAT to the RPi
Connect the RPi to Ethernet cable
Connect Ethernet cable to the Ethernet Switch
Install the IR Lights on the top of the cages using the Med Associates screws and plug it to 12V adapter
PS: if you need first to reconnect with the pi use ssh, if not just use nano
Command
ssh pi@10.1.1.64
nano ./recordVideo.sh
original file
Add the Box number to the file after every $1_ (example : Box11) and change the parameters:
box# there are 5 places to put the Box# nanfter the $1_... two in the line that starts with 'raspivid' (NOTE THERE IS 1 AFTER GREYWORLD YOU MAY BEED TO ENLARGE THE SCREEN, twice in the line that starts with MP4Box, once in the line that starts with sshpass and once in the line with rm
-br 55
-w 800
-h 600
Type Ctrl+X to exit and Save the file Y
Type Enter to rewrite the file
Modify the RPI Hostname
Command
sudo raspi-config
Change the Hostname to something like Set1110Box11
Modify the .bashrc file to change the directory where the files are saved
Command
nano .bashrc
Command
sudo reboot
Add the Pi to the Alias on the .bashrc file of the MiniPC
start terminal
Command
nano .bashrc
Add the latest RPi to the list on the line that starts with alias