raspberry-pi-zero-w
Toto je starší verze dokumentu!
Obsah
Raspberry Pi Zero W
Raspberry Pi Zero W external antenna mod
Basic system install
Download
- https://www.raspberrypi.org/downloads/raspbian/ (RASPBIAN STRETCH LITE)
Flash image to SD card
System update
shell# apt-get update;apt-get upgrade;apt-get dist-upgrade;apt-get clean shell# rpi-update
WiFi
Scan
Scan Access Points
shell# iwlist wlan0 scan
Client
shell# vi /etc/wpa_supplicant/wpa_supplicant.conf
- /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--" }
AP
TODO
SSH server enable
shell# systemctl enable ssh shell# systemctl start ssh
Camera
Enable camera
shell# raspi-config
- 5 Interfacing Options Configure connections to peripherals
- P1 Camera Enable/Disable connection to the Raspberry Pi Camera
Load kernel driver
shell# modprobe bcm2835-v4l2
Camera info
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
Motion
TODO
GPIO
Pinout
Official tutorial
Install
shell# apt-get install pigpio shell# apt-get install python3-gpiozero python3-pigpio
Button
raspberry-pi-zero-w.1524087018.txt.bz2 · Poslední úprava: 2023/12/26 19:13 (upraveno mimo DokuWiki)