Ks0107 keyestudio EASY plug Water Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 40: Line 40:
<br>[[File:ks0397 18-1.png|600px|frameless|thumb]]<br>
<br>[[File:ks0397 18-1.png|600px|frameless|thumb]]<br>


Hook it up and upload well the code, you will see the led light on the
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.<br>
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.
<br>[[File:ks0107 Result.jpg|500px|frameless|thumb]]  [[File:ks0397 18-2.png|500px|frameless|thumb]]<br>


<br>


<br>
==Extension Experiment==
==Extension Experiment==



Revision as of 13:47, 6 May 2019

Keyestudio EASY plug Water Sensor

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.


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.
thumb


Upload the Code

Below is an example code. Open or drag below code to Mixly Blocks and upload.

thumb


What You Should See


thumb

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.
thumb thumb


Extension Experiment

Adding LCD Display

Hookup Guide
Connect the EASY Plug water level sensor and LED module to control board using an RJ11 cable.

thumb


Test Code
Below is an example code.
thumb


What You Should See

thumb

Upload success, you should be able to see the analog value is showed on the LCD screen.
thumb


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.


thumb



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



Buy from