5. Controlling the BrickPi

5. Controlling the BrickPi

Now that you’ve connected, you need to be able log onto the Raspberry Pi and control the BrickPi.  There are a few ways to do this from another computer.

You can skip this step if you’ve setup the Raspberry Pi as a Desktop (with keyboard and monitor):  it’s really only for those that are trying to use and program the Raspberry Pi remotely.

Access the GUI with VNC

 

Raspberry_Pi_Gui_DesktopProbably the most user-friendly way to login and program your robot is to use a VNC viewerand server.  With VNC, you can “see” and control the desktop from another computer (such as your PC or Mac).  VNC allows you to control the Raspberry Pi with a graphical user interface, remotely.

The Dexter Industries BrickPi Image is already configured for VNC login.  To get started:

  1. Download and install VNC Viewer on your Mac or PC.  This is free software.  You will only need the VNC client, not the server.
  2. Run VNC Viewer.  When your PC or Mac and BrickPi are on the same network, “VNC Server” is “raspberrypi.local:1”  and the password is “raspberr“.
  3. Be SURE to include the colon 1, or :1 in the server address!
  4. Click “OK”

 

vnc_connection

 

SSH and Command Line Connection

Command_Line_Raspberry_Pi

The Dexter Industries BrickPi Image is already configured for SSH Login, using the Login “pi” and the Password “raspberry“.  From there, if you’re comfortable and experienced in using the command line, you should be able to write programs and run the BrickPi.

The BrickPi automatically assumes the IP address “raspberrypi.local” and can be accessed from any computer that runs Bonjour.

We have had some great experiences with Putty, which can be downloaded here.

    1. Type “raspberrypi.local” in the “Host Name (or IP Address) box.  The Port should remain “22”.  Click “Open”ssh_into_raspberrypi
    2. At the prompt, login as “pi”.  The password is “raspberry”

ssh_login

 

And you should be connected!

ssh_logged_in