TODO
First, install Raspberry Pi OS (Buster lite) onto a microSD card.
You will need to perform setup using SSH, or with a mouse, keyboard and monitor. To use SSH without needing to enable it in the settings menu, just place an empty file named 'ssh' in the 'BOOT' volume:
- Insert the microSD card containing the Raspberry Pi OS installation into a Mac or PC.
- Open the 'BOOT' volume in My Computer (Windows), Files (Ubuntu) or Finder (macOS).
- Create a new text file and name it 'ssh'. On Windows, don't forget to remove the file extension (.txt).
- Alternatively in Linux or macOS cd to the 'BOOT' volume and run
touch ssh
- Unmount the microSD card and insert it into the Raspberry Pi.
- Plug the Raspberry Pi into your router using an Ethernet cable and power it on.
- Once it has booted, open your SSH compatible terminal program (PuTTy on Windows, or pretty much anything in macOS or
Linux) and run
ssh raspberrypi.local
(assuming that is the hostname of the Raspberry Pi of course).
From an SSH terminal:
- Run
sudo raspi-config
- If you want to use Wi-Fi, go to 'Localisation Options', then 'Enter WLAN Country' where you can select your country. HINT: United Kingdom is GB! Press Esc to return to the main menu then go to 'Network Options' > 'Wireless LAN' and enter your SSID (network name) and password.
- In 'Interfacing Options' enable SPI and I2C.
- Run
mkdir ~/work && cd ~/work
(You can actually put it in a different folder, but you'll need to perform an additional step if you do). - Download this software by running
git clone https://github.com/DesignSparkrs/RadioGlobe.git
- Run
cd RadioGlobe
- (If you cloned to a folder other than ~/work, then run
nano services/radioglobe.service
and change the paths on lines 5 and 17 accordingly. Repeat this innano services/streaming.service
) - Run
sudo ./install.sh
This will install all dependencies and install the service so that the radio automatically starts when the Raspberry Pi is powered on in the future.