KS0371 EASY plug Thin-film Pressure Sensor (Black and Eco-friendly): Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
In this way, we can know the conditions of pressure changes by detecting the signal changes. <br>
In this way, we can know the conditions of pressure changes by detecting the signal changes. <br>
You can connect the sensor to EASY plug Control board for communication using only a RJ11 cable.<br>
You can connect the sensor to EASY plug Control board for communication using only a RJ11 cable.<br>
<span style=color:red> '''Special Note:''' <br>
The sensor/module is equipped 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 equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module. </span><br>


<br>
<br>
==Parameters==
==Parameters==
* Working Voltage: DC 3.3V—5V
* Working Voltage: DC 3.3V—5V
Line 34: Line 38:


<br>
<br>
==Upload the Code==
Below is an example code. Open or drag below code to [https://wiki.keyestudio.com/Getting_Started_with_Mixly  Mixly Blocks] and upload. <br>
<br>[[File:ks0397 7.1.png|600px|frameless|thumb]]<br>
<br>
==What You Should See==
<br>[[File:ks0397 7-1.png|500px|frameless|thumb]]<br>
<br>
After uploading the code, open the serial monitor, and set the baud rate to 9600. <br>
When tightly press the sensor, you should see the value become larger. So the sensor works normally.
<br>[[File:ks0397 7-2.png|500px|frameless|thumb]]<br>
<br>
==Extension Experiment ==
<br>
<span style=color:brown><big>'''Pressure Controlling LED'''</big></span><br>


==Upload the Code==
'''Hookup Guide'''<br>
Copy and paste below code to Arduino IDE and upload.
Connect the EASY Plug pressure sensor and LED module to control board using RJ11 cables.  
<pre>
<br>[[File:压力.jpg|500px|frameless|thumb]]<br>
int s_pin = A0;
<br>
void setup()
{
  Serial.begin(9600);
  pinMode(s_pin,INPUT);
}
void loop()
{
  Serial.println(analogRead(s_pin));
  delay(500);
}
</pre>


'''Upload the Code'''<br>
Below is an example code.
<br>[[File:ks0397 7.2.png|600px|frameless|thumb]]<br>


==What You Should See==
<br>
After uploading the code, open the serial monitor in the Arduino IDE and set the baud rate to 9600. When press tightly the sensor’s pad, you should see the value become larger. So the sensor works normally.
'''What You Should See'''<br>
<br>[[File:ks0371 Result.png|500px|frameless|thumb]]<br>
After uploading the code, when tightly press the sensor with your finger, you should see the brightness of LED will change with the pressure intensity.
<br>[[File:ks0397 7-3.png|500px|frameless|thumb]]<br>
<br>[[File:ks0397 7-4.png|500px|frameless|thumb]]<br>




<br>
<br>
==Resources ==
==Resources ==
'''Download the PDF:'''<br>
https://drive.google.com/open?id=1eR31LK2Lg95ozvfbV6VIKLurttgd9FzH


'''Download the Code:'''<br>
https://fs.keyestudio.com/KS0371
https://drive.google.com/open?id=1nRNSjTMk_6S1vIF0IokDqAuLS3sO9V_J
 


<br>
<br>


==Buy from ==
==Buy from ==
*'''Official Website:''' http://www.keyestudio.com/ks0371.html
*[https://www.keyestudio.com/keyestudio-easy-plug-thin-film-pressure-sensor-for-arduino-stem-p0503-p0503.html '''Official Website''' ]


*[https://www.aliexpress.com/store/product/Keyestudio-EASY-plug-Thin-film-Pressure-Sensor-for-Arduino-STEM/1452162_32957782655.html?spm=2114.12010612.8148356.11.65312f0cH6aBIN  Shop on aliexpress ]
*[https://www.aliexpress.com/store/product/Keyestudio-EASY-plug-Thin-film-Pressure-Sensor-for-Arduino-STEM/1452162_32957782655.html?spm=2114.12010612.8148356.11.65312f0cH6aBIN  Shop on aliexpress ]

Latest revision as of 08:46, 8 January 2021

EASY plug Thin-film Pressure Sensor

Introduction

This EASY plug 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.
You can connect the sensor to EASY plug Control board for communication using only a RJ11 cable.

Special Note:
The sensor/module is equipped 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 equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.


Parameters

  • Working Voltage: DC 3.3V—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℃


Technical Details

  • Dimensions: 80mm*20mm*18mm
  • Weight: 4.4g


Connect It Up

Connect the EASY Plug Pressure 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

After uploading the code, open the serial monitor, and set the baud rate to 9600.
When tightly press the sensor, you should see the value become larger. So the sensor works normally.
thumb



Extension Experiment


Pressure Controlling LED

Hookup Guide
Connect the EASY Plug pressure sensor and LED module to control board using RJ11 cables.
thumb

Upload the Code
Below is an example code.
thumb


What You Should See
After uploading the code, when tightly press the sensor with your finger, you should see the brightness of LED will change with the pressure intensity.
thumb

thumb



Resources

https://fs.keyestudio.com/KS0371



Buy from