Perform in the spotlight
Let’s get the Edison robot to play music or dance when it detects light, just like a performer in the spotlight!
Get the materials for this lesson
You will also need to use the EdBlocks programming app.
About this lesson
Recommended time
55 minutes
Difficulty
Beginner
Prerequisites
None
Grade levels
Year 2 – Year 6

Introduce the key computational concepts of loops and conditionals using Edison robots and the block-based programming language EdBlocks. This lesson taps into the Edison robot’s light sensors, reinforcing the importance of sequence in programming and exploring how robots can sense and react to the world.
This 1-hour lesson is designed to allow students to work independently as they discover:
- What do Edison’s light sensors do?
- What is an infinite loop?
- How can you use the sensors to make the robot react?
Celebrate student success!
Recognise your students’ achievements in taking on an Hour of Code challenge with Edison robots by presenting them with a certificate of completion.
Is this your first time using Edison?
If this is your first time using Edison or EdBlocks, there are a few extra things you need to know. This Getting started with Edison and EdBlocks set will help you get the most out of Edison, EdBlocks and this activity. Inside you will find:
- step-by-step help for setting up your robots and programming devices plus
- a hands-on introduction activity for students.