Table of Contents

Connection

  1. Use the power switch on the battery box to turn the PiBot on
  2. Use the following steps to connect to the PiBot from MacOS
    1. Open the terminal app

      Click the magnifying glass in the top right corner of the screen and type “terminal” to find the terminal app

    2. Type the following command and press enter to connect to the Raspberry Pi terminal via SSH

      Replace the text “pibot##” with the label on the PiBot

      The password to enter when prompted is “DogsAndCatsAreNice2.” without the quotes. The '.' at the end is important!

      ssh pi@pibot##.local
  3. Use the following steps to connect to the PiBot from Windows
    1. Open the putty app from the Applications\PuTTY\<version> folder on the Flash drive

      The <version> folder will be something like “0.75”. Use the latest version available.

    2. Type “pibot##” in the Host Name (or IP address)“ box where the ## comes from the label on the PiBot.

      PuTTY Configuration

    3. Click the “Open” button to connect to the Raspberry Pi terminal via SSH

      PuTTY Open Connection

    4. If a “PuTTY Security Alert” window pops up, click the “Accept” button\

      PuTTY Security Alert

    5. Type “pi” at the “login as:” prompt and press Enter

      The password to enter when prompted is “DogsAndCatsAreNice2.” without the quotes. The '.' at the end is important!

      PuTTY Login

Configuration

  1. Type the following command and press enter to edit the wireless configuration

    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

    If you have already configured the Auto Hotspot on the PiBot then type the following command instead

    sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
  2. Add sections like one of the two below to the end of the file

    Be sure to replace the text “Your network name/SSID” with the actual SSID for your wireless network. If your SSID includes spaces then you have to use ” at the beginning and the end of it

    Be sure to replace the text “Your network password” with the actual password for your wireless network. If your password includes spaces then you have to use “ at the beginning and the end of it

    If you are outside the United States then change the 'country=US' line to use the appropriate ISO 3166 alpha-2 country code

    1. If the wireless network does NOT have a password use this section

      network={
           ssid="Your network name/SSID"
           key_mgmt=NONE
      }
    2. If the wireless network has a password use this section

      network={
          ssid="Your network name/SSID"
          psk="Your network password"
          key_mgmt=WPA-PSK
      }
  3. Hold down the control + O (or Ctrl + O) keys to save your changes to the file
  4. Hold down the control + X (or Ctrl + X) keys to exit the editor
  5. Type the following command to shutdown the PiBot

    sudo shutdown -h now

Usage

The wpa_supplicant.conf or wpa_supplicant-wlan0.conf file controls what wireless networks the PiBot will connect to. Each “network” section in the file defines a wireless network that it will try and connect to. There can be as many “network” sections as you need.

"I lift up my eyes to the hills. From where does my help come? My help comes from the LORD, who made heaven and earth. - Psalm 121:1-2"