Oil Spill Cleaner-upper

Slides:



Advertisements
Similar presentations
Embedded Programming and Robotics
Advertisements

LO: Learn how to develop your game further to include interactions with the device.
Designing User Experience (UX) This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.Creative Commons.
WritingBot is a robot that can write word or name on paper as fixing pen to robot. Learn Variable Chip and IF Else Chip to do movements like pull up or.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON DATA WIRES.
Scratch Programming Cards
BEGINNER PROGRAMMING LESSON
micro:bit for primary schools – mb4ps.co.uk
Starter Activity Instructions: Complete the starter sheet Planner
micro:bit for primary schools – mb4ps.co.uk
MINDSENSORS PSP-Nx Controller for LEGO® MINDSTORMS®
@TeacherToolkit, license CC BY-NC-ND 3.0
@TeacherToolkit, license CC BY-NC-ND 3.0
@TeacherToolkit, license CC BY-NC-ND 3.0
micro:bit for primary schools – mb4ps.co.uk
Parallel Beam Synchronization
micro:bit for primary schools – mb4ps.co.uk
Parallel Beam Synchronization
INTERMEDIATE PROGRAMMING LESSON
micro:bit for primary schools – mb4ps.co.uk
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
micro:bit for primary schools – mb4ps.co.uk
By Sanjay and Arvind Seshan
BBC Microbit.
Designing User Experience (UX)
Objective of the lesson
Global Challenge Love Heart Lesson 2.
Global Challenge Love Heart Lesson 2.
micro:bit for primary schools – mb4ps.co.uk
Global Challenge Love Heart Lesson 2.
Global Challenge Love Heart Lesson 2.
INTERMEDIATE PROGRAMMING LESSON
Global Challenge Love Heart Lesson 2.
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
Menu System.
Binary Worksheets & Handouts
BBC Microbit.
Task 1 You are going to use the Makey Makey arrow inputs to create a joystick / games controller. Step 1: Connect Makey.
Lesson 1 – using the LED lights
In this task you will see different shapes.
Design Challenge.
Autofarmer.
Light-up fishing nets.
Oil Spill Cleaner-upper
Design Challenge.
Autofarmer.
Sea Turtle Safe Beach Lights
Ocean health monitor.
Anti-poaching collar.
Design Challenge.
Tree protector.
Ocean health monitor.
Ocean health monitor.
Autofarmer.
Ocean health monitor.
Sea Turtle Safe Beach Lights
Tree protector.
Ocean health monitor.
Oil Spill Cleaner-upper
Ocean health monitor.
Autofarmer.
Autofarmer.
Autofarmer.
Tree protector.
Light-up fishing nets.
Oil Spill Cleaner-upper
Sea Turtle Safe Beach Lights
Tree protector.
Presentation transcript:

Oil Spill Cleaner-upper

Setting the scene A group of marine scientists have asked you to develop an algorithm that could be used on a boat drone to drag around a sheet of this smart material to clean up an oil spill.

There are two versions of this activity: Without building: Focus on algorithmic thinking Go to slide 6 With building: Creating a robot drone Programming the drone robot Go to slide 14

Success criteria (no build): Build a prototype oil spill cleaner upper boat drone that starts with a button press The prototype should demonstrate an algorithm that moves a sprite autonomously over an area (5x5 LEDs) The prototype should be able to take in larger areas to cover larger spills

Input process output Input Process Output Button press Algorithm to control the movement of the boat drone in a path to clean up oil: Increase or decrease the size of the grid Show the sprite on the screen completing the algorithm   Larger LED screens could display the larger grid, smaller grids can be represented on the micro:bit

Sprites Sprites are usually animated pictures used to represent people and things in games Sprites can be programmed to do more than just be animated, such as respond to button presses and take damage as well as anything else you can think of! On the micro:bit a sprite is represented as a single LED but can be programmed to behave like a more complex sprite for games

Co-ordinates

Functions, loops and variables Sprite blocks Basic blocks

Creating a mock-up These blocks create an on-screen mock-up using a sprite. We can use this to test our algorithm on the micro:bit or in MakeCode.

Group task: Get into pairs/groups Use the Oil Spill Cleaner Upper worksheet to help you design and create your product The product must meet the success criteria Use the IPO worksheet to design further features Make a model tree to test your product

Success criteria (no build): Build a prototype oil spill cleaner upper boat drone that starts with a button press The prototype should demonstrate an algorithm that moves a sprite autonomously over an area (5x5 LEDs) The prototype should be able to take in larger areas to cover larger spills

Success criteria (with build): Build a floating oil spill cleaner-upper boat drone that starts with a button press The product should be able to autonomously navigate over an area The product should be made to clean up an oil spill by dragging a ‘smart material’

Input process output Input Process Output Button press Algorithm to control the movement of the boat drone in a path to clean up oil: Servo motor control

Creating a mock-up These blocks create an on-screen mock-up using a sprite. We can use this to test our algorithm on the micro:bit or in MakeCode.

Group task: Get into pairs/groups Use the Oil Spill Cleaner Upper worksheet to help you design and create your product The product must meet the success criteria Use the IPO worksheet to design further features Make a model tree to test your product

The paddle wheel:

Hardware needed: micro:bit(s) battery peripheral and batteries materials to make the floating body and paddles servo control board servo motors a sponge to simulate the smart material

Note: The motors need power from the batteries The + wires from both servos go into the 3v terminal Output one is right Output two is left Ground (GND) wires got to the GND terminal

Success criteria (with build): Build a prototype oil spill cleaner upper boat drone that starts with a button press The prototype should demonstrate an algorithm that moves a sprite autonomously over an area (5x5 LEDs) The prototype should be able to take in larger areas to cover larger spills

Licensing information Published by the Micro:bit Educational Foundation microbit.org under the following Creative Commons licence: Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/ https://microbit.org/do-your-bit/