Raspberry Pi - GPIO Light Sequence 1

3,637 views · Published 21 June 2012 · 0:17 · Indexed 12 October 2026

Channel: Matt Hawkins · 2012 · Science & Technology

Watch on YouTube

This video clip shows a light sequence I created with my Raspberry Pi.

The lights are standard Red 5mm LEDs switched with BC548 NPN transistors. The circuit is based on the information on this site :
http://www.raspberrypi-spy.co.uk/2012/06/control-led-using-gpio-output-pin/

The GPIO pins are controlled with a Python script.

Raspberry Pi Model B
Debian "Wheezy" Beta
Python 2.7

Additional details and Python code on my website :
http://www.raspberrypi-spy.co.uk/2012/06/knight-rider-cylon-lights-for-the-raspberry-pi/

Filmed with a Panasonic V500 on auto settings with the video light enabled.

More from this channel