This website uses cookies to ensure you get the best experience on our website.
Ohbot
  • OH
    • Educators
    • Makers
  • About
    • Our Robots
    • Our Story
    • Follow Us
    • Contact
  • Shop
    • All Robots
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • OhbotApp2
    • Accessories
    • Resellers
  • Get Started
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • Accessories
    • Technical Notes
    • Languages
    • Support
  • Learn
    • Picoh
    • Ohbot
    • AI
    • Robot Work
    • Share

<-PICOH SCHEME

Sequence 2 - Lesson 2: Scaredy Eyes

Picture
Learning Intention

I can program a robot to repeatedly move to random positions​

Introduction

How did we make Picoh move in the last lesson? We made Picoh move a bit like us by using the pick random operator to make a random wait between movements. This week we are going to program Picoh to look scared. We are going to program Picoh to look around randomly. 
Picture
Teacher Input 1

Share the code with children and ask them to predict what they think will happen each time the green flag is clicked. Discuss how the code can be changed to make Picoh move through the full range from 0 to 10. Ask children to predict what the code will do. 

Picture
Activities

1. Children copy the code. Challenge them to alter the random ranges to make Picoh more relaxed or more nervous.

​2. Write a program to make other parts of Picoh move randomly. 

Extension

Experiment with the use of pick random. How many different ways can you use pick random to make Picoh’s eyes move?

Plenary

Look at the code for the three random solutions. What do you think each will do? What is being changed randomly in each piece of code? A the time is random, B the distance moved is random and C the number of times the eyes move is random.
Picture
Picture
Picture
Picture
OH
Educators
Makers

About
Our Story
Follow Us
Consultancy
Contact
Shop
All Robots
Ohbot Assembled
Ohbot Kit
Picoh
OhbotApp2
Accessories
Resellers
Get Started
​Ohbot Kit
Ohbot Assembled
Picoh
Accessories
Technical Notes

Languages
Support

Learn
Picoh

Ohbot
AI
Robot Work
Share
Picture
Picture
Picture
Picture
Picture
​Ohbot Ltd. 2A Halliday's Mill, London Road, Chalford, Gloucestershire, GL6 8NR, UK
Copyright © Ohbot Ltd.  All rights reserved.
​Ohbot
® is a registered trademark of Ohbot Ltd.
  • OH
    • Educators
    • Makers
  • About
    • Our Robots
    • Our Story
    • Follow Us
    • Contact
  • Shop
    • All Robots
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • OhbotApp2
    • Accessories
    • Resellers
  • Get Started
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • Accessories
    • Technical Notes
    • Languages
    • Support
  • Learn
    • Picoh
    • Ohbot
    • AI
    • Robot Work
    • Share