General Purpose Input Output (Universal input/output) abbreviated as GPIO, or bus extender, simplifies the expansion of I/O ports with industry standard I²C, SMBus, or SPI interfaces. GPIO products provide additional control and monitoring capabilities when the microcontroller or chipset does not have enough I/O ports or when the system requires remote serial communication or control.
This article has nothing to say, mainly stickers! But this article is very important first is for the next article to do bedding, second you will often check Gpio interface! Be sure to collect the good:)
One, Raspberry Pi family photo
I admire the foreign this small partner, collect so full, incredibly still have to pay to buy the only not the paragraph! Little Buddy is so rich!
I purchased Rev 1 model B, if you buy now should be Model B +, each generation of hardware has slight differences, but does not affect the test of the later article!
Second, Raspberry Pi GPIO pin definition
With the family photo above, you can easily find the raspberry Pi corresponding Gpio interface parameter table in your hand!
The Common Raspberry Pi interface number is divided into two kinds of 26-pin a 40-pin, according to their own PI can!
Pin definition is divided into two, the first is more common, the second relatively less use, at least I am, but in the next article will use the second serial communication definition!
The first type of definition:
The second definition:
Three, Raspberry Pi GPIO pin identification
Many small partners may not know how to count Gpio pins and see! Find a Raspberry Pi B + HD uncensored picture:), each version of the PIN number method is the same, the Raspberry Pi to their own way, the top left corner is the first stitch, and the adjacent horizontal pin is the second stitch, interested can refer to the Gpio pin definition start number bar!
Article Source: http://blog.csdn.net/johnnycode/article/details/41851043
"Smart home" Raspberry Pi Gpio Interface Chapter