読者です 読者をやめる 読者になる 読者になる

Raspberry Pi 備忘録 / Mbedもあるよ!

Raspberry Pi であれこれやった事の記録

Raspberry pi 3

Raspberry pi 3 を入手した! f:id:pongsuke:20160418152605j:plain f:id:pongsuke:20160418152628j:plain

OSのインストール

Download NOOBS for Raspberry Pi Noobs と Noobs Lite があるけど、何回か焼きなおす事になりそうだから、Noobs にしておこう。

NOOBS is an easy operating system installer which contains Raspbian. It also provides a selection of alternative operating systems which are then downloaded from the internet and installed.

NOOBS Lite contains the same operating system installer without Raspbian pre-loaded. It provides the same operating system selection menu allowing Raspbian and other images to be downloaded and installed.

International設定

タイムゾーン、言語、キーボードを設定する

日本語フォントのインストール

apt-get install fonts-takao ibus-mozc

ネットワークの設定

/etc/dhcpcd.conf

interface eth0
static ip_address=192.168.100.93/24
static routers=192.168.100.1
static domain_name_servers=8.8.8.8
service dhcpcd reload

omxplayer

ailed to open vchiq instance と出た時は sudo chmod a+rw /dev/vchiq

omxplayer -o local bgm01.mp4

Blue tooth

apt-get install pi-bluetooth
systemctl status bluetooth


apt-get install pulseaudio pavucontrol pulseaudio-module-bluetooth
# bluetoothctl
[bluetooth]# power on
[bluetooth]# scan on
[bluetooth]# pair ***
Attempting to pair with ****
[CHG] Device **** Connected: yes
[CHG] Device **** Paired: yes
Pairing successful
[CHG] Device **** Connected: no