匿名
未登录
登录
丢石头百科
搜索
查看“Raspberry Pi 4 Model B”的源代码
来自丢石头百科
名字空间
页面
讨论
更多
更多
页面选项
查看
查看源代码
历史
←
Raspberry Pi 4 Model B
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<div class="tabber"> <div class="tabbertab" title="资料"> {{Product |images=<div class="tabber"> <div class="tabbertab" title="树莓派4代B型">[[File:Raspberry_Pi_4_Model_B_1.jpg|400px|Raspberry Pi 4 Model B]]</div> </div> |categories= {{Category|树莓派}} |brand=树莓派 |features= * Rasbperry Pi 4 Model B |interfaces= {{Category|DSI接口}} {{Category|CSI接口}} {{Category|HDMI接口}} {{Category|USB接口}} {{Category|I2C接口}} {{Category|I2S接口}} {{Category|SPI接口}} {{Category|UART接口}} {{Category|RPi接口}} {{Category|Ethernet接口}} }} == 产品概述 == 我是树莓派4代B型,相比3B+,我的处理器速度显著提升,拥有丰富的多媒体,多个内存版本和更出色的连接性,集成了连接USB 2和USB 3端口的PCIe链路以及本机连接的以太网控制器,它具有极大改进的GPU功能集,输入/输出速度更快。 == 产品尺寸 == [[FILE:PI4-07.JPG|360px]] == 使用说明 == 1. 准备好:SD卡、读卡器。 2. 系统镜像(Raspberry Pi OS)[https://www.raspberrypi.org/downloads/raspberry-pi-os/ 官方下载地址]。莓派需要下载最新发布的系统才能使用。 [[FILE:PI4-02.JPG|400px]] * 建议直接点击 Download Torrent 下载种子文件,然后用迅雷打开种子文件下载镜像。通过种子文件下载镜像(即 BT 下载)的速度远快于直接下载压缩文件。而如果直接点击 Download ZIP 下载压缩文件的话,可能花费数天时间。 也可以点击下表链接下载种子文件 {|class="wikitable" |- ! 名称 !! 说明 !! 下载链接 |- | Raspberry Pi OS (32-bit) with desktop and recommended software || 桌面完整版(含常用软件) ||[https://downloads.raspberrypi.org/raspios_full_armhf_latest.torrent raspios_full_armhf_latest] |- | Raspberry Pi OS (32-bit) with desktop || 桌面板(无常用软件) || [https://downloads.raspberrypi.org/raspios_armhf_latest.torrent raspios_armhf_latest] |- | Raspberry Pi OS (32-bit) Lite || 轻量版(无桌面,无常用软件) || [https://downloads.raspberrypi.org/raspios_lite_armhf_latest.torrent raspios_lite_armhf_latest] |} 3. 格式化SD卡:使用读卡器将SD卡插入到电脑,使用SDFormatter.exe软件格式化SD 卡。[http://{{SERVERNAME}}/w/upload/d/d7/Panasonic_SDFormatter.zip 点击这里下载SDFormatter.exe] ,点击格式化格式SD卡。<br> <!--[[FILE:PI4-03.JPG]]--> 4. 烧写镜像,见 [[#烧写镜像]]。 5. 启动RPI4B:将烧写完后的SD 卡插入树莓派,接入5V 3A的Type-C接口的适配器启动树莓派。正常可以看到红灯常亮,绿灯闪烁。如果没有插入 SD 卡,则绿灯持续规律闪烁。 <!--[[FILE:PI4-05.JPG]]--> 6. 接入屏幕鼠标键盘等外设开始你的树莓派之旅。 <!--[[FILE:PI4-06.JPG|800px]]--> == 烧写镜像 == === 方法一(推荐):用 Raspberry Pi Imager 烧写镜像 === 1. 烧录软件下载地址: * [https://wiki.diustou.com/w/upload/a/ae/Raspberry_Pi_Imager.zip 本地下载 Raspberry Pi Imager for Windows] * [https://downloads.raspberrypi.org/imager/imager.exe 官方下载 Raspberry Pi Imager for Windows] * [https://downloads.raspberrypi.org/imager/imager.dmg 官方下载 Raspberry Pi Imager for macOS] * [https://downloads.raspberrypi.org/imager/imager_amd64.deb 官方下载 Raspberry Pi Imager for Ubuntu] 2. 点击 CHOOSE OS: [[File:PI4-08.png|400px]] 3. 点击 Use custom,然后选择下载好的镜像(即 [[#使用说明]] 第2步下载的镜像,不是 Raspberry Pi Imager),无需解压: [[File:PI4-09.png|400px]] 4. 点击 CHOOSE SD CARD 选择 SD 卡。 5. 点击 WRITE 写入镜像。注意,文件夹名称含有中文可能会导致烧录失败。 === 方法二(不推荐):用Win32DiskImager.exe烧写镜像 === 选择要烧写的镜像,需要先解压,再点击“Write”进行烧写。[http://{{SERVERNAME}}/w/upload/7/76/Win32DiskImager.zip 点这里下载Win32DiskImager.exe]。 * 注意,使用 Win32DiskImager.exe 写入镜像之前,镜像必须解压。而如果使用 Raspberry Pi Imager 则无需解压。由于镜像文件较大,解压所需时间较长。因此请优先使用 Raspberry Pi Imager 写入镜像,参见 [[#方法一(推荐):用 Raspberry Pi Imager 烧写镜像]]。 <!--[[FILE:PI4-04.JPG]]--> == 注意事项 == 1. 禁止将树莓派的引脚短路,特别是VCC和GND,短路会造成芯片烧毁无法恢复。 2. 树莓派启动需要几十秒时间,打开电源后1分钟内不可以关闭电源,会影响树莓派的使用寿命。 3. hdmi线反接会导致接口损坏! [[File:PI4B-07.png|800px]] == 相关链接 == {{Raspberry Pi Study}} 转到:[[#软件]],[[#程序]],[[#文档]] == FAQ == <div class="tabbertab" title="FAQ"> {{FAQ|HDMI 屏幕无法显示怎么办?| 1. 树莓派有两个 HDMI 口,但在默认情况下,只工作于靠近电源的 HDMI 口。 2. 编辑 config.txt,加入: <pre> hdmi_safe=1 overscan_left=-30 overscan_right=-30 overscan_top=-30 overscan_bottom=-30 hdmi_group=2 hdmi_mode=4 hdmi_drive=2 config_hdmi_boost=4 </pre> 再重启动树莓派。 3. 如果上面这段无法解决您的问题,请重新注释掉,然后加入下面这段: <pre> max_usb_current=1 hdmi_force_hotplug=1 config_hdmi_boost=10 hdmi_group=2 hdmi_mode=87 hdmi_cvt 1920 1080 60 6 0 0 0 </pre> 注意,1920 1080 需要改成显示器对应的分辨率。 }} {{FAQ|树莓派4双屏显示如何指定触摸到主屏上?| 1.在树莓派终端输入xrandr,查看主屏所在的HDMI-ID(大部分是HDMI-1); [[File:Pi4-指定触摸-1.png|600px]] 2.在树莓派终端输入xinput,查看主屏所在的触摸ID(有2个触摸ID,如果不知道哪个是主屏,可以都试一下); [[File:Pi4-指定触摸-2.png|600px]] 3.运行指令:xinput map-to-output <touch ID> <HDMI-ID> (把ID值对应后运行指令即可指定触摸到主屏上,如:xinput map-to-output 7 HDMI-1 ) [[File:Pi4-指定触摸-3.png]] 4.由于每次开机都需要重新输入指令,可以将此指令添加到开机自启中去: sudo nano /etc/xdg/lxsession/LXDE-pi/autostart 添加: xinput map-to-output 7 HDMI-1 (记得改成自己对应ID),然后重启即可。 [[File:Pi4-开机自启-4.png|600px]] }} {{FAQ |为什么目前建议使用 Raspberry Pi OS 32-bit 版本,而非 64-bit 版本? |2=目前树莓派官方推荐的系统是 Raspberry Pi OS 32-bit,而同时也有测试版的 Raspberry Pi OS 64-bit。如需 64-bit 版本,可 [https://downloads.raspberrypi.org/raspios_arm64/images/ 点击下载 Raspberry Pi OS 64-bit]。 64-bit 版本存在一些已知问题,参见 [https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=275372 官方论坛置顶帖] }} </div> <!--{{Join_us}}--> </div> <div class="tabbertab" title="售后"><br />{{Service11}}</div>
该页面使用的模板:
模板:Category
(
查看源代码
)
模板:FAQ
(
查看源代码
)
模板:Product
(
查看源代码
)
模板:Raspberry Pi Study
(
查看源代码
)
模板:Service00
(
查看源代码
)
模板:Service11
(
查看源代码
)
模板:Tag
(
查看源代码
)
模板:Tipbox
(
查看源代码
)
模板:树莓派系列教程:烧写镜像
(
查看源代码
)
返回至
Raspberry Pi 4 Model B
。
导航
导航
首页
最近更改
随机页面
MediaWiki帮助
首页
首页
树莓派
主机
配件包
外壳
键鼠
电源
扩展板
显示屏
墨水屏
摄像模块
通信模块
继电器
电机驱动板
游戏机
产品分类
树莓派
Arduino
micro:bit
STM32
Espressif
WiFi模块
蓝牙模块
无线模块
LoRa模块
4G模块
GSM
GPRS
以太网
导航模块
北斗卫星
GPS
LCD
墨水屏
OLED
摄像头
USB模块
串口模块
RS232
RS485
CAN
传感器
温度模块
湿度模块
气压模块
继电器
电机模块
指纹模块
电平转换
音频模块
编程器
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志