Raspberry Pi page


For mobile and wireless experiments:
Streaming video and motion detection:
Electronics and mechanics:


Raspberry Pi Pygame UI basics - this tutorial guides you through using pygame to create user interfaces for the PiTFT from Adafruit. It shows how to interact with GPIOs and I2C finishing up with a nice progress bar style widget for an analog input.

Raspberry Pi parking camera with distance sensor - a parking camera with distance sensor. The feed from the webcam is shown on the LCD with a distance read-out underneath. As you get closer to the object (my hand in the videos) a circle is overlaid on the video which gets larger as you move closer. Once you get to within 30cm of the object the word "STOP" is overlaid and everything turns red. This post was featured on HackADay, LifeHacker and many other blogs.

Raspberry Pi playing video on 2.2" LCD - The outcome of following a great guide to enable an Adafruit 2.2" LCD as a framebuffer device over SPI.

Raspberry Pi system monitor embedded on your own site - a demonstration of the embedding feature of ControlMyPi which allows you to place your control panel on your own site. This is a simple system monitor showing free ram, load average, core temperature etc.

Raspberry Pi midi driven solenoid bell - Uses a cheap USB/midi cable connected between a Roland TD9 v-drum kit and a Raspberry Pi. The Midi is decoded so whenever the snare drum is hit a GPIO fires to ring the bell using a solenoid. A little bit of fun.

Live Web Bicycle Dashboard using ControlMyPi - A Raspberry Pi using 3G to send GPS and accelerometer data up to ControlMyPi. Users can log in to ControlMyPi and watch the Live data displayed on the dashboard. A second follow up article walks through the Python code: Live Web Bicycle Dashboard - the code.

Control My Pi - Easy web remote control for your Raspberry Pi projects - In just a few lines of Python code you can create a control panel for your project accessible over the Internet. No firewall changes to make, no web servers to set up. Pick up your Raspberry Pi, take it to a friends house or work, school, a club, a coffee shop - connect it to 3G and carry it around or put it in your car - it doesn't matter where it is or what network you're on you'll be able to access your control panel on Control My Pi.

Raspberry Pi solenoid alarm bell - Controlling components on a separate power supply from the Raspberry Pi. This project uses a PIR sensor, an IR range sensor, a solenoid, a reception bell and some bright LEDs to form a proximity alarm system.

Raspberry Pi distance measuring sensor with LCD output - Measure distances from the Sharp GP2Y0A02YK0F sensor using an MCP3008 ADC and hardware SPI. The distance is displayed on the TextStar serial LCD with a bar graph.

Raspberry Pi hardware SPI analog inputs using the MCP3008 - a hardware SPI remake of the bit-banged Adafruit project: "Analog Inputs for Raspberry Pi Using the MCP3008".

Raspberry Pi with TextStar serial LCD display - the perfect companion for the Raspberry Pi. 16x2 and 4 buttons for input, runs right off the 3.3v TTL pins.

Raspberry Pi 7 segment displays - Learn about BCD and simple ICs by driving two seven segment displays from 6 gpio pins.
This project was blogged on the Raspberry Pi web site! Controlling a 7-segment display from half a world away
The results after a few weeks and about 15000 entries: 7 segment display webcam stats

Raspberry Pi GPIO and Motion - take a snapshot from a button push and indicate detected motion and other events on LEDs. Introduces the Python code service to make it easy to flash, switch on/off and single pulse LEDs from the command line and to hook shell commands to button pushes.

Motion Google Drive Uploader and Emailer - Python code to use with Motion to upload your video captures to Google Drive and send you an email.

Battery powered, Wireless, Motion detecting Raspberry Pi - capturing wildlife in the garden for about 12 hours on a single charge.

Raspberry Pi Webcam - streaming video to the Internet from a Sony Playstation Eye Camera (PS3) using ffserver and ffmpeg.


Anonymous said...

Hey Jeremy,
I really like what you're doing. I've got an idea for a project and I'd like to chat with you about that. So please write me a mail to: ANonym81123341@freenet.de

I'm sorry for that mail address but I don't want my real address to apear in the internet.

I'm looking forward to hearing from you

Anonymous said...

Love your projects!

Anonymous said...

Hi Jeremy,
Just a note to say thanks for the excellent and educational posts.
Keep up the good work!

GeekTeacher said...

Hi Jeremy, love these projects. I've signed up for details of your monthly kit idea.

Is there any chance you could investigate the use of a USB microphone for reading the approximate pitch and volume of a sound or music. What I'd like is for the mic to generate some simple numbers which could then be used in Python to control events. It doesn't need to be calibrated to be absolutely pitch perfect, as long high, middle and low frequencies and volumes could be determined.

I've had some limited success with using a Sony Singstar mic and PyAudio in this way, but it's a bit flakey and frequently falls over. It maybe that a bit of additional hardware such as a simple A-to-D converter would help, but I don't know where to start with this being new to all this.

Any help appreciated. Cheers, Martyn

Anonymous said...

Hi Jeremy,

I have a wonderful idea for a project. But I need help to set it up. Maybe you can help me. Please send me an email to: pigswanted@web.de Sorry for the adress...
I will answer with my real adress.

Richard Brown said...

Hi Jeremy

I am a youth worker and we are hoping to build a time lapse camera for various projects but keep running into problems.

You're not in Cornwall by any chance please?


Wild Woods Project

Jeremy Blythe said...

I'm not in Cornwall sorry. Coincidentally my parents live in Cornwall and I was down there last weekend. Not that that helps. ;)