kidsbits blocks coding water drop/steam 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 water vapor sensor is an analog sensor and can make a simple rainwater detector and liquid level switch.
When humidity on the surface of the sensor goes up, the output voltage will increase.
2. Technical Parameters
- Interface: EASY plug
- Operating voltage: DC 5V
- Output signal: analog 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, open the monitor and set the baud rate to 9600. You can see the analog value of humidity measured on the sensor’s sensing area.
The higher the humidity, the larger the analog value is.
If the sensor’s sensing area detects a water drop, the analog value will be displayed on monitor window.
When the measured analog value is greater than or equal to 500, D13 indicator on the control box is turned on; otherwise, turn off.