Raspberry Pi Projects for Dummies


What to do with your Raspberry Pi

Following on from the Success of Raspberry Pi for Dummies Willy asked me to do a projects book for them. Brock Craft and Jonathan Evans jumped on board and we set out to generate the natural follow on book. This concentrates on not only practical projects with this plucky little computer but also on how to go about doing projects and setting up your workshop.

There is plenty to explore with the Raspberry Pi and we take you to some or the areas that are particularly interesting to us. We hope that you will agree that they are fascinating, and not the usual fair for such a book.



How to use this book

Getting ready

Chapter 1 - Getting started with your Raspberry Pi - setting up, connections & trouble shooting

Chapter 2 - Setting up your tools and workbench

Chapter 3 - Techniques you will need - looking at the basic software environment and how to interact with it

Chapter 4 - Meet the Raspberry Pi Family

Projects with LEDs & Switches

Chapter 5 - The sauce bottle game

Chapter 6 - Stomp the bugs

Chapter 7 - The Light Fantastic

Chapter 8 - Four games for the Light Fantastic

Hardware Projects

Chapter 9 - Advanced interfaces - including A/D & D/A temperature sensor

Chapter 10 - Raspberry Pi in the sky - Understand the cloud, data base logger, using PrivateEyePi

Chapter 11 - Webcam & computer vision - detecting motion, interpreting colour, Connect 4 vision game

Chapter 12 - The Raspberry Jazz glitter trio - music from a glitter stick and web cam

LEGO* & Pi Projects

Chapter 13 - The LEGO* Mindstorms system and how the Pi can interact with it

Chapter 14 - The Dice game - a Pi controlled Lego robot

Chapter 15 - LEGO* direct - using LEGO* sensors and motors without the LEGO* brick

Exploring RISC OS

Chapter 16 - Why RISC OS - an introduction to the operating system

Chapter 17 - RISC OS coding - how to write programs in BBC BASIC

Chapter 18 - A transistor tester - a project to make using RISC OS

Chapter 19 - RISC OS and the GPIO pins

Part of 10's

Chapter 20 - Ten great LEGO on line LEGO projects

Chapter 21 - Ten electronic component suppliers

Back to the Punnet

Raspberry Glitter Jazz Trio

The Dice game

Some selected projects

Transistor Tester

Some places around the web for more information:-



A webcam points at a miniature glitter stick. It is illuminated from the underside by red, green and blue LEDs fading in and out. The camera monitors sixteen points in the image and if any one of the red, green or blue components exceeds a threshold then a note is played from a saxophone, bass or drums. The result is a fair imitation of "free jazz".

This is a game of skill where you place a dice down and the top number gets subtracted from a total. The aim is to reduce the total to exactly zero or force your opponent to overshoot zero. The only rule is that when making a move you can't use the number currently on the top or bottom of the dice.

You place the dice on the platform, the LEGO* robot examines the dice to see what number you have played, it keeps a running total of the score, and tips the dice out on the platform so it lands the right way up for the computer's turn. You can win if you play a prefect game but make an error and you will loose. My original Dice Game is here.

This handy little device will not only test any transistor connect to it, but will tell you the gain, the type (PNP or NPN) and tell you the pinout, that is what is the emitter, collector and base.

This uses the I2C bus and the software provides a RISC OS desk top application.

Sauce Bottle game

Using the simplest of circuits, a simple tilt switch wired into the Raspberry Pi's GPIO pin, make a race game where you shake the bottle to get it to empty as quick as you can. Simple circuit stunning graphics.

*LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorise or endorse this book.

The Light Fantastic

This is a project with a multitude of applications. Basically it is an illuminated 4 by 4 grid of switches. Each switch is lit by a WS2812b LED which contains control logic enabling it to be simply set to any colour. There are four gams to play with this described in the book, as well as a bonus game you can find here. Bonus game