A collection of Raspberry Pi Projects created for teachers to use in the classroom
All these exercises have been created by DesignSpark and are complete with teachers notes and 3 levels of ability. All exercises use Python Code to control basic circuits that are constructed by the students. The exercises are presented in a format for novice and intermediate users. All exercises are Open Source and the components required for these exercises are listed in the projects and are availible from RS Components.
All these projects listed below can be found in our DesignShare Section and work with all Raspberry Pi Model A's and B's.
RASPBERRY PI CONTROLLING LED'S VIA GPIO
The aim of this exercise is to instruct students how to program the GPIO pins on the Raspberry Pi as digital outputs. The GPIO pins will be used to control some LEDs and a seven segment LED display.
RASPBERRY PI GPIO ANALOGUE I/0 EXERCISES
The aim of this exercise is to show students how to program the Raspberry Pi to “measure” the state of one of its GPIO pins as a digital input, how the Raspberry Pi may be used in conjunction with an Analogue to Digital Converter (ADC) to measure an analogue voltage, and how the Raspberry Pi may be used in conjunction with a Digital to Analogue Converter (DAC) to generate an analogue signal.
RASPBERRY PI GPIO DIGITAL I/0 EXERCISES
The aim of this exercise is to show students how to program the Raspberry Pi to measure temperature using a digital “1-wire” sensor connected directly to one of its GPIO pins, how the measured temperature may be used to control a digital output, and how the Raspberry Pi may be used in conjunction with a LED driver chip to display the measured temperature on a multiple digit LED display.
RASPBERRY PI CONTROLLING A MOTOR VIA GPIO
The aim of this exercise is to show students how to the Raspberry Pi may be used in conjunction with a L293D chip to control the direction of rotation a DC motor, and how the speed of a DC motor may be controlled using Pulse Width Modulation (PWM). The exercise will also demonstrate how a simple human machine interface can be programmed to control the system in various different ways.
More fantastic Raspberry Pi content can be found in our Raspberry Pi Design Centre