kidsbits blocks coding pressure 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 pressure sensor adopts the flexible Nano pressure-sensitive material with an ultra-thin film pad. It has the functions of water-proof and pressure detection.
The force sensors are ultra-thin and flexible printed circuits, which can be easily integrated into force measurement applications.
The harder you press, the lower the sensor’s resistance.
When the sensor detects the outside pressure, the resistance of sensor will make a change. So we can use the circuit to convert the pressure signal that senses pressure change into the corresponding electric signal output.
In this way, we can know the conditions of pressure changes by detecting the signal changes.
2. Technical Parameters
- Interface: EASY plug
- Operating voltage: DC 5V
- Range: 0-0.5KG
- Thickness: ＜0.25mm
- Response Point: ＜20g
- Repeatability: ＜±5.8%（50% load）
- Accuracy: ±2.5%（85% range interval）
- Durability: ＞100 thousand times
- Initial Resistance: ＞100MΩ (no load)
- Response Time: ＜1ms
- Recovery Time: ＜15ms
- Working Temperature: -20℃ to 60℃
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. Upload 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.
When press the thin-film pad with your finger, the monitor window will show the analog value of current measured pressure.
The stronger the pressure is, the greater the analog value is.
When the analog value is greater than or equal to 500, the D13 indicator on the control box will turn on; otherwise, the led will be off.