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:
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
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.
The Zumo Robot shield comes with a buzzer that can be used to signify events or actions.
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() );