Skip to content

Configuring the Raspberry Pi

tlujan0001 edited this page Apr 12, 2020 · 2 revisions

You may want to add more programs to your Pi or have the DrinkBot do something more (adding lights, motors, sensors, etc. ). Here are some notes on getting into the Pi to get some more functionality.

  1. Set up your Wifi by entering the username and pw. There are several ways to do this, but the simplest is to connect a monitor and keyboard to your pi and enter them through the GUI. If you don't have this option, you can do this by altering the wpa_supplicant.config file on your sd card, details here.

How to connect to your Pi remotely (without connecting a monitor, keyboard, and mouse):

  1. There are two ways to connect to a Pi, through SSH or through VNC. SSH will allow you in via command line interface (text only) and VNC will allow you to use the Raspbian OS' GUI. Here are some tutorials on how to do this:

NOTE: In both cases you'll need to know your Pi's IP address. There's a useful app called 'Fing' that will scan for all devices on your network.

How to add more programs to the Raspbian OS

If you would like to download more programs to run on the Pi, here are some useful additions for doing that through the GUI.

  1. Open the 'Termit' terminal under 'system tools' in the start menu. This is the command-line interface you will use to install programs. You should enter the following two commands before adding any new software, this will update and upgrade the Pi's software packages.
    sudo apt update sudo apt -y dist-upgrade

Watch the window, enter 'Y' if it asks you to proceed, and wait until all updates are complete before proceeding.

  1. Install the 'recommended software' installer to the GUI, this will create a new option on the start menu that will allow you to install some common programs used on the Pi. sudo apt install rp-prefapps