Third party cookies may be stored when visiting this site. Please see the cookie information.

Home Family Days Out Raspberry Pi & Electronics Blog

Stewart's Blog

Stewart Watkiss website to the world ...

(Children, computing, first aid and other ramblings ...)

Raspberry Pi club – Programming the GPIO – Traffic Light LEDs

One of the things I’ve been doing as a STEM Ambassador is to help support a Raspberry Pi club at a local high school. At first the club was led by the sixth form students, with the teachers and myself helping out as required. This was working well at first, but with many of the older students now on study leave the momentum has been slowing down.

I have therefore created a worksheet on how to program the GPIO ports on the Raspberry Pi to try and give them a bit of hands-on with a bit of physical computing. This is a basic first step (many of the students are still taking their first steps in Python programming). I hope that it helps to get them enthusiastic about what they can achieve by interfacing the Raspberry Pi to the real world.

Raspberry Pi traffic light LED on breadboard

I’ve made the materials available including a teachers guide, student worksheet and the Fritzing diagram available. It may be useful for other Raspberry Pi / STEM clubs or for teaching in schools.

Also see my guide to controlling traffic lights using a Raspberry Pi Pico or Arduino.

Please leave comments using the facebook comments below.

UK days out, children and holiday information is also available on the Days Out Diary web site
Linux, LPI and the Quiz / Test Program posts are also available on the Penguin Tutor website
First Aid Information, first aid games and first aid practice test / quiz entries are also available on the First Aid Quiz Web site