1 / 10

Raspberry Pi with Pibrella

Raspberry Pi with Pibrella. Objectives. Sequence instructions Use selection (if, then, else) Use repetition Make lights flash and buzzers sound Push the big red button!. Getting started. We're going to be using Scratch to program the Pibrella

jjohnson
Download Presentation

Raspberry Pi with Pibrella

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Raspberry Pi with Pibrella

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

  3. 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

  4. 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. 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

  6. Challenges Make the green light always on unless the big red button is pushed Make the big red button work light a pedestrian crossing...

  7. Buzzer Can you make it beep? You'll need to broadcast this command: buzzer1000 buzzer0 (to make it stop!)

More Related