Raspberry Pi入门指南

本文整理了Raspberry Pi的入门使用指南。

官网

局域网查找设备

Mac/Linux

1
arp -n | awk '/b8:27:eb/ {print $1}'

Windows

1
arp -a | findstr e4-5f-01

开启SSH

将SD卡连接到电脑,在根目录新建名为”SSH”的文件(无后缀)。

修改时区

1
2
3
sudo dpkg-reconfigure tzdata
# 或
sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

GPIO

1
2
3
4
5
# 查看引脚
pinout

# 查看详细状态
gpio readall

教程资源

文章目录
  1. 1. 官网
  2. 2. 局域网查找设备
    1. 2.1. Mac/Linux
    2. 2.2. Windows
  3. 3. 开启SSH
  4. 4. 修改时区
  5. 5. GPIO
  6. 6. 教程资源