Detect and Avoid with Edison
Can you program Edison to detect objects and avoid crashing in to them?
Get the materials for this lesson
You will also need to use the EdBlocks programming app.
About this lesson
Recommended time
50 minutes
Difficulty
Beginner
Prerequisites
Sequence, block-based coding
Grade levels
Year 2+

Introduce the key computational concepts of loops and an understanding of infrared light using Edison robots and the block based programming language, EdBlocks. This lesson utilises the Edison robot’s drive and obstacle detection functions through a set of progressive programming tasks.
Students learn about how Edison’s infrared light sensors work and program Edison to detect obstacles, avoid obstacles and utilise loops.
This 1-hour lesson is designed to allow students to work independently as they discover:
- Sequential programming
- Loops
- Pattern recognition
- Decomposition and problem solving
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 EdScratch, there are a few extra things you need to know. This Getting started with Edison and EdScratch set will help you get the most out of Edison, EdScratch 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.