The kit with micro:bit board
The kit without micro:bit board
OSOYOO Robot Car for Micro Bit has three full color RGB LEDs, which are programmable for colorful effect. In this lesson, we code the RGB LED.
● 1 x USB cable
● 1 x micro:bit board
● 1 x 9V battery
● 1 x OSOYOO Robot for Micro bit
|RGB color model is a color standard in the industry. It can be used to create a variety of colors through the change of RGB channels and their interactive mixture. RGB stands for red, green and blue. This standard has almost included all kinds of colors that are visually perspective by human eyes. It is one of the most widely used color system.
Rainbow LED is a kind of LED. It has integrated red, green and blue LED into one component. We all know that the three primary colors of light are red, green and blue. With different color combination, we can synthesize the color of all things. Similarly, by combining different RGB brightness of light, we can also create an infinite number of colors.
The LEDs on Robit are WS2812b LEDs, which have similar outlook with 5050 bead. Each bead is a pixel.
|RGB Car Program block;
When dragged into this block, All RGB operate according to instructions
|Define strip color block；
When dragged into this block, the strip will be showed color
|strip show block；
send all changes to the strip
Step 0: Go to url: https://makecode.microbit.org, click New Project
Step 1. In the Toolbox, click on the Basic category and then click the on start block , and then Drag as following figure:
Step 2. Click on the Basic category again. Then drag the show icon block and drop it inside the on start block ,and choose the icon from the drop-down menu as following figure.
Step 3. Click on the Basic category and then click the forever button, and then Drag as following figure:
Step 10. Rename the project and download the hex file as following figure. .
Step A)Please download the whole code http://osoyoo.com/download/products/MicroBitRelated/Microbit_Robot/microbit-ROBOT-7.zipin your computer. Unzip the download file .
Step B)Connect the micro:bit with the computer through USB cable, and the computer will pop up a U disk and send the download file(.hex)to your micro:bit.
Step C)Insert the micro:bit main board into the robot, and connect a 9v battery into the battery box.
Step D)Turn the POWER switch ON. you can see a smile on the car’s dot matrix, and all the full light RGB LED are lit up. Now, the light is lit up with purple, and the children can choose to light the other colors in the program.
Note: The courses about water lamp need to turn off the power before downloading the new program, otherwise the three full color RGB LEDs will always be on.
DownLoad Url osoyoo.com