3.1 Setting up Raspberry Pi OS and Reef Pi Software (cont.)
Updated 12/13/2020
On your Windows, Mac, or Linux main computer:
1.) Format an SD Card
-Download SD card formatter
-Format an SD card with formatter
2.) Download the Raspberry Pi “NOOBS” file
3.) Extract NOOBS file to formatted SD card
Setup Raspberry Pi OS:
4.) Insert SD card with “NOOBS” on it into Raspberry Pi and power the unit ON
5.) Select "Raspberry Pi OS Full" and click “install”.
(This takes about 15 minutes)
6.) Follow setup instructions when complete.
7.) Open Raspbian’s Wi-Fi settings and sign into your network (if not already done in initial setup)
8.) Update to newest OS version (if not already done in initial setup):
Open Raspbian terminal and perform:
-
sudo apt-get update -y
-sudo apt-get upgrade -y (this takes about 15 minutes)
9.) Set time zone (if not already done in initial setup) (this
Open Raspbian terminal and perform:
-
sudo raspi-config
-Select “Localisation Options” from the list
-Select “Change Timezone”
-Follow prompts to set the appropriate time zone
10.) Change password
(I had to do this even after doing it in setup):
-
passwd (stock password is "raspberry" so change to something
custom)
(note: you will not see characters as you are typing)
11.) Enable network time:
-
sudo systemctl start systemd-timesyncd
-
sudo systemctl enable systemd-timesyncd
Setup Raspberry Pi Modules:
12.) Activate ssh, i2c, uart, and 1-wire
Open Raspbian terminal and perform:
-
sudo raspi-config
-Select “Interfacing Options” from the list
-Select and
enable SSH, I2C, Serial (uart)
(if available), and 1-wire
13.) See
https://learn.adafruit.com/reef-pi-installation-and-configuration/raspberry-pi-configuration if you want to setup PWN (dimmer control) and temperature sensor
14.) Go BACK to the terminal and perform reboot:
-sudo reboot
Install Reef Pi:
10.) Open your web browser from the Raspbian desktop and navigate to
https://reef-pi.github.io
12.) Navigate to the “Guides” page ---> “Overview” page -----> Scroll down to the “Software installation & configuration”---> Select the "Configuration and Installation" section---> Scroll half way down and select "download the latest release of reef-pi" link---> and select the “release” linked text
13.) This will take you to the newest version of reef-pi where you will either copy the Pi Zero OR Pi 3
.deb link depending on which Raspberry Pi you have.
14.) Right click your version and select “copy link address”
15.) Download your reef-pi software. In the terminal type:
wget -c (right click and p
aste the copied link address starting with http...)
16.) Depackage the download. In the terminal type:
sudo dpkg -i reef-pi-4.0-pi3.deb
-Notice how I highlighted "4.0" and "pi3". 4.0 represents the version and Pi3 represents that it is for the Pi 3. You will need to have the correct characters matching your download.
Fix it to whatever your download version was. Mine just happened to be version 4.0 and I have a Pi3.
17.) Check that reef-pi is running by using the terminal command:
sudo systemctl status reef-pi.service
*Somewhere within the text it should include “
active (running)” if it is correct
18.) Find out your raspberry pi’s ip address
-Place the cursor over the “wifi” tab on the Raspbian desktop tool bar
-It will list your “wlan0” ports
-The first set of numbers you will copy. They should look something like “192.168.0.2/24”
-Type that numerical address in your Raspberry’s web browser bar
-Reef Pi’s “Sign In” screen should open
19.) Default reef-pi login username and password both is set as
reef-pi