I have bought a raspberry pi some time ago, and I have been written some code, but now I need to take use of the breadboarding material. I don't really understand how and where should I connect a device once I have my breadboard joined to my raspberry pi. Some people provide the needed wiring, but I suppose this can be changeable. So how do I know how to connect them and how to read the data from them correctly? Even though some devices already include the appropriate drivers. I have read something about the pin position (like an id). I think that's the point.
The GPIO pins are laid out as such:
obviously pin one and 2 provide power to a device. pins 3 and 5 are I2C pins. The DNC pins (pin 4, 9, 14, 17, 20) are Do not Connect pins and could be used as ground. (on model B gpio pins 4 is 5v and 17 is 3.3v).
The UART pins(8,10) are Universal Async reciever transmiter (txd is transmit, rxd is recieve)
pins 19, 21,23,24,26 are all SPI pins. MOSI(19) is Master out Slave in; MISO is Master in Slave out SCLK is Serial Clock (output from master).CE is chip enable(also called CS or SS). I am pretty sure the remaining pins are simply high/low pins (not 100% sure as I use predominantly the SPI interface).