1. Description

kidsbits blocks coding analog temperature 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.

This kidsbits analog temperature sensor is based on a thermistor. The resistance varies with surrounding temperature change.
It can measure temperature change in the surroundings and send the data to Arduino analog IO. Just need to convert the output data into degrees Celsius temperature by simple programming.

The sensor is convenient and cost effective, widely applied to gardening, home alarm system and other devices.

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

Click the Code to check the C language:

6. Test Result

Upload success and click to open the monitor, set the baud rate to 9600, you should see the current temperature value showed on the monitor.

7. Resources

https://drive.google.com/open?id=1Mn8EnYu3ERuDoUOseAurLLSPJB4rA1n7