Raspberry Pi 備忘録 / Mbedもあるよ!

Raspberry Pi であれこれやった事の記録

RASPBERRY PI 2 MODEL B について

RASPBERRY PI 2 MODEL B そのものについて。

www.raspberrypi.org

 Compared to the Raspberry Pi 1 it has:

A 900MHz quad-core ARM Cortex-A7 CPU
1GB RAM
Like the (Pi 1) Model B+, it also has:

4 USB ports
40 GPIO pins
Full HDMI port
Ethernet port
Combined 3.5mm audio jack and composite video
Camera interface (CSI)
Display interface (DSI)
Micro SD card slot
VideoCore IV 3D graphics core

ということだ。

よく見ると、3極のオーディオジャック(R,L,GND)だと思っていた 3.5mm ジャックは、実は4極 の Combined 3.5mm audio jack and composite video ということらしい。

http://www.raspberrypi-spy.co.uk/2014/07/raspberry-pi-model-b-3-5mm-audiovideo-jack/www.raspberrypi-spy.co.uk

4極の順番は、根本から、

Video Ground Right Left

の順らしい。

Pin out

pinout.xyz

f:id:pongsuke:20160115122443j:plain

こちらを拝見するに、 Hardware PWM は、

PIN32 GPIO12 PWM0
PIN33 GPIO13 PWM1

となっており、また、

PIN12 GPIO18 PWM0(Alt5)

とも、書いてある。

The PWM0 output of BCM 18 is particularly useful, in combination with some fast, direct memory access trickery, for driving tricky devices with very specific timings. The WS2812 LEDs on the Unicorn HAT are a good example of this in action.

とある。

電流について

ピンの種類 電流
5Vピン USB給電 - 900mA
3.3vピン 100mA
GPIO 8mA/本, 50mA/全体

実例で学ぶRaspberry Pi電子工作 より抜粋