An occasionally updated collection of links to projects and resources for the Raspberry Pi.
- Internet radio – photo below
- Time-lapse photography • Bird photography • Water drop photography • Macro photography • Gigapixel photography • High-altitude baloon photography – (2), (3) • Deep Pi: Deep-water remote ocean-monitoring
- Temperature sensor: Tony Tosi • Cambridge University
- AirPi, an automatic air quality & weather monitoring device powered by a Raspberry Pi
- Bark-activated door-opener
Some starter projects with GPIO
Mio — GPIO: one input (a switch), and one output (an LED).
PiFace is an IO board for the Raspberry Pi computer — 8 buffered inputs, 8 outputs, and two relays that theoretically can handle 10 amperes at 230 volts. See Gordon’s Projects for a full review. The model allows you to disconnect the relays from two of the outputs, and there is a Python interface. To test the board (and my understanding of it), I rigged up a simple circuit with one external switch — a Morse code type key — one, LED, and one resistor. Below are photos of (i) the PiFace board riding on top of the Raspberry Pi, (ii) the circuit board (iii) the whole kit-and-kaboodle, (iv) the circuit.
The code for running the circuit is at gitHub. (i) Use
off(7) to turn the LED on an off manually; 7 is the pin the LED is wired to; (ii) use
blink(7) for a more exciting test; (iii) use
read(0) to read the switch, which is attached to pin 0; (iv) use
control(7,0) to control LED on pin 7 by the switch on pin 0 — flip the switch attached to pin 0 and ground to turn on the LED on pin 7. Of course all this is ridiculous overkill, but the idea is to get started and to test the PiFace + Raspberry Pi combo.
Note added: Stephen Visser has an excellent article on the PiFace.
PiFace sitting on top of Raspberry Pi
Kit and Kaboodle
Seurat, frame 4203
The Processing sketch from which the frame above was taken now has a name: Seurat. It has controls (radius and frame rate) that can be operated by the slider (linear potentiometer) and the joystick on an Arduino Esplora board. Arduino reads the sensor data and sends it to Processing over the serial (USB) port.
Code for Seurat | Code for Arduino
Arduino Esplora board
The next step in this project is to build a box with lots of knobs and switches to control Seurat via a standard Arduino board.
Credits: Jeremy Blum’s blog was a great help in figuring out how to make Arduino talk to Processing. Mark Frauenfelder post at boingboing.net has a useful (and fun) video on how to make a good enclosure for the electronics.