Code Smart

Computing | Ages 11 - 14

Code Smart is a computing and robotics education programme based on driverless car technologies. Students will develop their ability to code as well as their design thinking as they tackle smart city challenges.

Through a series of nine lessons, students will learn about aspects of making, programming and design thinking as they build and program their own robot cars. They will work in teams to tackle coding challenges based on the actual problems that engineers are faced with in designing autonomous vehicles. In a final design challenge, students will need to work on not only the technical aspects of driverless cars, but also how they can improve lives and create smarter and safer communities.

Code Smart takes students on a journey from complete beginners to code creators. Along the way, students are provided with real-world links opening up a range of possible STEM careers.


Lesson 1: Robot cars and smart cities

This lesson will introduce the concept of robotics and autonomous cars. The challenge is to build the mBot, and get it moving with the remote control.

Lesson 2: Controlling cars with code

Students will discuss how programming a car compares to programming a standard computer. The challenge is to program the robot to drive in shapes.

Lesson 3: Where am I?

Students will learn about the role of mapping. They will be challenged to make their robot follow a path using the line follower on their robot cars.

Lesson 4: What’s around me?

Students will learn about obstacles and sensors. The challenge will be to code the mBot to avoid obstacles using data from the ultrasonic sensor.

Lesson 5: Safety and signalling

Students consider how autonomous cars can communicate with people to increase safety. They will then program the LEDs and buzzer to signal movements.

Lesson 6: What do I do next?

Students will discuss failure as the First Attempt in Learning. This is an opportunity to consolidate learning to complete new challenges.

Lesson 7: Designing our smart city pt. 1

As the first part of a Design Thinking Workshop, students will empathise with different people and brainstorm ways to solve their travel problems.

Lesson 8: Designing our smart city pt. 2

In part two of the workshop, students use an ideas funnel to select and refine ideas. Each group will then prototype one idea using their skills.

Lesson 9: Designing our smart city pt. 3

Students will discuss different ways of communicating and marketing ideas. Then each group will prepare and present their prototyped ideas.



Brought to you by

In partnership with

Technology partner

teach the goals

activity age bookmark-fill icon bookmark boy-girl calendar chevron-down icon close icon compass cross icon download encounter-live facebook gallery icon instagram icon Instagram icon linkedin links icon location mail icon map next play previous professional-development right-arrow icon search share single image social-media speaker spinner icon students subject-update teacher-resources tick icon time twitter user video-lesson video youtube