Files
HeHe-Centiped/rpi/README.md
T
2016-06-11 11:23:35 +02:00

68 lines
1.4 KiB
Markdown

HeHe Hansen - Rover - RPI
=========================
raspberry pi 3
camera module
gprs/gps module
## systeme
install Arch Linux ARM systeme on rpi following these how to : https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3
connect to rpi through ssh
add alarm user to sudoers : https://wiki.archlinux.org/index.php/Sudo#Example_Entries
install git : ```pacman -S vim rsync```
clone this repos : ```git clone -o guime https://g-u-i.me/gogs/bachir/hehe-rover.git ```
run rpi/install.sh with sudo
### what install is doing
- generate the locale : https://wiki.archlinux.org/index.php/Locale#Generating_locales
- make updates : ```pacman -Syyu```
- install vim rsync : ```pacman -S vim rsync```
## camera module
https://wiki.archlinux.org/index.php/Raspberry_Pi#Raspberry_Pi_camera_module
## gps
#### connection
https://github.com/embeddedartists/gps_shield
#### package installation
i2c : https://wiki.archlinux.org/index.php/Raspberry_Pi#I2C
do not install ic2-tools from pacman, instead compile ic2-tools-git from aur as python-smbus depends on it.
```
cd ~
mkdir pkgs
cd pkgs
# i2c-tools
git clone https://aur.archlinux.org/i2c-tools-git.git
cd i2c-tools-git
makepkg -sri
cd ../
# python
pacman -S python
# python-smbus
git clone https://aur.archlinux.org/python-smbus.git
cd python-smbus
makepkg -sri
#pip
pacman -S python-pip
#nmea
pip install pynmea2
```
## gsm