minnow_max.md: work around bad rendering in GitHub
[contrib/mraa.git] / docs / raspberry_pi_b.md
1 Raspberry Pi Model B    {#rasppib}
2 ====================
3
4 The Raspberry Pi is based on the Broadcom BCM2835 system on a chip,
5 which includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU
6 and was originally shipped with 256 megabytes of RAM, later 
7 upgraded (Model B & Model B+) to 512 MB.
8
9 Revision Support
10 ----------------
11 Currently only rev 1 is supported.
12
13 Interface notes
14 ---------------
15 **GPIO** Supported on pin 6,10,11,12,14,15,17,21
16
17 **PWM** Whilst the Raspberry Pi is meant to have 1 PWM channel this is currently not supported.
18
19 **I2C** The blacklist for the kernel module will need to be removed and the `i2c-dev` needs to be loaded.
20
21 **SPI** The blacklist for the kernel module needs to be removed and `spidev` loaded
22
23 Pin Mapping
24 -----------
25
26 | MRAA Number | Physical Pin | Function |
27 |-------------|--------------|----------|
28 | 1           | P1-01        | 3V3 VCC  |
29 | 2           | P1-02        | 5V VCC   |
30 | 3           | P1-03        | I2C SDA  |
31 | 4           | P1-04        | 5V VCC   |
32 | 5           | P1-05        | I2C SCL  |
33 | 6           | P1-06        | GND      |
34 | 7           | P1-07        | GPIO(4)  |
35 | 8           | P1-08        | UART TX  |
36 | 9           | P1-09        | GND      |
37 | 10           | P1-10        | UART RX  |
38 | 11          | P1-11        | GPIO(17) |
39 | 12          | P1-12        | GPIO(18) |
40 | 13          | P1-13        | GPIO(21) |
41 | 14          | P1-14        | GND      |
42 | 15          | P1-15        | GPIO(22) |
43 | 16          | P1-16        | GPIO(23) |
44 | 17          | P1-17        | 3V3 VCC  |
45 | 18          | P1-18        | GPIO(24) |
46 | 19          | P1-19        | SPI MOSI |
47 | 20          | P1-20        | GND      |
48 | 21          | P1-21        | SPI MISO |
49 | 22          | P1-22        | GPIO(25) |
50 | 23          | P1-23        | SPI SCL  |
51 | 24          | P1-24        | SPI CS0  |
52 | 25          | P1-25        | GND      |
53 | 26          | P1-26        | SPI CS1  |