一、官方地址:
二、需要准备的硬件:
- Raspberry Pi 4
- HDMI to USB dongle
- USB-C to USB-A cable (Male/Male)
- microSD card (Class 10, 8 GB or larger)
- HDMI to HDMI cable
三、刷入树莓派包
- 底包:Raspberry Pi OS Bullseye (32-bit)
- 工具:Raspberry Pi Imager
- 我用的是【raspios_armhf-2023-05-03】
- 刷的时候记得顺道把wifi、用户名、密码、SSH都配好
四、启用root账号
sudo passwd root
Enter new UNIX password: #输入第一遍密码
Retype new UNIX password: #输入第二遍密码
五、修改pip源
默认python3及python3-venv环境应该都有,顺手把pip源改成国内的(以清华源为例)
# 1、修改
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 2、注释:把里面的https://www.piwheels.org/simple注释掉
nano /etc/pip.conf
六、安装TinyPilot
curl \
--silent \
--show-error \
https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/get-tinypilot.sh | \
bash - && \
sudo reboot
七、访问
方式一:http://树莓派的ip地址
例:http://192.168.0.2
方式二:http://树莓派的主机名称