
Pin GPIO ( G eneral P urpose I nput O utput) of the Raspberry PI Pinout allow us to work with electronics easy way we could also do with Arduino .
There are 26 pins organized in two rows of 13, and each of the pins either has its specific function or is of general purpose, I am going to show the distribution of the pins of the Raspberry PI Rev 2.0 , since it is the one I have .
As we can see in the following comparative image of the two revisions, in the second revision of the IP we have two + 5V , five GROUND (ground), two + 3.3V , eight GPIO general purpose pins , five SP10 , two UART , and two I2C1 pins .
In new Raspberry PI A + and B + have 14 – pin GPIO more, ID_SD , ID_SC , three pins GND , and nine GPIO general purpose ; which will allow us to develop bigger projects.
With them we can control electronic circuits , for example to move motors or control the on and off relays that will act as switches for 220V circuits .
These pins can be configured and controlled directly from the interpreter Bash , or from programming languages such as C or Python , thanks to the GPIO libraries that have been implemented for them.
In my case I have chosen Python , because although I have never programmed in this language, what will allow me to learn on the go with you, is one of the recommended to start programming.
In addition I find very interesting the possibility of executing the Scripts in Python that we write using an HTML button , which when pressed executes a function in PHP , which in turn calls to execute the Script in Python.
Raspberry Pi 4 release date
This will allow us to manage our projects from the browser of any device through a Web application, so we can get to implement very economic domotic solutions , for example.
Now that we know are the pins GPIO and to serve in the next installment we will see a slight introduction to basic electronics to finally mount a circuit like the following scheme to light a LED diode and check that everything is ready and works correctly, to what I have called Hello World version GPIO
Raspberry Pi 4 is coming
We need your help
- Todos los aspectos legendarios de la temporada 12 de Overwatch 2
- Guía del Silo Theta de seguridad humana (rompecabezas del Silo Theta)
- Los mejores juegos de Pokémon para Nintendo Switch
- Cómo hacer monstruos deliciosos con Delicious en Dungeon Manga Creator Ryoko Kui
- BitLife: Cómo unirse a una hermandad
- Anime Quest Trello Link e server Discord (agosto 2024)
- El manga Offshore Lightning nominado al premio Ignatz 2024 – Noticias
- El crossover entre EVANGELION y Nikke podría demostrar que la mejor defensa contra los ángeles son los muros que llegan hasta el pecho – Interés
- Reseña de la serie de anime Rising Impact temporada 2 – Reseña
- Enlace de Trello y servidor de Discord de Clover Retribution (agosto de 2024)