-
Notifications
You must be signed in to change notification settings - Fork 0
Raspberry Pi Setup
The following details how to setup a Raspberry Pi 3 model B for use in Klogskabet's modules.
You’ll need:
- A Raspberry Pi + power supply
- A micro-SD card (min. 8GB)
- An SD-card reader
- An HDMI monitor + HDMI cable
- A USB keyboard
- Grab Raspbian Stretch Lite from raspberrypi.org
- Follow the installation guide to create a bootable SD card with Raspbian on it.
- Insert the SD card into the Raspberry Pi
- Connect the Raspberry Pi to the monitor
- Connect the Raspberry Pi’s power supply (it’ll turn on automatically)
Let the Raspberry Pi boot. Before long you should see the login prompt. The default username is pi
and the default password is raspberry
.
Once logged in, do some configuration of the Raspberry Pi:
- Type
sudo raspi-config
and press enter. - Use the arrow keys and enter to select and set/change the following options:
- The password (Important! The default password is the same for all Raspberry Pis ever, so it’s not exactly secret. Choose and set a custom password.)
- The internationalization/locale options (like timezone and keyboard layout)
- WiFi connection (if necessary - an alternative method for setting it up is provided below)
- Under Advanced, enable SSH so you can access the Pi over the local network (alternative method for enabling SSH is provided below)
- Pick "Finish" when you’re done, and you’ll be back to the terminal prompt.
You can check whether the Pi is online over WiFi by typing ifconfig
, pressing enter, and looking for an IP address by the wlan0
interface.
If you’d like to access the Pi over SSH, you can set up the SSH server to start automatically, by typing sudo touch /boot/ssh
and pressing enter.
After this, you should be able to access the Pi over your local network using ssh pi@<IP address of the Pi>
.
Follow these instructions
To set up the Raspberry Pi for use as an audio module, see the readme for the audio module software.
To use as a receipt printer module, see the readme for the receipt module software.