Category: Blog

Byte Insight

Raspberry Pi

The Raspberry Pi is the infamous credit card sized computer that has revitalised the computer based experiementation first seen with the BBC Micro in the 1980s.   It runs a special flavour of Linux called Raspbian, which encourages students to explore the inner workings of a modern operating system.  The Pi comes with GPIO (General Purpose Input/Output) pins that allow it to be connected to external devices ranging from LEDs and motors to temperature and movement sensors.   There many things that you can do with a Raspberry Pi including:

Light Sensor

This circuit is based on the ARDX 09 circuit from Oomlout.  It shows how the Arduino can monitor light values using a Photo Resistor and adjust a LED in response. 

Pi Hacking

The aims of this exercise are to explore a small LAN looking at:

  • the sort of information we can collect.
  • some of the command line tools that are available.
  • how we can communicate across the network

Arduino

The amazing versatile Arduino microprocessor board that can be used in many projects.

RPi Twitter Led

This program follows on from the standard Python Twitter experiments.

The original inspiration for this whole experiment came from a @Rob Bishop (OCR) Raspberry Pi Recipe Card.  The objective of the program is to light an LED every time a tweet containing a particular word is sent to a certain person.

Larsen Scanner

This project is based on ARDX 2 from Oomlout and uses multiple LEDs to create simple patterns.  It gets its name from Glen A. Larsen who wrote the Knight Rider TV Series.  It uses for loops, which are one of the key repetition constructs in computing.

Zumo Robot

The Pololu Zumo Robot is a dual motor rubber tracked robot that fits inside the 10cm x 10cm rule for Mini Sumo Robot Competitions (Click here to see a video). Powered by 4 x AA Batteries it is controlled by an Arduino Uno and the Zumo Robot Shield working in tandem.

Zumo Buzzer

The Zumo Robot shield comes with a buzzer that can be used to signify events or actions.  

Turtle

Python Turtle is based on the Logo Programming Language that has been used as a popular way of teaching children programming for many years.  

MySql – Feedback

Getting helpful feedback from MySQL when it errors is possible if you use the following:

mysql_query($sql) or die('Some useful message:' . mysql_error() );