Last active
October 6, 2017 18:07
-
-
Save theparticleman/86425d4a597a312331c541e0e031a288 to your computer and use it in GitHub Desktop.
Raspberry Pi robot setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Change keyboard layout | |
#sudo raspi-config, 4 - Localization, 3 - Change keyboard layout, | |
# Enable SSH | |
#sudo raspi-config, 5 - Interfacing Options, 2 - SSH | |
# Enable Camera | |
#sudo raspi-config, 5 - Interfacing Options, 1 - Camera | |
# Set up wifi | |
sudo cp /etc/wpa_supplicant/wpa_supplicant.conf ~/temp.txt | |
echo -e "\nnetwork={\n\tssid=\"wireless\"\n\tpsk=\"password\"\n}" >> ~/temp.txt | |
sudo cp ~/temp.txt /etc/wpa_supplicant/wpa_supplicant.conf | |
# Assign Raspberry Pi static IP address if needed | |
# Past this point the setup commands can be run remotely | |
sudo apt-get update | |
sudo apt-get install git -y | |
sudo apt-get install python-picamera -y | |
git clone https://github.com/simonmonk/raspirobotboard3.git | |
cd raspirobotboard3/python | |
sudo python setup.py install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment