Pin GPIO ( G general P urpose I nput O utput) The Raspberry PI with electronics as we can also work with an easy way to allow us Arduino .
There are 26 pins arranged in two rows of 13, and each pin has its specific task, or general purpose, I'm going to show the distribution of pins Raspberry PI Rev 2.0 , that I have.
We can see in the two reviewed the following comparative picture, PI is the second revision of two pins + 5V , five of the ground (grounding), the two + 3,3V , eight pinsGPIO general purpose , five SP10 , two UART and two pins I2Cl .
We have the new Raspberry PI A + B + and 14- pin GPIO more, ID_SD , ID_SC , threepins GND , and nine GPIO General Purpose ; Allow us to develop more large projects.
With them we can control electronic circuits , for example , moving motors or power-control relay will act as a circuit switch for 220V .
These pins can be configured and controlled directly by the interpreter commands bash , or with programming languages such as C O dragon , thanks to libraries GPIO that they have applied for them.
In my case I chose the dragon , because despite not ever programmed in the language, which will allow you to learn on the fly, it is recommended to start programming them.
I also find it very interesting the possibility of executing scripts in Python by writing us an HTML button , what , when depressed PHP performs a function , whether at the same time to execute Python script called
It is a web application we use to manage our projects from any device will allow the browser, so being able to get to implement automation solutions very economically , for example.
Now that we know that they pin GPIO and so they serve a light introduction to the next installment we will see the basic electronics as follows at the end of a circuit diagram to mount, to turn a diode LED and that everything is lined up properly and check the work, I called the Hello World version GPIO .