Table of Contents
Connection
- Use the power switch on the battery box to turn the PiBot on
- Use the following steps to connect to the PiBot from MacOS
- Open the terminal app
Click the magnifying glass in the top right corner of the screen and type “terminal” to find the terminal app
- 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
- Use the following steps to connect to the PiBot from Windows
- 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.
Configuration
- 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
- 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
- If the wireless network does NOT have a password use this section
network={ ssid="Your network name/SSID" key_mgmt=NONE }
- If the wireless network has a password use this section
network={ ssid="Your network name/SSID" psk="Your network password" key_mgmt=WPA-PSK }
- Hold down the control + O (or Ctrl + O) keys to save your changes to the file
- Hold down the control + X (or Ctrl + X) keys to exit the editor
- 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.