KD0014 kidsbits Blocks Coding IR Transmitter Module (Black and Eco-friendly)

1. Description

kidsbits blocks coding IR transmitter 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 connection and damage.

The Infrared transmitter module is mainly composed of an infrared transmitter.

An infrared transmitter is simply a Light Emitting Diode which generates IR light (invisible IR light).

In an infrared remote control, for example, pushing a button sends an electric signal to the LED, which converts the signal into a beam of infrared light.

Infrared transmitters are widely used as a means of wireless communication by remote controls for televisions and other electronic devices.

This IR transmitter module is designed for IR communication when paired with IR receiver module. 

2. Technical Parameters

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

3. Wiring Diagram

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 shown below.

Click on the display screen block of keyes_kidsbits, you can directly use the corresponding module.

5. Test Code

For IR transmitter module:

Open the code folder we provided, or you are able to directly drag the code to Mixly window.

You can click the Code to check the C language.

For IR receiver module:

Open the code folder we provided, or you are able to directly drag the code to Mixly window.

You can click the Code to check the C language.

Pay special attention to:

  1. As for IR transmitter module, the control port in the code libraries is D3, so it can only connect to D3/D4 port.
  2. In the code setting, the IR transmitter module can only send a character once, and only be sending number.
  3. In the code setting, should select the printIn hex for serial printing; otherwise, unavailable.

6. Test Result

  1. Before upload the code to your control board, make sure that the code libraries has been added to Arduino libraries folder mentioned above.
  2. Then upload the test code to the IR transmitter module connected to D3/D4 port. Upload success, plug out the USB cable and power the control board with an external power supply.
  3. After that, connect the board to your computer with a USB cable; upload the test code to IR receiver module connected to D6.   
  4. Upload the code success, open the monitor and set the baud rate to 9600.
  5. Finally, aligning the IR transmitter head with receiver head; the IR transmitter module sends a signal, and IR receiver module receives the signal, LED1 is flashing.

You should see the received information on the monitor shown below.

7. Resources Download