KD0027 kidsbits Blocks Coding Flame Sensor (Black and Eco-friendly)

1. Description

kidsbits blocks coding flame sensor 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 flame sensor can be used to detect fire or other wavelength at 760nm ~1100nm light source. It is particularly sensitive to flame spectrum and has adjustable sensitivity and stable performance.

You can adjust the potentiometer on the module to adjust the sensitivity.

2. Technical Parameters

  • Interface: EASY plug
  • Operating voltage: DC 5V
  • Output signal: digital signal
  • Detection angle: about 60°
  • Detection distance: maximum 20cm

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

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

Click the Code to check the C language:

6. Test Result

Wire it up and upload the code successfully, powered on, the POW led on the module is normally on.

When the sensor detects the flame nearby, the SIG LED on the sensor lights up, and the D13 indicator on the control box also lights up.

If no flame detected nearby, both the SIG LED on the sensor and the D13 indicator on the control box are turned off.

7. Adjust Sensitivity

Note: power on the flame module, rotate a potentiometer with a slot type  screwdriver to adjust the sensitivity.

When the SIG LED is between the non-bright and bright critical points, the higher the sensitivity of the sensor, the longer the detection distance.

8. Resources