Table of Contents

Multicolor Lamp

A small lamp, made from a sheet of paper which is folded using a simple Origami technique, and illuminated through the RGB LED. With the two buttons of the Kniwwelino, you can change the color of the lamp and its blinking effect.

To program the lamp, you will need to use blocks from the buttons, the LEDs, the variables, logics, and functions.

Needed materials

Programming

Step 1: set the color of the LED

To set the color of the LED, use the following block and put it into Kniwwelino repeat forever.

To make the LED blink, change set the block option to blink.

Step 3: change the colour of the LED when you click on button A

Step 4: change the blinking effect when you click on button B

Solution

Open Project in KniwwelinoBlockly

Crafting

Model

The model for the multicolor lamp is available here: model_lamp.pdf

Instructions