microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important...

28
BBC micro:bit Robot Buggy Programming the Buggy

Transcript of microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important...

Page 1: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

BBC micro:bit Robot Buggy

Programming the Buggy

Subjects: Design & Technology, Computing Key words / Topics> BBC micro:bit

Page 2: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Approx. time: 60 - 120 minutes depending on ability and prior experience of learners

> system and sub-system> input, process, output> mechatronics> robotics> programmable components> embedded intelligence

Suggested Learning Outcomes

> To program the robot buggy system to successfully navigate a maze layout.> To understand how to integrate motors and motor drivers into a programmable system.

Page 3: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Introduction

This is one of a series of resources to support the use of the BBC micro:bit in Design and Technology lessons.

Programmable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed that can sense changes in their surroundings and respond accordingly.

In this unit of learning, learners will use the BBC micro:bit to develop a robotic buggy that can successfully navigate a maze or path.

Page 4: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Purpose of this activity

In this activity, learners will work as a team to program the robot buggy so that it can navigate a maze path.

This could be used as a main lesson activity with ‘BBC micro:bit Robot Buggy – Navigating the Maze’ as the starter activity. It is an ideal exercise for learners to develop their understanding of programming a system, including the use of motors and motor drivers.

Page 5: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Activity Teacher notes

1. Assigning groups

Introduce the activity to learners – they will be programming a robot buggy to navigate a maze. They will be doing this in small groups.

Spit the class into teams (suggested size of three

The IET TV video – Robot Buggy https://tv.theiet.org/?videoid=7825 can be shown as an introduction or starter for activities in this unit of work.

This activity should be attempted by learners as individuals in small groups.

Page 6: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

learners per team). Teacher to introduce the maze or pathway that the robot buggy must follow.

2. Programming and testing the robot buggy

Learners to work in their teams to create a program that will navigate the maze given to them. They could use the example program as a starting point for this.

The program should successfully control the operation of the motors and wheels, thus controlling the movement and direction of the buggy. If using a 3D

If learners have not seen or used a block systems diagram before it would be necessary to describe this in more detail (i.e. what is meant by input, process, output etc.).

Motors and motor drivers

Motors and a motor driver circuit will be required to provide the wheels for the robot buggy to move. This can be achieved but using a geared motor for each wheel and constructing a suitable chassis for the buggy, for example by laser cutting. This approach would also require suitable motor driver circuitry as part of the

Page 7: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

maze use should be made of collision detection sensors.

3. Testing

At various intervals each team should have the opportunity to test the success of their program on the maze layout prior to the final run through. Teams download and test their programs, refining and improving them as necessary.

output stage of the system, such as a circuit based on the L293D motor driver IC.

Alternatively a kit complete with everything needed to integrate the BBC micro:bit into a robot buggy is available from Kitronik.

Teachers are advised to refer to the BBC micro:bit’s specification when selecting additional devices and circuitry to use with it.

The maze

The maze that the buggy has to navigate can either be a 2D layout (e.g. marked out on the classroom floor using masking tape) or a

Page 8: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

4. Progress review

Review learner progress part way through the activity and recap key points as necessary. Refer to the examples where appropriate to help guide learners.

5. Final run through

Each team has the opportunity to conduct the final run through of their buggy through the maze layout. Class to comment on the success of each run thorough and give constructive feedback on their performance.

3D layout. The Kitronik based kit has the capability to sense when the buggy collides with an object, so this could be used in the case of the latter.

Depending on facilities and space available the teacher could provide a single maze that each team attempts to progress through in turns, or set up different maze layouts for each different team.

Programming the robot buggy and example

Page 9: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

An example Touch Develop program is available from https://stage.microbit.co.uk/dyxejk. This program tests the various functions of the robot buggy such as moving forwards, backwards, left and right. It could form a good starting point for developing an original program for the system.

Differentiation

Page 10: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Basic Extension

Learners can write the example program directly into the programming software and download it as a starting point. They can then develop this further as required. The example program is included in the accompanying teacher PowerPoint.

Teacher may wish to produce further example programs or a programming framework (e.g. a

Learners could refine their programs to reduce the time required to move round the maze.

They could also discuss the meaning of the term ‘mechatronics’ – the integration of electronic and mechanical systems.

What products are already available or could be developed that could make use of mechatronics? What are the benefits of

Page 11: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

flowchart showing what the main stages need to be for the program) for groups of learners unable to produce their own code from scratch to cross the maze.

integrated electronic and mechanical systems?

Resources Required files

Page 12: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

> Projector/Whiteboard> BBC micro:bit system and online programming

software (Block Editor, Touch Develop and/or Code Kingdom)

> Internet (to access programming software)> Robot buggy kit (either pre-purchased or

assembled using suitable motors and motor driver circuit)

BBC micro:bit Robot Buggy – Programming the Buggy Teacher Presentation

Example BBC micro:bit Touch Develop Program (also available via https://live.microbit.co.uk)

Page 13: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Additional websites

The following websites can be used for additional technical information or to provide a wider context to the development of the system.

> IET TV – Robot Buggy: Supporting IET TV video - ideal for use as part of a starter or introductory activity to support this resource. https://tv.theiet.org/?videoid=7825

> BBC micro:bit website: Website containing everything needed to get started with using the BBC micro:bit! https://live.microbit.co.uk

> YouTube Video – Computer Programming: A short film introducing computer programming and what is meant by a

Page 14: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

being a programmer. Shows how much influence programmers have and how it can be a rewarding career path. http://www.youtube.com/watch?v=OWsyrnOBsJs

> YouTube Video – Programmable Robots: Video showing examples of programmable robots. A look at an application of programming and what it can be used to achieve. http://www.youtube.com/watch?v=Io4HiGrFkUw

> YouTube Video – Robot Buggy: A robot buggy developed by students at the University of Manchester. https://www.youtube.com/watch?v=ysR_qFDpPlA

> Engineers Garage – Motor Driver: Technical information on the L293D motor driver IC. http://www.engineersgarage.com/electronic-components/l293d-motor-driver-ic#

> Wikipedia – Mechatronics: introduction to the field of mechatronics. https://en.wikipedia.org/wiki/Mechatronics

Page 15: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Related activities (to build a full lesson)

Starters> ACTIVITY: BBC micro:bit Robot Buggy –

Navigating a Maze

Main> ACTIVITY: BBC micro:bit Robot Buggy –

Plenary> ACTIVITY: BBC micro:bit Robot Buggy – Future Robots> Opportunities within activity for presentations, peer/self

assessment> Reflection on Objectives and PLTS skills used

Page 16: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Programming the Buggy

The Engineering Context

Robotics is an ideal topic for teaching about programmable components and embedded intelligence in products. These are key parts of the 2014 programme of study for Design and Technology at key stage 3.

It is also an ideal vehicle for using the BBC micro:bit in the classroom and developing the programming skills of learners.

Page 17: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Curriculum links

England: National Curriculum

Design & Technology

> KS3 3c, 4b, 4c, 4d

Northern Ireland: Curriculum

Technology & Design

> KS3 Knowledge and Skills: Control – incorporate control systems, such as mechanical, electronic or computer-based, in products and understand how these can be

Page 18: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Computing

KS3 Pupils should be taught to:

> design, use and evaluate computational abstractions that model the state and behaviour of real-world problems and physical systems

> undertake creative projects that involve selecting, using, and combining multiple applications, preferably across a range of devices, to achieve challenging goals, including

employed to achieve desired effects.> KS3 Objective 1: Respond to a personal design challenge

in relation to their own lifestyle.

Learning Outcomes:

> Show deeper understanding by thinking critically and flexibly, solving problems and making informed decisions, using Mathematics and ICT where appropriate.

> Demonstrate creativity and initiative when developing ideas and following them through.

Page 19: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

collecting and analysing data and meeting the needs of known users

Scotland: Curriculum for Excellence

Technologies

> TCH 3-01a, TCH 3-03a, TCH 3-04a,TCH 3-13a

Wales: National Curriculum

Design and Technology

> KS3 Skills: Designing 1> KS3 Skills: Systems and Controls 16, 17, 18, 20, 21

Page 20: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Assessment opportunities

Regular questioning throughout the activity, review of progress at key intervals and formal assessment of the finished programs and the success of each group in the team challenge. Assessment of each learner’s individual contributions to the team.

Page 21: microbit0.blob.core.windows.net · Web viewProgrammable robotic systems are becoming an important part of industrial developments in Design and Technology. Robots are now being developed

Personal, learning & thinking skills (PLTS)

> Creative thinker> Team worker (if done as a team activity)> Self manager> Effective participator