Concept: Xyl0phon3

This xylophone consists of colorful flat bricks.
When these sensors are close to the xylohpone, then the hub reads the color and plays the according note.

This works as follows:
The distancesensor and the color sensor are attached to each other and connected to the hub. When the distance is sufficiently low, the hub reads the color from the color sensor. Depending on the color, it then plays the according note.

This is a great exercise to teach basic musical theory as well as programming.
Image attached to challenge
Winners announced
LEGO® MINDSTORMS® Robot Inventor

Join the conversation

Sign in to comment

You'll need to sign in to an account to post a comment.