Edison and the spiralling spider trap
Some spiders build webs which spiral into a central point in the middle. Can you program Edison to drive so that the robot spirals inward, like a spider laying a trap?
Get the materials for this lesson
You will also need to use the EdScratch programming app.
About this lesson
Introduce the key computational concept of variables using Edison robots and the Scratch-based programming language EdScratch. Variables, which can be created and utilised through the special ‘Data’ category in EdScratch, are introduced and then explored in this lesson. The concept of using maths in programming, and the practice of tracing code are also explored and practised.
This 1-hour lesson is designed to allow students to work independently through two parts:
- Part 1: What are variables?
- Part 2: How do you program a spiralling spider trap?
An extra ‘bonus challenge’ attached to this activity offers students an opportunity to mix computer programming and physical engineering to turn their robots into trap-laying, spiralling spiders.
To be successful with this activity, it is recommended that you:
- Have used block-based coding applications
- Understand sequence and sequential programming
- Understand definite loops (‘for’ loops)
- Are comfortable using addition, multiplication and degrees as a measurement for angles
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.
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.