shell# apt-get update;apt-get upgrade;apt-get dist-upgrade;apt-get clean shell# rpi-update
Scan Access Points
shell# iwlist wlan0 scan
shell# vi /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=CZ
network={
ssid="--ssid-name--"
psk="--secret-password--"
}
TODO
shell# systemctl enable ssh shell# systemctl start ssh
shell# raspi-config
shell# modprobe bcm2835-v4l2
shell# v4l2-ctl --info
Driver Info (not using libv4l2):
Driver name : bm2835 mmal
Card type : mmal service 16.1
Bus info : platform:bcm2835-v4l2
Driver version: 4.14.33
Capabilities : 0x85200005
Video Capture
Video Overlay
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05200005
Video Capture
Video Overlay
Read/Write
Streaming
Extended Pix Format
TODO
shell# apt-get install pigpio shell# apt-get install python3-gpiozero python3-pigpio
TODO
shell# git clone https://github.com/adafruit/Adafruit_Python_SSD1306 shell# cd Adafruit_Python_SSD1306 shell# apt-get install build-essential python-dev python-pip python-imaging python-smbus shell# python setup.py install shell# cd examples shell# python image.py
TODO
Install tools
shell# apt-get install i2c-tools
Detect devices
shell# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --