Raspberry Pi硬件
1.目前树莓派的型号(根据处理器分)
-
第一代
-
Model A
-
Model B
-
Model A+
-
Model B+
-
ZERO
-
-
第二代
-
Model B
-
-
第三代
-
Model B
-
还有一个Raspberry Pi Compute Module
第二代是不是叫Raspberry Pi 2B啊
图片
2.树莓派不同型号的具体差异
Pi 1 Model A | Pi 1 Model B | Pi 1 Model A+ | Pi 1 Model B+ | Pi ZERO | Pi 2 B | Pi 3 B | |
---|---|---|---|---|---|---|---|
CPU | BCM2835 | BCM2836 | BCM2837 | ||||
RAM | 256 MiB | 256 MiB/512 MiB | 256 MiB | 512 MiB | 1024 MiB | ||
GPU | Broadcom VideoCore IV, OpenGL ES 2.0,OpenVG 1080p30 H.264 high-profile encode/decode, 250 MHz | Broadcom VideoCore IV, OpenGL ES 2.0,OpenVG 1080p60 H.264 high-profile encode/decode, 400 MHz | |||||
USB ports | 1 USB 2.0 (provided by the BCM2835) | 2 USB 2.0 (via integrated USB hub in LAN9512) | 1 USB 2.0 (provided by the BCM2835) | 4 USB 2.0 (via integrated USB hub in LAN9514) | 1 Micro USB OTG (On The Go) | 4 USB 2.0 (via integrated USB hub in LAN9514) | |
Video outputs | Composite video | Composite RCA, HDMI (not at the same time) | HDMI | Composite video requires 4 Pole Adapter | HDMI, Composite video via unsoldered 2-pin header | Composite video requires 4 Pole Adapter | |||
Audio outputs | TRS connector | 3.5 mm jack, HDMI | ||||||
Onboard Storage | Secure Digital|SD / MMC / SDIO card slot | Micro Secure Digital / MicroSD slot | |||||
Onboard Network | None | 10/100 wired Ethernet RJ45 | None | 10/100 wired Ethernet RJ45 | None | 10/100 wired Ethernet RJ45 | 10/100 wired Ethernet RJ45, integrated 802.11n Wi-Fi & Bluetooth 4.1 |
Power ratings | 300mA | 700mA | 600mA up to 1.2A @ 5V | ~650 mA | 160mA rating | ~650 mA | 800mA |
Weight | 31g | 40g | 23g | 40g | 9g | 45g | 40g |
祖传的100M有线网卡, 简直残念
3.PCB引脚介绍
-
P1: 26-pin (2x13) 2.54 mm header expansion, providing: see Low-level peripherals
-
8 GPIOs at 3.3 V
-
2-pin UART serial console, 3.3 V TTL (debug); or 2 GPIOs at 3.3 V
-
I²C interface (3.3 V); or 2 GPIOs at 3.3 V
-
SPI interface (3.3 V); or 5 GPIOs at 3.3 V
-
3.3 V, 5 V and GND supply pins
-
ARM JTAG (if pins are reconfigured in software - on Revision1.0 boards one signal would also need to be taken from S5)
-
I²S interface (if pins are reconfigured in software, hardware hack may be required5)
-
-
P2: 8-pin 2.54 mm header expansion (header not fitted on Revision 2.0 boards), providing GPU JTAG (ARM11 pinout, pin 7 is nofit for locating)
-
P3: 7-pin 2.54 mm header expansion (header not fitted), providing LAN9512 JTAG (pin 6 is nofit for locating)
-
P4: 10/100 Mbit/s RJ45 Ethernet jack (Model B)
-
P5: 8-pin (2x4) 2.54 mm header expansion (header not fitted), on the bottom of the board, providing: see Low-level peripherals (Model B Revision 2.0 and Model A boards only)
-
4 GPIOs at 3.3 V
-
3.3 V, 5 V and GND supply pins
-
Second I²C interface (3.3 V) (if pins are reconfigured in software)
-
I²S interface (if pins are reconfigured in software)
-
Handshake signals for the UART on the P1 header (if pins are reconfigured in software)
-
-
P6: 2-pin 2.54 mm header expansion (header not fitted), providing an option to connect a hardware-reset button (Revision 2.0 boards only)
-
TP1 and TP2: Test Points giving access to +5 V and GND respectively
-
5 Status LEDs:
-
D5(Green) - SDCard Access (via GPIO16) - labelled as "OK" on Model B Rev1.0 boards and "ACT" on Model B Rev2.0 and Model A boards
-
D6(Red) - 3.3 V Power - labelled as "PWR" on all boards
-
D7(Green) - Full Duplex (LAN) (Model B) - labelled as "FDX" on all boards
-
D8(Green) - Link/Activity (LAN) (Model B) - labelled as "LNK" on all boards
-
D9(Yellow) - 10/100 Mbit/s (LAN) (Model B) - labelled (incorrectly) as "10M" on Model B Rev1.0 boards and "100" on Model B Rev2.0 and Model A boards
-
1.不过对于后面的板子, 比如1B+, 2B, 3B都是将网络指示灯集成到了RJ45插座上面了
2.电源指示灯闪烁说明你的电源有问题
3.绿色的指示灯类似于普通电脑的硬盘指示灯,表明正在读写文件
4.1B的板子有一些孔没有焊接上排针, 如果焊上排针, 将可以扩展一些额外的GPIO以及外设
Pi 1Model A and B (Original)
P1 Header
可以通过观察PCB丝印确定引脚顺序
P2 header
GPU的JTAG接口
-
Pin 1 - 3.3V (same as P1-01, 50 mA max current draw across both of them)
-
Pin 7 - GND
-
Pin 8 - GND
P3 header
LAN9512 JTAG
-
Pin 7 - GND
P5 header
wiki上说从下往上看
Pin Number | Pin Name Rev2 | Hardware Notes | Alt 0 Function | Other Alternative Functions |
---|---|---|---|---|
P5-01 | 5V0 | Supply through input poly fuse | ||
P5-02 | 3.3V | 50 mA max (combined with P1) | ||
P5-03 | GPIO28 | I2C0_SDA | ALT2 = PCM_CLK | |
P5-04 | GPIO29 | I2C0_SCL | ALT2 = PCM_FS | |
P5-05 | GPIO30 | ALT2 = PCM_DIN ALT3 = UART0_CTS ALT5 = UART1_CTS | ||
P5-06 | GPIO31 | ALT2 = PCM_DOUT ALT3 = UART0_RTS ALT5 = UART1_RTS | ||
P5-07 | GND | |||
P5-08 | GND |
P6 header
Pin Number Pin | Name Rev2 | Hardware Notes |
---|---|---|
P6-01 | RUN | Short to ground to reset the BCM2835 |
P6-02 | GND |
短接可以重启树莓派, 1B v2.0才开始添加此设计
Model A+, B+ and B2