From 5f84437ef1e22a874d8c06c08ce5f219a7ec6877 Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Wed, 9 Aug 2017 16:30:08 -0500 Subject: [PATCH] Adding raspberry pi setup doc --- .gitignore | 1 + raspberry_pi_setup.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 raspberry_pi_setup.md diff --git a/.gitignore b/.gitignore index 9e979df..fd85441 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ _build *.pyc *.log *.log~ +.ipynb_checkpoints diff --git a/raspberry_pi_setup.md b/raspberry_pi_setup.md new file mode 100644 index 0000000..21cd1f7 --- /dev/null +++ b/raspberry_pi_setup.md @@ -0,0 +1,25 @@ +#### Hardware + + * Raspberry Pi 3 Model B + * Raspberry Pi Camera Module V2 + * 2.5A Power supply + * Case + +#### System Setup + + * Install latest Raspian + * Configure keyboard, password using `sudo raspi-config` + * Configure wifi by editing /etc/wpa_supplicant/wpa_supplicant.conf + * Edit /etc/gai.conf to prefer ipv4 + +#### Dependencies install + * Clone [sensei_client](git@github.com:WildflowerSchools/sensei_client.git), [camera](git@github.com:WildflowerSchools/camera.git), and [sensei_mesh](git@github.com:WildflowerSchools/sensei_mesh.git) repositories. + * Install the sensei_client module: `sudo pip3 install -e .`, while in the sensei_client directory. + * Update system with `sudo apt-get update && sudo apt-get upgrade` + * Install packages: `git python3 python3-pip python pip` + * `sudo pip3 install awscli picamera ipython pyserial boto3` + +#### Configure + + * `aws configure` + * Copy `pyaci/example_sensei.yaml` to `~/.sensei.yaml` and edit it to provide TC login, and path to serial device.