First play with a Raspberry Pi

Image of Jonathan Butcher

Posted by Jonathan Butcher
on Friday, July 13, 2012

I've been on work experience at Purple Tuesday this week, the task they set me was to setup a Raspberry Pi from scratch and create a simple program. The only time I had heard of the Raspberry Pi was when it was on the news, so I wasn't entirely sure on what it was supposed to be used for and as I'm not a computing expert, I was a little unsure what to expect!

First Look
Unboxing the Raspberry Pi

When you take the Raspberry Pi out of the box, it is just a circuit board and you have to plug everything in to it and download an operating system onto it. I relied heavily on the guide on the Raspberry Pi website, which I found very helpful as it gave you good step by step instructions.

Getting Started
First Boot

The hardest part of getting setup was installing the operation system, which needs to be installed on an SD card. I had a few problems here because I didn't really know what files I needed to download and my knowledge in this area is quite limited. But with some help I managed to download and extract all the right files and get them loaded to the SD card. Now we could boot it up! It started first time with no problems at all. Although the screen resolution was quite bad so we needed to change that, but I am not sure if that was because of the Raspberry Pi its self, or if it was the TV we were using.

Creating an App from Scratch
Learning Scratch

After logging in and starting the windows environment I had a quick look at all the programs available. I had to create an app using one of these programs; the program I was going to use was Scratch. I had used Scratch a few times before at school, but before this week I didn't really know how to use it properly.

First Level

I decided to make a game where you control a car around a track and you have to complete the track in a certain amount of time otherwise you can't continue the game, you also have to keep inside the track boundaries otherwise you have to start again. Scratch enables you to do this by dragging commands onto the screen which when joined together, enable you to make things happen. The guys told me it's like writing computer code without the code! As well as using Scratch I also used Photoshop and Illustrator to try and design the car and tracks

Couple of Problems...
Alpha Version

When I was using scratch, the Raspberry Pi seemed to run really slowly which meant that it took a long time to put in the commands. This was quite annoying because you would only have one program running and everything was really laggy, for example if you were dragging a command across the screen it wouldn't move across the screen smoothly it would judder across the screen, this would all happen when you only have one program running.

Second Level

Another problem that I found with the Raspberry Pi was that its pre-set internet browser was very slow, and I couldn't even load up my emails it was so slow. Fortunately I was able to download and install Chromium, which is like Google Chrome and this was much better. But that wasn't the biggest issue I had unfortunately, when I went to turn it off one time, I quit scratch and chose the option “save and quit”, so that is what I thought it had done, so I shut down the Raspberry Pi, then when I came back on it the file had gone and that was 3 solid days of work gone so I had to do it all over again! The guys told me I should have been keeping backups, oops!

Conclusion
Game Complete

What I think overall of the Raspberry Pi is that it is a bit slow for what I was trying to do on it. I don't think it can handle you using more than one program at a time. I also noticed that it crashed a lot of the time so I wouldn't recommend it to anybody who wants to do things quickly. However I do think that the idea of it is good and for something which is about £20 it isn't too bad, it does do pretty much everything that you can do on a standard computer which I think is very good for something which is a fraction of the price. So, I do like the idea of it and I would recommend it to anybody who only uses a computer occasionally and if you just wanted to do simple things on it e.g check the internet, or write a document.

2 comments
Stephen
7/15/2012 5:53:21 PM
Good review! So do you think that these mini computers would be useful in your school?
12/1/2012 4:43:49 PM
Fortunately the software stack has come along way since July. We now have a hardware float enabled software distribution called Raspbian, which allows us to squeeze a whole lot more performance without making any changes to the hardware. Furthermore, there are entirely alternative operating systems such as RISC OS, which is a tiny OS that really flys on the Pi hardware. Nice to read about your development story Jonathan, if you're interested there's a informal group called Norwich Raspberry Pi User and Developer Group who meet in the city centre every couple of months. We like to show each other what we've been working on, discuss ideas and develop collaboratively amongst friends with a coffee in hand ;-) The next meetup will run on Saturday 8th December. See http://www.norwichrpi.org for details.

Post a Comment

Full Name
Email Address
Website
Comments
Real Time Analytics