INNOVATOR’S WORKBOOK CODING FUNKEY
LEVEL
3
LINDSEY OWN
CODING FUNKEY FUNKEY CODING
This book belongs to:
STEM Innovator’s Workbook - Level 3 Copyright © 2026 Author: Lindsey Own Editors: Asma Mahamedi, Rebecca McDowell, Nimisha Joshi, Hari Mukul Sagar and Erin Goodwin ISBN: 978-981-17521-0-0 Published by: SKOOL21 PTE. LTD. 168 Robinson Road, #12-34 Capital Tower, Singapore 068912 All rights reserved. No part of this book may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law. SKOOL21’s Innovator’s Workbook Series is not affiliated with or endorsed by the Scratch Foundation. The content of this publication has not been approved by the United Nations and does not reflect the views of the United Nations or its officials or Member States. https://www.un.org/sustainabledevelopment/ For permissions or enquiries, please contact: Email: info@skool21.org
02
Hello, STEM Innovator! Welcome to your book! You are a STEM Innovator. Innovator. An Innovator is a hero who uses code and logic to make machines come to life! Open your Coding FunKey Kit. Kit. Inside you have: The Brain: A FunKey to think and run your code The Senses: Senses: Sensors that see distance and hear sounds The Action: Servos and LEDs that move, spin, and glow In this book, you will: Create a Food Maze Game to learn how animals survive. Build Bui ld a Landmark Map to travel the world using code. Design a Flood Control System to help protect cities. Earn Your Rewards! Rewards! As you complete each project, you will earn Innovator Stickers. Stickers. At the end of this book, you will receive your Certificate of Innovation to show the world that you are a Master of Coding! Let’s build together! 03
Table of Contents S. NO
CONTENTS
PAGE NO.
1
INTRODUCTION TO THE KIT
05
2
LESSON I: SCRATCH
06
3
LESSON II: FUNKEY
10
4
LESSON III: SCRATCH WITH FUNKEY
13
5
LESSON IV: MORE COMPONENTS
16
6
PROJECT 1: DRAWING BLUEPRINTS
18
7
PROJECT 2: FOOD MAZE GAME
27
8
PROJECT 3: TRICKIEST MULTIPLICATION
36
9
PROJECT 4: A FLOWERING PLANT
44
10
PROJECT 5: IDENTIFYING ANIMALS
52
11
PROJECT 6: TRAVELLING THE WORLD
60
12
PROJECT 7: SUNLIGHT AND SHADOWS
68
13
PROJECT 8: ORGANS MATCH
76
14
PROJECT 9: REDIRECTING A FLOOD
84
15
PROJECT 10: LIQUID & SOLID SIMULATOR
92
16
PROJECT 11: MINI GOLF - GRAVITY
101
17
PROJECT 12: FOSSIL EVIDENCE
109
18
PROJECT 13: PROBABILITY MACHINE
117
19
PROJECT 14: PUPPET SHOW - PART I
125
20
PROJECT 15: PUPPET SHOW - PART II
133
21
CAPSTONE PROJECT: INNOVATOR’S CHALLENGE
141
22
GLOSSARY
147
23
INNOVATOR STICKER SHEET
149
24
STEM CERTIFICATE
151 04
Introduction to the Kit Meet Your Coding FunKey Kit! Open your box and see what is inside! This kit has everything you need to build and play. Use your FunKey Board with Scratch programming and sensors. You can turn your big ideas into real working simulations. Let’s build together! KIT COMPONENTS 1. Power & Control FunKey
Cables
Board x1
x2
Type C
Battery
Alligator
Servo
Cable
Pack
Wires
Motor
x1
x1
x10
x1
2. Sensors, Motor & Lights IR
Light
Ultrasonic
Tilt
Touch
LED
Sensor
Sensor
Sensor
Sensor
Sensor
Lights
x4
x5
x1
x4
x3
x8
Notice that the sensors and LEDs are all labelled: UNDERSTANDING FUNKEY Input Keys: W, A, S, D, F It sends a letter key, either when touched or when using an input sensor.
Direction Keys: Up, Down, Left, Right It sends an arrow key, either when touched or when using an input sensor.
Output Plug an LED here
Power Connects to USB or battery PING (Input) For the ultrasonic sensor Analog (Input) For sensors that send more detail, not just on/off
Ground Helps complete the circuit
Servo (Output) Plug in the servo motor
05
Lesson I:
SCRATCH LEARNING OBJECTIVES By the end of this lesson, you will: Find and use sprites (characters) in Scratch Change a sprite’s costumes (different pictures of one character) Use simple blocks to tell a sprite what to do Use the green flag and key press blocks to control a sprite
VOCABULARY Word
Meaning
Sprite
A character in Scratch that you can give instructions to.
Costume
A picture of a sprite. One sprite can have many costumes.
Block
One piece of code. A block tells the sprite what to do.
MATERIALS
Computer
WHAT IS SCRATCH?
Scratch is a coding program. Scratch lets you give instructions to a computer. With Scratch, you can make:
Make games
IMPORTANT IDEA In Scratch: Sprites Characters are called sprites
Tell stories
Create animations
Costumes
Costumes change how the sprite looks.
06
Blocks
Sprites follow instructions made with blocks.
HOW COSTUMES SHOW MOVEMENT A sprite can look like it is moving. Example: One costume shows the front leg up One costume shows the front leg down When the sprite changes costumes quickly, it looks like the sprite is walking.
GETTING STARTED: CREATE A SPRITE WITH TWO COSTUMES Now we will make a program that starts at the green flag and moves with the space bar. 1. Open a new Scratch project. Name it “Lesson 1: Intro to Scratch”.
2. Choose a sprite or draw your own. 3. Click on the “Costumes” tab at the top.
4. Use the drawing tools to make two costumes. Costume ideas:
A bird with wings moving up and down A fish with a tail moving side to side A rabbit hopping up and down
PROGRAM YOUR SPRITE TO MOVE Now you will make your sprite move across the screen. 1. Click the Code tab.
07
2. Add these blocks from the Events section: When green flag clicked Click the green flag to start. Watch your sprite go to the start place. This block tells the sprite what to do when the program starts.
3. Add these blocks: (Looks section) (Motion section) X means left and right. These blocks set how the sprite looks and put the sprite in the starting place.
4. Add these blocks: (Events section) (Looks section) (Motion section) These blocks change the costume and move the sprite to the right.
IMPORTANT IDEA Events blocks
Motion blocks
Looks blocks
Events blocks tell the sprite when to start.
Motion blocks tell the sprite how to move.
Looks blocks tell the sprite how to look.
08
WHAT HAPPENS? Press the space bar again and again.
The sprite changes costumes. The sprite moves to the right. The sprite looks like it is walking across the screen.
STOP AND THINK
1. Does your sprite change costumes when you press the space bar?
Yes
Not yet
2. What happens when you stop pressing the space bar?
EXTRA CHALLENGE
Try new Motion and Looks blocks. You can: 1. Make the sprite turn
2. Make the sprite change colour
3. Make the sprite move to a random place If your sprite turns or changes colour, add a block under the green flag to reset it, like point in direction 90.
09
Project 1:
DRAWING BLUEPRINTS
Let’s Wonder What shape is your home from above? Talk with a friend. Then let’s find out! STEM Careers in this project: Architect
Designs buildings and places where people live and work.
For teachers and parents: The learning objectives of this project are in the guidebook.
18
Project 1:
DRAWING BLUEPRINTS INTRODUCTION Polygons are shapes we see in buildings and designs. Architects use polygons to draw floor plans for houses and buildings. Many parts of a house can be made from polygon shapes. Building Safe Houses and Cities
What is a Polygon? A polygon is a 2-dimensional (flat) shape.
Closed shapes, never open
No entrance?
You Help Build Better Cities!
All lines connected
When you work together, you can control machines better.
Regular polygons
If buildings are not planned carefully, they can be unsafe for families.
Triangle
3 Equal Sides 3 Equal Corners
Square
4 Equal Sides 4 Equal Corners
TEAM ROLES
Hexagon
6 Equal Sides 6 Equal Corners
Your project helps plan houses that are safer and smarter.
Work with your team to decide who will do each role. Leader Material Manager Reporter Testing Supervisor
19
DEFINE THE PROBLEM Sustainable Cities and Communities means making safe places for people to live. The shape of a house is often an irregular polygon, with sides that are not all equal. Your team will build a controller that draws a house plan. Who is your house plan for? 1. Who will live in your house? Choose one. A big family
A family with grandparents
A family with a pet
My own idea:
2. What do they need? Choose one. To have a room for everyone
To walk easily between rooms
To have two ways out if there is danger
My own idea:
3. Put your answers together. Our house plan is for: It will help them:
MEASURE YOUR SUCCESS Goals
Rules
Your controller should: Player 1 moves the pen up and down. Player 2 moves it left and right. Allow the team to draw polygons in Scratch
Your controller must: Use only the materials provided Include design ideas from every team member
MATERIALS
Circle the parts you need. Write extra materials in the box. FunKey
Alligator Wires
Battery Pack
Touch Sensor
Tilt Sensor
Light Sensor
Servo Motor
Ultrasonic Sensor
LED Light
IR Sensor
Glue
Tape
Markers
Computer
Scissors
Batteries
Paper
Cardboard
Clips
Cable
20
Extra Materials
GETTING STARTED TECHNOLOGY IN FOCUS A FunKey controller lets us use alligator clips and everyday objects to control what happens in a Scratch program. We can use it to:
Move characters
Control a drawing
Create our own buttons & switches
BUILD See the steps below for inspiration on how to build.
USB plug
Black Wire
Red Wire
Right
GND
LED lights up
21
CODE 1. Open a new Scratch project. Name it “Project 1: Drawing Blueprints”. 2. In the Costumes tab, select Ball. 3. Click Add Extension (bottom-left). 4. Select the Pen. 5. Make this code first to set a starting point for the pen:
6. Make this code next to activate the pen:
7. Make this simple code to move the pen to the right and draw a line. 8. Click the green flag. Press the space bar to start the pen. Press the right arrow again and again to draw a line to the right. 9. Plug in your FunKey and controller. Click the green flag and press the space bar. Draw a line with your controller!
22
YOUR
CHALLENGE Code and build your own controller so two people can work together to move up, down, left and right.You will draw a blueprint of a house with regular and irregular polygons.
DESIGN AND PLAN Discuss your ideas for how to solve the challenge with your team. Draw or write one idea from each teammate. Box 1 is your own idea. 1.
2.
3.
4.
My Idea
Sketch your team’s idea for your solution in the box below. Design Prompts
FunKey Board
Art Supplies and Cardboard
Sensors and LEDs
Show your plan to your teacher, then build it.
TEST 1. Go back to the ‘Measure Your Success’ and check the boxes. Does your project meet all the goals and rules? 2. Can the family live safely in the house you drew? 23
Yes
Not yet
Yes
Not yet
IMPROVE 1. Look at your build. the materials that worked. the materials that gave you trouble. Sketch in the box if there are other materials.
Art Supplies
FunKey Board
Sensors and LEDs
2. What will you try next? Circle one, or draw your own idea.
Change the code
Change the inputs
Change it for the people I chose
MATHS AND SCIENCE CONNECTION 1. a. Circle each regular polygon. b. Draw a square around each shape with four sides.
2. Draw your irregular polygon. Count the sides. Count the corners. Count the sides of the boxes around the outside to find the perimeter. Number of Sides: Number of Corners: Perimeter:
24
REFLECT Sustainable Cities and Communities means safe places to live for everyone. Look at your house plan. 1. Who could find it hard to live in the house you drew?
A person who cannot climb stairs
A person who cannot see well
A small child
2. Which change would help? Add a ramp at the door
Add a gate to keep little ones safe
Add bright lights and clear signs
My own idea:
3. Who plans buildings using shapes? Circle the correct answer. Architect
Chef
Doctor
Plans buildings
Cooks food
Helps health
FEEDBACK Show your project to 3 friends! Ask each one a question. Collect a sticker for each “yes” and paste it in the circle. Does it work well?
Logic
En
gin e er
!
Does the code work?
TEACHER REMARKS
25
Master
C o d er!
Did they present well?
Star Pr
e s e n t er!
SAMPLE SOLUTION Try to build and program the tool yourself. If you are having trouble, try the following directions.
SAMPLE CODE
Click the green flag to start. The ball moves to the starting position. Press space to draw. Use the arrow keys to move. Draw many polygon shapes. Click the green flag to start again.
SAMPLE BUILD With this build, two people work together. Player 1 Controls up and down Player 2 Controls left and right Hold the ground clip. Tap the arrow clips to move the ball. Work together to draw the shape.
26