1. Description

kidsbits blocks coding SMD RGB LED module is fully compatible with kidsbits control board and Lego building blocks.

You can easily connect it to kidsbits control board for communication using an RJ11 cable without worrying about wrong wiring and damage.

The module is mainly composed of a full-color SMD RGB LED. The PWM voltage input of the three pins R, G, and B can adjust the intensity of the three primary colors (red/blue/green) to mix any color we like.

2. Technical Parameters

  • Interface: EASY plug
  • Operating voltage: DC 5V

3. Hookup Guide

4. Import kidsbits Library  

Begin with the Mixly blocks coding, you should first import the corresponding kidsbits library for those sensor modules.

Connect the control board to your computer using a USB cable.

Then open the Mixly blocks software 0.998, set the board to UNO R3, select your correct COM port.

On the upper right corner you can switch the language.

After that, click Import, import the keyes-kidsbits library. Shown below.

If import custom library successfully, you should see the sensor module library.

Click on the digital read block of keyes_kidsbits, you can directly drag out the corresponding module to use.

5. Test Code

Code 1:

Open or directly drag the Mixly code of touch sensor to the Mixly window.

Click the Code to check out the C language.

Code 2:

Open or directly drag the Mixly code of touch sensor to the Mixly window.

Click the Code to check out the C language.

6. Test Result

Result 1:

Hook it up and upload the code 1 success, RGB LED on the module is emitting  red, green and blue light alternately, with an interval time of 0.5 second.

Result 2:

Hook it up and upload the code 1 success, RGB LED on the module emits a mixed color.

Note: as for the control box, we have brought out three control pins but not PWM pins. It has two control methods below:

One is to control the three colors of RGB light via HIGH or LOW level. In this case, the adjusted light color is very less, such as code 1.

The other is to set the square wave; simulate the PWM function to randomly adjust any colors. But in the loop function, can’t add the relay function, such as code 2.

7. Resources Download

https://drive.google.com/open?id=12mXUI9m1FuwIh-nHU74_9E746xwuwSu8

Leave a Reply

Your email address will not be published. Required fields are marked *