KD0023 kidsbits Blocks Coding Vibration Sensor (Black and Eco-friendly)

1. Description

kidsbits blocks coding vibration 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 sensor is mainly composed of 801S vibration, with wide vibration detection range, and no direction limitation.
The internal structure of the 801S vibration is equivalent to a metal ball fixed on a special spring as a pole, and the other is surrounded by another pole. After the vibration reaches a certain amplitude, the two poles are connected.

You can adjust the potentiometer on the sensor to adjust its sensitivity. Sensitivity is the best when adjust the potentiometer to make the SIG LED on the sensor between the non-bright and bright thresholds.
You can make full use of it with creative thinking, step counting, and crash warning light, etc.

2. Technical Parameters

  • Interface: EASY plug
  • Operating voltage: DC 5V
  • Output signal: digital 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.

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, powered on, when the sensor detects vibration signal, the D13 indicator light will turn on; otherwise, turn off.

7. Resources Download