Ks0107 keyestudio EASY plug Water Sensor: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 9: | Line 9: | ||
* low power consumption and high sensitivity;<br> | * low power consumption and high sensitivity;<br> | ||
* directly connected to microprocessor or other logic circuits, suitable for a variety of development boards and controllers such as Arduino controller, STC single-chip microcomputer, AVR single-chip microcomputer, etc.<br> | * directly connected to microprocessor or other logic circuits, suitable for a variety of development boards and controllers such as Arduino controller, STC single-chip microcomputer, AVR single-chip microcomputer, etc.<br> | ||
<span style=color:red> '''Special Note:''' <br> | |||
The sensor/module is equiped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface. <br> If you have the control board of other brands, it is also equiped with the RJ11 6P6C interface but have different internal line sequence, can not be used compatibly with our sensor/module. </span><br> | |||
<br> | <br> | ||
==Features == | ==Features == | ||
* Connector: Easy plug | * Connector: Easy plug |
Revision as of 08:48, 22 May 2019
Introduction
This sensor is easy-to-use, portable and particularly designed to identify and detect water level and water drop.
It can measure the volume of water drop and water quantity through an array of traces of exposed parallel line.
This sensor is small and equipped with the following features:
- smooth conversion between water quantity and analog quantity;
- strong flexibility, outputting analog value;
- low power consumption and high sensitivity;
- directly connected to microprocessor or other logic circuits, suitable for a variety of development boards and controllers such as Arduino controller, STC single-chip microcomputer, AVR single-chip microcomputer, etc.
Special Note:
The sensor/module is equiped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equiped with the RJ11 6P6C interface but have different internal line sequence, can not be used compatibly with our sensor/module.
Features
- Connector: Easy plug
- Operating voltage: DC5V
- Operating current: <20mA
- Sensor type: Analog
- Detection area: 40mm x16mm
- Production process: FR4 double-side tinned
- Operating temperature: 10%~90% without condensation
- Production process: FR4 double-side tinned
Technical Details
- Dimensions: 68mm*20mm*18mm
- Weight: 5.7g
Connect It Up
Connect the EASY Plug water level sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
Upload the Code
Below is an example code. Open or drag below code to Mixly Blocks and upload.
What You Should See
Hook it up and upload well the code, you will see the led light on the water sensor light up, then open the serial monitor, you will see the analog value.
When place the sensing area of sensor into the water, you can see the data change. The deeper the sensor’s sensing area into water, the greater the value.
Extension Experiment
Adding LCD Display
Hookup Guide
Connect the EASY Plug water level sensor and LED module to control board using an RJ11 cable.
Test Code
Below is an example code.
What You Should See
Upload success, you should be able to see the analog value is showed on the LCD screen.
Little Knowledge:
- Remember you can adjust the contrast by rotating a blue potentiometer on the LCD back if you can’t make out the words clearly.
Resources
Download the Arduino Code and PDF:
https://drive.google.com/open?id=1t7O1WKBnmtDvTQaeBXzoPlpJfmo_k3me
Download the Mixly Code and PDF:
https://drive.google.com/open?id=1w5RKpRjjE1B87ftQyZqCl13dloHnDPEv