Craft brewery: libraries

Brewery – Dead link

New link : Libraries

Hello everybody, I am Arthur Renard and for my electronics project I will present yourseelf our differents libraries.

The different libraries that I am going to speak about are the one we used for programming our raspberry pi.

At the beginning we had to install raspbian on our raspberry. For this task, we had to create a bootable SD card and we did it with the ApplePi Baker software. When the SD card has been made we put it in the raspberry and we powered the raspberry. Lots of lines appeared at the screen, we wrote sudo raspi-config on the keyboard. Then the interface appeared, from this moment we had to change the language, the QWERTY keyboard to the AZERTY and we changed the password.

Now i’m going to present you the two methods of connexion: SSH and the VNC connexion.

The ssh is used with the terminal of the mac and we had just to know the IP of the raspberry and to write ssh pi@ IP ADRESS. Then it configures itself and now we are able to use the raspberry without screen an keyboard. Only with the mac.

The second method is the vnc, it is able to control the raspberry with the mac. For this step, we had just to install the vncserver on the mac and on the raspberry. After the configuration we can use the rasperry with the mouse and the keyboard of the computer.

Then we need to install the module RPI.GPIO. The module allow an connection between the Raspberry and the breadboard.

We will now install the Apache web server that allows the machine to analyse the requests coming from the user and return the file matching with this request. With Apache we are now able to use HTML contents.

To use our web page we will now have to use PHP contents. PHP is one language that is read and executed directly on the server (the raspberry). After the server send it on the HTML web page.

Now that everything is made we will have to do the code on the raspberry but that is for one other video.

Thank you for listening see you soon!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s