Skip to content
Digital Education Programme

1 · Introduction

Energy saving

The lights in Ubaldo's building stay on when nobody needs them. He builds lighting that adapts to the light around it.

Book pages: 55–68 · Device: Automatic lighting

2 · Computational thinking · Animations

Intelligent lighting

Open the project in Animations, see how it works and complete it following the book.

3 · Build it

Automatic lighting

Build the device (automatic lighting) following the assembly sequence. Before you program it, test each component with its test program.

Automatic lightingAssembly sequence · PDF

Project components

  • Analog sensorsLight sensorDetects the light in the environment in a range between 0 and 1023.Test
  • OutputsWhite LEDTurns on and off and adjusts the brightness of the light.Test

4 · Code it · Maker

Code it

Program the device in Maker. Each challenge has an example to open and analyze before you start.

5 · Play it

Play it

Upload the program to the board and play with your automatic lighting. Then do the self-assessment in the book (pages 55 to 68).