Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Transcript of Raspberry Pi
Physical systems are
controlled by electronic components.
This has been designed to build on the skills that the children were taught in the first three projects.
Motor control is introduced to allow for the inclusion of movement in the models that the children build.
You will be able to wire up an LED with a protecting resistor.
You will make a traffic light model.
You will write a Scratch script for traffic light control.
Pupils should be taught to:
design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts.
use sequence, selection, and repetition in programs; work with variables and various forms of input and output.
use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs.
The combination of a Raspberry Pi
computer and a gPiO interface makes a reliable and affordable control workstation.
including controlling or simulating physical systems
In addition to price and sustainability, the fact that Scratch can be used as the control software is a big advantage of this combination.
Scratch is a language that children already use.
If physical models and an interface are not available children can model control, virtually, using sprites to simulate the physical systems.
A simple traffic light model can be made for about £2.
The context for this project could be work on simple circuits in science, road safety awareness or model making in DT.
This is an ideal STEM project.
You will create a control system that will respond to two different inputs.
You will control two outputs.
Input / Output
This project builds on projects 1 and 2.
The lighthouse control system introduces a second
Ideally, the children would build their own models which they would then control using their computing skills.
gPiO set up and
testing a script.
Check if it is light
If it is light turn off the main beam
If it is not light
turn on the main beam
keep the main beam on for 2 seconds
turn off the main beam
keep the main beam off for 4 seconds
Check if it is foggy
If it is not foggy turn off the fog horn
If it is foggy
turn on the fog horn
keep it on for three seconds
turn off the fog horn
keep it off for five seconds
A lighthouse model built
from a kitchen role tube,
egg carton, paper, a plastic
cup and about £3 worth
of electronic components.