Issue 11

April 2013

Editorial

Welcome to issue 11,

The Raspberry Pi computer opens up many opportunities.  It can be used as a web server, print server and as a wireless access point.  If the problem can be solved with a low power Linux computer it can be solved with a Raspberry Pi.

This month we present some more articles which demonstrate how versatile a Raspberry Pi computer is.  There are hardware and automation projects and several programming articles to choose from.  We are pleased to provide a first assembly article and hope to see some bare-metal coding in the future.

Lastly, thank you to all of those who have ordered Volume 1 (Issues 1-8) as part of the Kickstarter project and through PayPal.  We are very grateful for your continued patience.  We are also pleased to announce that the binders and stickers have been  printed and several of the issues from volume one have been submitted for printing.  We hope to be shipping Volume 1 very soon.

If you can dedicate some time to help with article layout or testing, please email editor@themagpi.com.

Issue Contents

  1. Home heating automation with a Raspberry Pi and a smartphone

    Introduction In this article we explore the possibilities of using a Raspberry Pi for the remote control and monitoring of a home heating system using servo control, analogue to digital conversion, C programming and web development. Servo control We decided … Continued

    4
  2. Power and I/O Expansion Board

    This project is for hobbyists confident with a soldering iron and are prepared to purchase their own components Functionality In spite of its small size, Power I/O endows the Raspberry Pi with substantial GPIO interfacing capabilities and flexibile power supply … Continued

    6
  3. Turn your Raspberry Pi into a wireless access point

    This article explains how to convert your Raspberry Pi into a wireless access point using a simple WiFi USB dongle. You will need – A Raspberry Pi model B (of course!) – An SD Card for your Raspberry Pi: I … Continued

    10
  4. Minecraft: Pi edition

    The game Minecraft is a game which has achieved monumental success – almost 30 million copies, across all its versions, have been sold; not bad for a game which doesn’t really have a point! It is classified as an Indie … Continued

    16
  5. Printing with CUPS – Configuring CUPS

    This is a two part tutorial on configuring printing on the Raspberry Pi. In this article I am going to explain some of the essentials of setting up printing and adding your printer in Raspbian. This could be useful for … Continued

    20
  6. Setting up a simple Intranet

    In this tutorial I will be showing you how to set up a very basic intranet that is hosted from a Raspberry Pi. What is an intranet? An intranet is similar to a website, however it is not accessible outside … Continued

    23
  7. Assembly language programming – part 1

    Learn how to program your favourite computer in its native machine code by using Assembly language. One of the questions I get asked most of all is, “What’s the difference between assembly language and machine code?” The answer I give … Continued

    25
  8. An introduction to Charm data types

    An introduction to Charm data types Computers can accurately and quickly manage, manipulate and transform information in accordance with sets of coded instructions packaged into operating systems and programs. In this article of the Charm series I am going to … Continued

    28
  9. Console colours – Adding colour to the terminal

    Sometimes plain text on a terminal background is just not exciting enough. While there is a full GNU library called ncurses, this article takes a look at how to use simple escape sequences to control colours from several different languages. … Continued

    32
  10. The Scratch Patch – King of the Heap (Sort)

    In this month’s article we are going to implement a heap sort. The big idea here is the “heap”. If you have a set of numbers you can arrange them in a kind of tree structure. Rules of the Heap … Continued

    34