I guess the title says it all.

We’re well past the time when Perl should have an ebook about programming on the Raspberry Pi, so let’s fix that. I’d like to get a feel for what people will want to get out of this.

It will probably be based around Steve Bertrand’s series of RPi::* modules. We’ll expand from there into web projects ( Device::WebIO::Dancer ), capturing from the camera ( GStreamer1 ), and interfacing with Arduino ( Device::Firmata ).

For i2c/SPI examples, we’ll show how to interface directly with some low-cost sensors. Tentatively, these will be an accelerometer for SPI (ADXL345) and a temperature sensor for i2c (MPL115A2). Both are available with breakout boards from Adafruit and Sparkfun.

Then there will be real project examples, such as a garage door opener and a temperature logger.

Here’s my chapter outline so far:

Introduction

RPi Models, Basic Setup, and Tools/Hardware You Need

GPIO [blink an LED, read from a switch, pullups/pulldowns]

SPI [ADXL345 accelerometer?]

i2c [MPL115A2 temperature sensor?]

Camera [GStreamer1]

Serial [GPS]

Expanding with Firmata

Interfacing from the Web [Device::WebIO]

PWM and Analog Input

Asynchronous code

Build Project: Garage Door Opener

Build Project: Temperature Logger

And there’s even a start on a cover: