Presentation is loading. Please wait.

Presentation is loading. Please wait.

Raspberry Pi with Pibrella

Similar presentations


Presentation on theme: "Raspberry Pi with Pibrella"— Presentation transcript:

1 Raspberry Pi with Pibrella
11/24/2018 Raspberry Pi with Pibrella 1 1

2 Objectives Sequence instructions Use selection (if, then, else)
11/24/2018 Objectives Sequence instructions Use selection (if, then, else) Use repetition Make lights flash and buzzers sound Push the big red button! 2 2

3 11/24/2018 Getting started We're going to be using Scratch to program the Pibrella Firstly, we need to start the GPIO (General Purpose Input Output) Server We'll then turn on the red light These commands are case sensitive, so check you use of lower and upper case (capital) letters carefully 3 3

4 11/24/2018 4 4

5 Challenges - Lights Program a key to turn the red light off
11/24/2018 Challenges - Lights Program a key to turn the red light off Program a key make the red light flash Program a key to make the yellow light flash Program a key to make the green light flash Program a key to turn all lights off! Program a key to make the traffic light sequence 5 5

6 11/24/2018 6 6

7 11/24/2018 Big red button We're now going to program the Big Red Button to make things happen... We'll start by making it turn a light on 7 7

8 11/24/2018 8 8

9 11/24/2018 Challenges Make the green light always on unless the big red button is pushed Make the big red button work light a pedestrian crossing... 9 9

10 Buzzer Can you make it beep? You'll need to broadcast this command:
11/24/2018 Buzzer Can you make it beep? You'll need to broadcast this command: buzzer1000 buzzer0 (to make it stop!) 10 10


Download ppt "Raspberry Pi with Pibrella"

Similar presentations


Ads by Google