Game Controller Lesson Two.

Slides:



Advertisements
Similar presentations
This symbol is used to; Start a flow-chart; Stop a singe flow-chart (or all flow charts in that program); Mark the Start of a Sub-Routine (a separate.
Advertisements

From the NXT top menu Connect desired hardware as indicated Enter a command in the box indicated from the menu provided Repeat for all 5 boxes.
Copier Jam Detector Design Problem
Algorithms A Central Heating system Start Is temp <19
BY VENUS BRIGHT Input Output. What is a input An input is something simple that connects into the computer. Such as the most common input is a keyboard.
Digital Activity work sheet Inputs  Sound  Light  Heat  Slide Switch  Push Switch Output  Light________________  Buzzer______________  Relay_______________.
Copier Jam Detector Design Problem
My first robot programming - Simple “Go” Young Joon Kim MSRDS First Beginner Course – STEP4.
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
Lesson 1: Motors and Sound Programming Solutions.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Sequencing Learning Objective: to be able to design algorithms that use sequencing.
Sensors Control Systems with Flowol.
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
connect a DC-Motor with an arduino
Starter Activity Instructions: Complete the starter sheet Planner
Learning Objective: to be able to design programs that use sequencing.
BBC Microbit.
Chapter 2 Push button and Potentiometer
micro:bit for primary schools – mb4ps.co.uk
Raspberry Pi: External Inputs & Outputs
Traffic light programming challenges
BBC Microbit.
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Sequencing Learning Objective: to be able to design algorithms that use sequencing.
Raspberry Pi with Pibrella
BBC Microbit.
Game Controller Lesson Three.
Game Controller Introduction.
Lesson 3 Sub-Routines.
BBC Microbit.
BBC Microbit.
Global Challenge A bag for Juliane Lesson 2.
BBC Microbit.
Copier Jam Detector Design Problem
I am learning to plan a route giving clear instructions
Global Challenge Flashing Wheels Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Juliane Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
BBC Microbit.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Juliane Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge A bag for Juliane Lesson 2.
Stem Discovery Week at Kareas High School in Greece
BBC Microbit.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Juliane Lesson 2.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Juliane Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Juliane Lesson 2.
Global Challenge A bag for Julienne Lesson 3.
Game Controller Lesson Four.
Global Challenge A bag for Juliane Lesson 2.
Global Challenge A bag for Juliane Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Oregon Robotics Tournament and Outreach Program
Lesson 1 – using the LED lights
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Objective of the lesson
Game Controller Lesson Five.
Global Challenge Flashing Wheels Lesson 3.
Presentation transcript:

Game Controller Lesson Two

:GAME ZIP 64 4 x buttons micro:bit 2 x buttons Buzzer 64 RGB lights Vibrating motor

Buttons Button How it’s connected Joypad Up P8 Joypad Down Joypad Left Joypad Right Fire SW 1 Fire SW 2

Buttons

Algorithm When I press Fire SW 1: Make all the lights go blue.

Main Lesson

Input Challenges When I press the Fire SW 1 When I press the Fire SW 2 Clear the matrix Show a smiley face on the micro:bit When I press the Fire SW 2 Clear the micro:bit Show your character from last week When I press Up Show an Up arrow on the micro:bit

The Controller Button How it’s connected Joypad Up P8 Joypad Down P14 Joypad Left P12 Joypad Right P13 Fire SW 1 P15 Fire SW 2 P16 Buzzer P2 Motor P1

Buzzer The buzzer is a digital output. To hear the buzzer we must turn it on and off continuously.

Buzzer

How the Buzzer Works

How the Buzzer Works

Output Challenges When I press Fire SW 1 When I press Fire SW 2 The buzzer will sound When I press Fire SW 2 The buzzer will stop When I press Up The motor will run When I press Down The motor will stop