Who can I start learning Raspberry Pi with

What is a Raspberry Pi? Start, set up and orientate the Pi

You need the following parts for the instructions

What is a Raspberry Pi?

Good day. Nice that you made it past the introduction. Now you are probably wondering who you are and why you are, and what this exhausting being is all about. Unfortunately, we cannot answer these questions for you either. What we can tell you with all certainty, however, is that a Raspberry Pi is a great computer for learning to program. And not because the name always reminds us of raspberry cake - at least not just because of that. Rather, we are convinced that this little thing has a lot of exciting and practical skills that make the life of a programming apprentice much easier. Because in addition to its slim appearance the size of a credit card and all the important connections for power, display, mouse and the mini vacuum cleaner for the keyboard, the Raspberry Pi also offers the so-called GPIO interface, which makes the hearts of hobbyists beat faster. If you do it right, pretty much anything can be plugged in here. From LEDs to sensors to rocket control units for your first Mars mission. All you need is imagination and the right programming code. Fortunately, all of the super cool things you need to get started are already included in your youth programming starter kit.

And because the basic idea of ​​the Rasberry Pi is to enable young people to learn to program, the mini-PC costs around € 70, uses free operating systems and runs with the Python programming language. In addition, this little computer is so successful that more than ten million pieces have already been produced. The programming language Python is at least as great as raspberry cake, because although Python is very easy to learn, you can do a lot of exciting things with it.

Start and set up the Pi

Before you can start up the Pi's engines, you have to set it up first. The best solution for all people and computers involved is if you proceed according to this 4-point contingency plan:

  1. Insert an SD card with pre-installed noobs into the SD card slot. If you don't know where to get such an SD card, visit our online platform.
  2. Connect the Pi and a display to each other using an HDMI cable.
  3. Connect the keyboard via USB.
  4. Bring the Pi to life, plug in the power plug.

If everything is in place and the SD card is installed correctly, the Pi should now flash its LEDs wildly, and the Noobs start menu should soon appear on the display.

Noobs is not yet the operating system we will be working with, but rather it allows us to install an operating system of our choice. Since you probably have no idea which operating system to choose now, I'll give you a tip. You want to install Raspbian. So choose Raspbian (with Enter). Make sure that German is selected for the language. If this is not the case, you can select the language with the l key and the keyboard layout with 9. Then press i to install the operating system. By the way, you are sure too! This can now take a few minutes (in our test it took 19 minutes and 59 seconds).

Now Raspbian starts for the first time. You can tell from the amount of text that runs across the display. What this all means is not so important at first. The only important thing is that it looks cool. Since you and the Pi are starting Raspbian for the first time, you should give each other some time. That can take a few minutes.

The first time you start the Raspbian desktop opens. Because as I said: The Raspberry Pi is a real computer, just in a smaller format. Even if the mouse is a great thing - we will mainly work with the terminal. You can easily access this under: Menu -> Accessories or Accessories -> Terminal. If you only have one keyboard connected, you can also reach this menu item with the Windows key (between Ctrl and Alt).

By the way, this is what terminal commands look like with us. You can recognize this by the text "Bash" and the $ at the beginning of the command. When you type the text, it is important that you leave out the $! So enter the following command without the $ sign so that we can set a few more things:

Here you can easily find yourself with the help of the Arrow keys and the Tab key move. When you want to confirm something, the Enter key is your means to an end.

Under "Advanced Options" please activate "SSH" once (enable stands for activate). You will need this in order to be able to operate your Pi later without a display. Last step, I can hardly wait: You should also activate "SPI" in the "Advanced Options". This is important for the display. Always select "Ja" / "Yes" for the following questions. With this we determine that SPI is always there at the start!

Ok, that was really exhausting now! But now you can restart the Pi with all the important new settings with "Finish".

If it occurred to you that you forgot something, you can use the command

later return to the settings menu. The default credentials are "pi" for the username and "raspberry" for the password. First you have to enter the username for "raspberrypi login:" and for "Password" the password "raspberry". But don't be surprised if the password is not displayed, this is a security measure. If the Pi starts with the desktop, you usually do not need to log in.

How do I orient myself on the Pi?

Like all cool gangsters from films, we will also use the so-called terminal here. That is this thing that shows everything in the form of text and that understands all input even in text form. Basically it is the operating system that you know from normal PCs, only without the graphical user interface. We do this so that we can concentrate on our program and our evil plans to conquer the world.

And we don't have to worry about topics like choosing the right web browser.

You can find all the important instructions for the terminal on the cheat sheet that comes with the booklet. But for starters, we're going to explain and try out the most important of the important instructions. So start your Pi and log in so that I can tell you everything that is really important to start with ... Done? Cool! The default username is "pi" and the password "raspberry". If you start with the desktop, you first had to start the terminal via Menu -> Accessories -> Terminal. Immediately after you have logged in, you will find yourself in the Pi's home directory. You can think of it as a large folder in which you can, among other things, create files that contain your program code or your meal plan for the next week. And so that you can always keep things tidy - just as mom and dad want your room to be - you can also create subfolders here in which you can then save files. I'll show you how to create a new folder in which you can save all of your programs from this booklet. It's very easy. Just enter the following line:

And if you now ...

you will find yourself in the folder you created earlier. With the $ you know that it is a terminal command. So you don't have to enter that.

And if you just want to go back one parent folder, a simple one is enough:

Now of course you want to know what is hidden in such a folder. That could be anything. From your one super program that does all your homework for you to the socks that always disappear in the washing machine. You can find out like this:

Now the Pi will show you all the files in this folder. Now you should also see your previously created folder in blue. Can't life always be so easy?

And from which folder do I see the files now? To find out which folder you are in, enter the following command:

Not the folder you would like to have? No problem! Simply switch with:

in your desired subfolder (of course you have to enter the correct folder name for "folder name"; of course).

Set up wifi

Back then, you needed either a wired connection or a WiFi stick to get online. The latter is now almost on the Raspberry Pi 3, together with Bluetooth. Because of this, we can now almost easily connect to the Internet. You will need an internet connection to download more items later. If you already have a connection with the cable, you can skip the following part. The important thing is that you now have three things: A WiFi network nearby, the access data and a Raspberry Pi with at least version 3 or another Pi with a wifi stick. Of course, you can also set up the Internet with the graphical user interface, but we will stay with the terminal for the time being. Because in order to establish a WiFi connection, we first have to tell our Pi the correct data. For this we need to edit the following file.

Up to everything should be the same with you. These lines are there and shouldn't be changed. Under Network we define a new WLAN connection. The ssid stands for the name of the WiFi network. This should be written in the "" behind it. The password is meant by psk. You also enter this between the "". The third point is a little more complicated because there you have to enter the type of network. If the network has no password at all, you can omit the line with psk and write for it. After changing the file you have to restart the Pi.

Any questions or feedback?