Ohbot
  • OH
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
  • Get Started
    • Assemble Ohbot Kit
    • Get Started Ohbot
    • Get Started Picoh
    • Accessories
    • Technical Notes
    • Support
  • Learn
    • Block Programming
    • Python Programming >
      • Programming Ohbot
      • Programming Picoh
    • Share
<-Ohbot SCHEME

Year 5 - Lesson 1
​ (Time)

Picture
Learning Intention
  • I can program a robot to say the date and time

Picture
Introduction
What do you know about Ohbot?  What code have you written for Ohbot in Year 3 and Year 4? This week we are going to be looking at how to make Ohbot speak and use some operators that report the date and time using a variable called current that’s built in to the Ohbot program.

Look at your computer. What current information can you see displayed? In the bottom right is the current time. We can write some code to make Ohbot say the current time and date.  The sound will work best through the headphones. 

Picture
Teacher Input 1
Can you experiment with instructions from the Speech palette to make Ohbot talk?  Write a program in which Ohbot talks.  We will now work together to make Ohbot say the year.  We need to start with the say until done instruction, then we need to go to the Sensing palette and scroll down to find the current variable.  The current variable has a drop down menu and we need to select the ‘year’. 

Ohbot will now say the year.  However, if we go to the Operators palette and drag a join operator we can add our own text before the year.  We can now use this program as a skeleton to say other current pieces of information.  Children to now work through tasks on slides.
Picture
Activities
1. Can you write some code to say the time, which includes the hour, minute and second?

Picture
​Extension
Can you write some code to say the day name, date,  month name and year?

​Plenary
Look at examples of the children’s coding.  Were they successful? Did they need to debug their code? Is everyone’s code the same?
Picture
OH

About
Ohbot Robots
Our Story
Follow us
Contact
Buy
Ohbot
Picoh
Accessories
Order enquiries


Get Started
​Assemble Ohbot Kit
Ohbot
Picoh
Ohbot Accessories
Technical Notes

Support

Learn
Block Programming
  Ohbot Python
  Picoh Python    Share
​
​Ohbot Ltd.
5 Halliday's Mill
London Road, Chalford
Gloucestershire, GL6 8NR, UK
Picture
Picture
Picture
Picture
Picture
Copyright © Ohbot Ltd.  All rights reserved.
​Ohbot
® is a registered trademark of Ohbot Ltd.
  • OH
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
  • Get Started
    • Assemble Ohbot Kit
    • Get Started Ohbot
    • Get Started Picoh
    • Accessories
    • Technical Notes
    • Support
  • Learn
    • Block Programming
    • Python Programming >
      • Programming Ohbot
      • Programming Picoh
    • Share