KD0019 kidsbits Blocks Coding Digital Tilt Sensor (Black and Eco-friendly)

1. Description

kidsbits blocks coding digital tilt 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 wiring and damage.

The kidsbits digital tilt sensor mainly integrates a ball tilt switch.

The tilt-switch twig is the equivalent of a button, and is used as a digital input.

Inside the tilt switch is a ball that make contact with the pins when the case is upright. When the switch is level it is open, and when tilted, the switch closes.

It can be used for orientation detection, alarm device or others.  

2. Technical Parameters

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

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

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

Check the C language code:

6. Test Result

Hook it up and upload the code success, tilt the sensor toward left side, SIG LED on the sensor and D13 indicator of control board light up. If tilt toward another side, both leds turn off.

7. Resources Download