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 .
GPIO with the first step.
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 .
By comparing the two amendments Ripai different pinout.
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.
Raspberry Pinout PI A + and B +, similar to the Rev.. 2 but with more GPIO.
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.
Hello World in Python.
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.
Web applications in HTML + PHP + GPIO through some LEDs to handle the dragon.
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 .
To control the power of an LED diode circuit needed.
The Raspberry Pi is a small machine, very affordable, portable, and easy. In other words, and despite its price and size, the card remains high in terms of projects. But when you get your hands for the first time on this mini-computer, it can be a challenge to understand what projects you could do in the first place The ten projects Raspberry Pi presented below are for beginners , and they are perfect for an introduction to hardware and software capabilities of the Pi, and help you to understand in minutes.Obviously, projects on the canvas are many, and you can do much more with this computer. In fact, only your imagination is the limit of what you can do.
Motion sensor and alarm driven by the Raspberry Pi
Sensors and alarms are often considered the domain of Arduino, Raspberry Pi but can also operate with such devices! Creating a simple motion sensor and siren alarm piezo will teach you the basics of working with external hardware of Pi. This project uses the Python programming language, so that you will start to learn what language if you are a novice. You can start with just a Pi, an SD card, a passive infrared sensor, a piezo buzzer, a single resistor, and some son.
Digital photo frame with the Raspberry Pi
Although the components of this project are a little more expensive than some of the others (you should be able to get it all for less than 200 euros), this project is really cool. It will result ina beautiful digital photo frame that you can use in your home . Since Pi is very versatile, you can also use it to stream your movies or web browsing, making it a fun and useful project. A Raspberry Pi, an LCD, and a frame is all you need to meet your needs. If you have an older monitor lying around, or you can retrieve it anywhere, it's all good!
Retro Gaming with Retro Pi
Video games old school are great, and the Raspberry Pi can help you to replay your favorite childhood NES, SNES, N64, Playstation, and a bunch of other systems. RetroPi is one of the most popular ways to do this, and it is very easy to configure. It simply add a controller via USB, and you're done. And if you have time, you can even create an arcade.
A web interface for your Raspberry Pi
Configuring your remote Raspberry Pi is a great way to start learning some of the code that is needed to interact with your Pi from the outside world. This demonstration shows you how to turn on the LEDs from your smartphone through a simple user interface. The scripts are provided, so you will not need a large developing competence. But looking at different scripts will allow you to learn a lot about how to develop Web-based applications for your Pet.
A Personal Web Server
You might think that setting up a Web server is a complex process, but it is actually very easy, especially with utilities like OwnCloud that you will help with the installation. The Raspberry Pi is ideal for use as a personal server where you can store photos, music, movies, or even host a small website. This is a free cloud service! You will need an SD card and an Ethernet cable (or wireless dongle if you want a wireless-enabled server), and that's it! If you already have a personal server, you can also use your Pi to monitor his condition.
Add wireless to your printer with a Raspberry Pi
Wireless printers are great, but they can cost a bit more than traditional USB connected printers.If that's the case with your printer, Raspberry Pi can help you to turn it into a wireless device with a few simple commands, and thanks to a Wi-Fi dongle that you can buy for less than 10 euros.Insert the Wi-Fi dongle, plug in your printer, run a few commands, and you will be able to print remotely!
Encode a game of Pong on Rapsberry Pi
If you do not have components on hand, this project is very simple to start coding in Python on your Pi. All code is provided in this tutorial to create a version of Pong, the classic arcade game. If you've never used or Python Pygame before, it will be a great introduction, and will help you get the basics before moving on to more complex projects. You can also modify the code to improve performance or change the game as you see fit.
Create your music with Sonic Pi
Sonic Pi turns your Raspberry Pi synthesizer , allowing you to use basic programming skills to create sound effects and music from short samples of songs. Although Sonic Pi uses its own programming language, the principles you learn while creating music resserviront you in the future. Warning, this can be very addictive!
Ultrasonic Distance Measurement
Another good tutorial is a project that shows you how using an ultrasonic sensor coupled to your Pi you can measure the distance to other objects. Again, this is a project that is most often performed with an Arduino, but the simplicity of installation makes it an excellent project for the Pi.
An AirPlay receiver with the Raspberry Pi
As we find more and more Air Play-enabled speakers, these are still very expensive. Fortunately, you can use a Raspberry Pi as an Air Play receiver, allowing to give taste to your old speakers.With your Pi, a stereo jack, and a Wi-Fi dongle, you'll be able to stream music from your iPhone, iPad or Mac without spending lots of monies. In this project , Harry recycles his old amp Airplay a receiver that also features a Web interface and provides access to multiple streaming services through the OS Pi Music Box.
It's your turn
With these beginner projects earmarked for Raspberry Pi, you are sure to come across something that will interest you. The best way to start is to simply choose a project and go .You will learn the basics on how to use a Pi, and this tutorial might even refer you for your projects.
What projects have you found to be the best for your Raspberry Pi? Share your experiences in the comments below.