Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.

Slides:



Advertisements
Similar presentations
LOGGING ON AND SHUTTING DOWN How to do both successfully at school.
Advertisements

Digital Blue Cameras Inset Tuesday 3 rd June 2008.
Components: Sansa Clip Mp3, earbuds, USB cable, Quick Start Guide.
Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.
PIC Programming with Logicator
X Australian Curriculum Year 5 Solve problems involving multiplication of large numbers by one or two digit numbers using efficient mental, written strategies.
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
An Intro to Robots and Computer Programming
LAUNCHXL2-RM57L – Project 0
1. 2 It’s almost time to take the FCAT 2.0! Here are some important explanations and reminders to help you do your very best.
Bug Session Two. Session description In this session the use of algorithms is reinforced to help pupils plan out what they will need to program on their.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
Bug Session Three. Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use.
Learning to program using Minecraft. Learning Objective Know what Minecraft is and to explain some of it’s uses Build a simple house in creative mode.
Getting started with Microsoft.NET Gadgeteer Comberton Village College Gadgeteer Club.
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Building apps Suitable for: Advanced.
Triangle Town Hi, I’m Elke. Pleased to be your guide through Triangle Town. Don’t ever worry about getting lost. I’ll stay with you the whole time.
Ga Ag Ed Curriculum Office, July 2001 To accompany the Georgia Agriculture Education Curriculum Go to Last Slide for Directions.
Open Synergy from Programs. Log onto Synergy Use Caps Lock for username in Synergy If only one user, click Continue.
Available at: – Operate the Tumbler using a Jumper Pin Operate the Tumbler using the jumper pin.
An Introduction to Designing and Executing Workflows with Taverna Katy Wolstencroft University of Manchester.
Introducing Scratch the Cat
Bug Session Four. Session description Objectives Session activities summary Resources Prior knowledge of sequencing instructions using Bug Bug website.
Bug Session Three. Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use.
Downloading and Installing Autodesk Revit 2016
L ILY P AD T RAINING C ENTENNIAL E LEMENTARY 2012 Material by Linz Craig Revision by Sarah Bloms Additional images by Modkit & Adam Meyer.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Making Python Pretty!. How to Use This Presentation… Download a copy of this presentation to your ‘Computing’ folder. Follow the code examples, and put.
Unit 1 – Improving Productivity Mollie painter. Instructions- 100 words per box.
Core Competencies Unit 1 County Volunteer Training Mississippi State University Extension Service 4-H Youth Development.
Algebraic Thinking 5 th Grade Guided Instruction Finding Rules and Writing Equations For Patterns.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Ga Ag Ed Curriculum Office, July 2001 To accompany the Georgia Agriculture Education Curriculum Go to Last Slide for Directions.
Open a new Flash File Action Script 2.0. Create a button like you did last lesson and name it Click to Play.
Today's Ninja Challenge: Write Your First Computer Game!
Create a PowerPoint How to. Backgrounds Where to find ‘digital paper’ to use.  Teachers Pay Teachers. You will need an account. You can join for free.
Smart Board Troubleshooting.  The User Guide contains useful information such as installing, connecting, maintaining, and troubleshooting your Smart.
Go to Last Slide for Directions Submitted by James Corbett Modified by Georgia Agricultural Education Curriculum Office June 2007.
Using Zappers in a Common Learning Space A guide for tutors Created by Adam Warren Learning and Teaching Enhancement Unit.
Creating your own Handheld Games Console
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
11 Making Decisions in a Program Session 2.3. Session Overview  Introduce the idea of an algorithm  Show how a program can make logical decisions based.
SmartBoard Basics By Kate M 1. Computer Hints Please do NOT turn the computers off after class If the previous instructor has not log off the computer.
Greenfoot.
After Construction Name: Per #:.
Algebra using brackets
A step-by-Step Guide For labels or merges
Starter What is BBC micro:bit?
CASD Mobile Labs.
Downloading Arduino FOR WINDOWS.
Starter Activity Instructions: Complete the starter sheet Planner
Tips for Taking the Computer-Based
CSIM Computer science for innovators and makers
Programming Scratch to Control a K’NEX Fairground Ride
Objective of the lesson
Learning to program with Logo
Raspberry Pi: External Inputs & Outputs
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Welcome to Digital Electronics using the Arduino Board
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Tips for Taking the Computer-Based
Personalize Practice with Accelerated Math
Recap the basics Lesson 1.
Turning Point (zapper) quick guide Turning Point 5
Getting Started with Physical Computing
An Introduction to VEX IQ Programming with Modkit
Objective of the lesson
Presentation transcript:

Bug Session One

Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives The students will: Recognise the coordinates of LEDs on the website Bug screen Use a sequence of programming blocks on the Bug Use loops to make their program more efficient Debug any errors in the program Session activities summary Light up an LED Make the LED flash on and off (and describe this as an algorithm) Create a letter L for LED (or B for Bug but this would take longer) Make this flash on and off Make the initial letter of their name flash on and off Resources Bug website Bug software Worksheet Bug Bug cables Bug: Session One 1

Activities Show the class a Bug with an LED flashing on and off What is happening? Record answer as a flow chart or set of instructions such as LED turns on, LED turns off, LED turns on, LED turns off. Tell the class this is an algorithm. 'This is the sequence of things you need to do to make this happen.’ Ask the class to input this set of instructions as a program for their own Micro Bug. Show pupils the website Click on Create Program button. Select set 'plot' block from 'LED' menu Click on green run button What would happen if I change the x or the y value? Remind pupils of coordinates (English National Curriculum Year 4 ‘Describe positions on a 2-D grid as coordinates in the first quadrant.’) Battle Bug work sheet Pupils work in pairs. Each has a Bug game board with two blank Bugs. Each colours in 3 LEDs on one of their Bugs. The second blank Bug is for each person to record the guesses they have when they try to ‘light up’ their friend’s Bug. Pupils take it in turn to try to ‘light up’ their friend’s LEDs by saying a coordinate. Put an x if a coordinate is wrong. The winner is the first to find the position of all 3 of the LEDs on the other bug. Time 10 minutes 10 minutes (if practice on coordinates is required) 2 Tell pupils that before they begin to program their own Bug, we are going to play a game to remind them of coordinates. How do you use algorithms in every day life? For example: making a cake or finding our way. guides/z3whpv4#zx3dwmnhttp:// guides/z3whpv4#zx3dwmn

Bug: Session One Pupils now work at a computer to use the ‘plot’ and 'unplot' blocks to make the LEDs turn on and off. Use coordinates to light up different LEDs on the simulator. Challenge pupils: Can you make an LED turn on and off off? Use the 'plot' and 'unplot' blocks from the LED menu. Remind pupils to insert coordinate values to select the position of the LED. The LED goes off very quickly. Show pupils ‘pause’ block (under Basic menu) Can they use the 'plot' and 'unplot' bloc on and off three times? k to create a sequence to make the lights flash 10 minutes 3 Top tips! Right clicking on a block lets you duplicate it. You can change the values and varaibles in the blue block by typing into them.

Bug: Session One We have been lighting up one LED. Can you light up LEDs to make an L to stand for LED? Provide pupils that require support with a paper blank Bug to fill in the shape of an L. (You might choose to get them to do B for Bug but this will take longer to program.) Remind pupils they can use right click to duplicate a block. Encourage pupils to keep running the program to check it is working as they want. They don’t need to get to the end before they check. Use the word debug when something does not work as they want it to. ‘It’s not working; we need to debug the program.’ Encourage pupils to spot where it is going wrong and work out how to sort it. If they are still stuck, then encourage them to ask a partner for help BEFORE asking the teacher. 10 minutes 4 Did you know? There is a Bitesize Computing guide called: What is debugging? See: ztkx6sg#zpdthyc

Bug: Session One There is a more efficient way of doing this. Introduce the idea of repeat using a loop. Show this screen shot of the programming to make one LED turn on and off. 10 minutes 5. What would you need to do to make this flash on and off? Each LED would have to be changed to 0 state. Pauses would have to be added in. You would have to write it all again over and over. Can anyone see a pattern in the sequence of blocks? (Chanting the pattern may help some pupils to see that it is repeating.) Show pupils the repeat block in 'Loops' menu and the true block in the 'Logic' menu - some may already have discovered this.

Can you use this block to make the LED turn on and off continuously? What’s the difference between this sequence and the sequence you used before? It is much shorter and quicker to write the program and therefore more efficient. Bug: Session One What is the algorithm we will need to follow? Create a guided algorithm by taking ideas from the class and representing them as a flow chart or numbered instructions. 1.Turn on LEDs in the shape of initial 2.Turn off the LEDs 3.Keep repeating this 1.Turn on LEDs in the shape of initial 2.Turn off the LEDs 3.Keep repeating this Your turn to program this on your Bug. 10 minutes 6

Bug: Session One Install code on the Bug When you have saved your program, transfer it to the Bug 1.Click on the download to Bug link 2.Save the file to a suitable location 3.Open up the Bug Loader software 4.Connect the USB cable to the computer 5.To connect the Bug turn off the Bug (slide the switch downwards) and keep button A pressed. An amber LED will light up to show it is ready. If it doesn’t light up, just unplug it and try again) 6.On the Bug Loader software click on Program Bug! 7.Navigate to the file you saved and select it, it should install on the Bug 8.Disconnect from the USB cable and press the B button to reset the Bug 9.The pattern of LEDs should now light up 10 minutes 7