top of page

L  STAR

INTRODUCTION

The motivation we made the project is to company with kids.

It can attract kids to go to the place where the mbot is.

The function is used in  directing kids to their bedroom if kids don't want to sleep, when it is time to sleep. 

Our robot begins to sing "Little star" when the room is dark.

Then when it is singing the song, it arounds a triangle with those LED on corresponding the note in the song.

Algorithm

Part 1: Enter the notes and tempos of the song "Little star".

Part 2: When it comes to different notes, the LED will convert to the corresponding colors.

Part 3: At first, the mbot will go forward, and then it will turn when the song pass 4 sections.  

VIDEO

code

bottom of page