| 名称 | RaspberryPi OS のインストールとセットアップ OpenCV C++非対応 |
|---|---|
| 番号 | MIRSMG5D-SYST-0016 |
| 版数 | 最終更新日 | 作成 | 承認 | 改訂記事 |
|---|---|---|---|---|
| A01 | 2026.10.28 | 小谷 | 小谷 | Trixie対応版 |


ユーザ名:pi
パスワード:raspi
ローケル
言語: ja(japanese)
文字セット:UTF-8

タイムゾーン
地域:Asia
位置:Tokyo
キーボード
モデル:Generic 105-Key PC
配列:Japanese
種類:Japanese
無線LANの国
国:JP Japan
以下の1、2のいずれかの方法でWiFiに接続させる。
sudo apt-get update
sudo apt -y upgrade ※約10~20分の時間を要する
sudo apt -y install arduino
sudo apt install -y libopencv-dev python3-opencv
git clone https://github.com/WiringPi/WiringPi.git
cd WiringPi
./build debian
sudo apt install ./debian-template/wiringpi_3.20_arm64.deb
# 確認(バージョン確認)
gpio -V
gpio version: 3.20
Copyright (c) 2012-2019 Gordon Henderson; 2019-2026 Contributors
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty
Hardware details:
Type: Pi 4B, Revision: 05, Memory: 4096MB, Maker: Sony UK
System details:
* Device tree present.
Model: Raspberry Pi 4 Model B Rev 1.5
* Supports full user-level GPIO access via memory.
* Supports basic user-level GPIO access via /dev/gpiomem.
* Supports basic user-level GPIO access via /dev/gpiochip (slow).
wget https://www2.denshi.numazu-ct.ac.jp/mirsdoc2/mirsmg5d/soft/num0003a/mg5_arduino_ver100.zip
unzip mg5_arduino_ver100.zip
sudo apt install fcitx5-mozc
im-config -n fcitx5
sudo reboot
wget https://www2.denshi.numazu-ct.ac.jp/mirsdoc2/mirsmg5d/soft/num0013a/mg5_pi_ver2.0.0.tar.gz
tar xvfz mg5_pi_ver2.0.0.tar.gz
cd mg5_pi_ver2.0.0
make
定期的に更新すること。
sudo apt-get -y update
sudo apt-get -y upgrade
sudo rpi-update