Issue 2

June 2012

Editorial

Welcome to Issue 2 of The MagPi, a community led magazine keeping you up to date with all things Raspberry Pi.

What a month it has been following the release of Issue 1! The interest we received has astounded us, with over 100,000 views by readers as far apart as the US to New Zealand and Russia to South America. We have had positive reviews from the BBC’s Rory Cellan-Jones, the Wall Street Journal Tech and many others. Thank you all for your kind words of support and constructive comments.

Following the release of Issue 1, some of our readers soon highlighted an error in the logo for JavaScript. We hope that this has not caused too much confusion and
wish to clarify that the official logo for JavaScript is as follows:
Thank you for drawing this to our attention.

In this issue of the MagPi we return to the Python Pit to give you more tasty tutorials and tips whilst also introducing you to our brand new section, the Command Line Clinic. The Scratch Patch will be returning in Issue 3. We invite you into the world of interfacing, how to install an Operating System on an SD card and setting up the basics on your Raspberry Pi. There is also more on building the skutter robotic arm. If this wasn’t enough, we thought we would treat you to a double page spread dissecting the Pi and much, much more.

Before drawing this editorial to an end, I would like to take this opportunity to thank not only the Raspberry Pi Foundation for warmly welcoming us, but also to the MagPi team and all of its contributors for their continual hard work and dedication to producing the magazine.

We hope you continue to enjoy reading the MagPi and that it inspires you to get programming.

Ash Stone
Chief Editor of The MagPi

This issue is supported by:

Issue Contents

  1. Little bundles of joy

    The first orders of Raspberry Pi computers are now reaching the homes of excited owners.3
  2. Pi Setup

    There are many ways to setup the Raspberry Pi, depending on your needs and the peripherals you wish to use.4
  3. SD Card Setup

    Download your preferred Operating System (OS) you wish to run from the Raspberry Pi website: www.raspberrypi.org/downloads •    The download page includes instructions for carrying out file corruption checks (using SHA-1 checksums), recommended to avoid problems. •    Take note of the … Continued6
  4. Resize Partitions

    In order to maximise the use of an SD card, it is recommended the main partition of the card is enlarged to fill up the remaining unallocated space on the card.8
  5. In Control

    If you want a change from playing games or browsing the internet, what else is there that you can do with a computer? What I would like to share with you is the tremendous fascination of using a computer for control. You can get the computer to switch things on and off, respond to events and take a variety of measurements. This is known as ‘interfacing’.10
  6. Pi Dissection

      Information based on Raspberry Pi Rev1 board and given as a guide. Tip: Engineers often use 3″V”3 notation in electrical drawings (schematics) to indicate a 3.3V or 1K2 (=1200) to ensure the decimal point is clearly marked (mistaking 33V … Continued16
  7. Skutter Part 1.5

    Bodge N Hackitt has been unable to provide us with part 2 of his Skutter project this month, due to exams and family commitments. But he will be back! In the meantime, tzj has bravely taken up the challenge of … Continued18
  8. Command Line Clinic

    This is the first in a series of articles to help you to start using the command line interface of your Raspberry Pi.20
  9. Computer Music

    Interesting facts The first computer to sing a song was an IBM 7094 in 1961. The song was Daisy Bell (as in ‘Daaaisy, Daaaisy, give me your answer, do’). The song was also used in the science fiction film 2001: … Continued22
  10. Python in your VirtualBox

    Following on from last time, we thought we would show you how to write and run Python programs using your VirtualBox, and a few simple file and folder operations.24
  11. Pygame Graphics

    This month we are going to start looking at how the Pygame libraries can help to visually improve our programs.26