KD0037 kidsbits Blocks Coding TEMT6000 Light Sensor (Black and Eco-friendly)

1. Description

kidsbits blocks coding TEMT6000 Light 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 TEMT6000 light sensor is mainly composed of a highly sensitive visible light sensitive (NPN type) triode, which can change and capture the tiny light rays by about 100 times, and is easily recognized by the microcontroller for AD conversion.
This kidsbits TEMT6000 light sensor uses a special ambient light detector (TEMT6000) with spectral response that closely emulates the human eye.

It does react well to very small changes in a wide range of brightness, however, it does not react well to IR or UV light.
The light sensor can measure the level of light in a room or ambient light in a space.

2. Technical Parameters

  • Interface: EASY plug
  • Operating voltage: DC 5V
  • Output signal: analog signal

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

5. Test Code

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.

6. Test Result

Hook it up and upload the code success, open the monitor and set the baud rate to 9600. It will display the analog value of current ambient light intensity.
The stronger the ambient light is, the greater the analog value is.
When the analog value is less than 200, the D13 indicator on the control box will turn on; otherwise, the led will be off.

7. Resources Download