Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 2.6 KB

install_software.md

File metadata and controls

76 lines (51 loc) · 2.6 KB

Install Software

Configure RaspberryPi

Installing Raspbian on RaspberryPi

Below are the instructions to configure headless Raspberry Pi setup with Wi-Fi. Current setup has been tested on this Raspbian Jessie image. Detailed information on headless Raspberry Pi setup can be found here.

  1. Download zipped disk image.

  2. Unzip the disk image.

  3. Plug your SD card into your computer.

  4. Open the Etcher application.

  5. Select your source disk image as the one you unzipped earlier.

  6. Select your SD card as the disk to use. Click "Flash".

  7. Add an empty file with name ssh to \Volumes\boot\

  8. Add another file with name wpa_supplicant.conf to \Volumes\boot\ with your Wi-Fi details.

    network={
        ssid="YOUR_SSID"
        psk="YOUR_WIFI_PASSWORD"
    }
    
  9. Disconnect the SD card from your computer and put it in the Pi. Connect the power source to the Pi.

Login into the Pi

Default hostname of the Raspbian is raspberrypi. SSH into the Pi using the following command.

ssh pi@raspberrypi.local

The default password for the pi user on a clean Raspbian install is raspberry.

Configuring Raspberry Pi interfaces :

Enable camera and I2C using raspi-config tool. Follow these instructions

sudo raspi-config

This command should pull up the following UI. Select 5. Interfacing Options and press enter.

raspi-config

Select P1 Camera and enable it. More detailed information here.

raspi-config

Select P5 I2C and enable it. More detailed information here.

raspi-config

Install Prerequisites

Install the following packages. PuppetBot uses sox to record audio and mpg321 to play audio.

sudo apt-get install sox mpg321 git python-pip build-essential python-dev

Clone the PuppetBot repository

git clone https://github.com/mmuppidi/PuppetBot.git

Install necessary pip packages

cd PuppetBot
sudo pip install requirements.txt