Project 4 – Rainbow LED Mibo Extension

Learn to control and program the rainbow LED extension for the MIBO robot

DIFICULTY LEVEL:  Begginer.

EXERCISE DURATION: 30 minutes.

MATERIALS

MIBO ASSEMBLY

Use the following video as a mounting guide for the MIBO. If you already have it mounted, you can skip this step and go directly to the extension assembly.

RAINBOW LED EXTENSION ASSEMBLY

You just need to place the expansion piece with the LEDs facing down and fix it with the two screws included.

Make sure that the switch on the bottom of the MIBO is in the “Rainbow LED” position or extension will not work properly.

PROGRAM CODE

To program the MIBO use the micro: bit Makecode web programming platform

Create a new project and write the code, or directly access the following programming code in Makecode, which you can access to its edition and / or download. If you cannot access, you can go directly to this project in Makecode website.

Mibo includes two neopixel LEDs in its lower part, this extension adds 8 more LEDs that are then connected in series or in the same “strip”, that is, when programming them we must take into account that LED 0 and 1 are those that include Mibo, and from 2 to 10 are on the extension.

Once the project has been downloaded to your computer, with the “.hex” format, copy it to the micro: bit in the same way you usually copy a file to a USB stick.

  • In windows, you can right-click on the downloaded “.hex” file, and select “Send to → MICROBIT”.
  • On Mac, you can drag and drop the downloaded “.hex” file into the MICROBIT drive.

If you have any questions, check the  micro:bit quick guide.

Remember! Your Mibo saves the last program uploaded in memory and can operate autonomously with the batteries by operating the switch on the side of the micro: bit board.

PROJECT RESULT

Congratulations, you have done your first project with MIBO!

Look at the result of the previous exercise in the MIBO, as well as other effects that you can try to recreate:

0 0

0