From Hentschel
(→install software) |
(→Raspberry Pi) |
||
Line 37: | Line 37: | ||
sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus -y | sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus -y | ||
sudo pip install Adafruit_GPIO | sudo pip install Adafruit_GPIO | ||
+ | sudo pip install Adafruit_SSD1306 | ||
+ | sudo apt-get install python-pil | ||
+ | sudo pip install gpiozero | ||
+ | sudo pip install psutil |
Revision as of 22:19, 6 December 2019
Contents
Lam modified
- use 14400 as baud rate for FTDI; on Mac:
screen /dev/cu.usbserial-FTFO858O 115200
- default login is debian:
debian:temppwd
- P9 header is off by one, counting from 1. There is a extra GND row in position 3-4 ?
Time
- change time zone: sudo timedatectl set-timezone America/Los_Angeles
- install ntp: sudo apt-get install ntp
Networking
- the ethernet interfaces don't appear to work. Using Edimax wifi
- set manually
sudo ifconfig eth0 192.168.1.16 netmask 255.255.255.0
- permanent in in /etc/network/interfaces
allow-hotplug wlan0 iface wlan0 inet static address 192.168.1.16 netmask 255.255.255.252 network 192.168.1.0 gateway 192.168.1.1 dns-nameserver 192.168.1.2 dns-search home.hentschel.net wpa-ssid hentschel wpa-psk bb78bbaa6a8425255774e5d49b51b4038d55c0c3e493334abbecec31c27096b6
reset switch
- BBB:
P8, GPIO 67 <-> GND
- RasPi
GPIO 4
install software
Raspberry Pi
sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus -y sudo pip install Adafruit_GPIO sudo pip install Adafruit_SSD1306 sudo apt-get install python-pil sudo pip install gpiozero sudo pip install psutil