Ks0114 keyestudio EASY plug Knock Sensor

From Keyestudio Wiki
Revision as of 16:51, 6 May 2019 by Keyestudio (talk | contribs)
Jump to navigation Jump to search
EASY plug Knock Sensor

Introduction

The knock sensor is mainly composed of SW-280 vibration switch, which is an inductive proximity switch.
It is an electronic switch that transmits the sensing result to the circuit device and induces the circuit to start working when the vibration force is induced.
The module comes with a positioning hole for you to fix it to other devices.
You can make full use of it with creative thinking, like electronic drum, and so on.
Note: this module should be used together with EASY plug control board.

Features

  • Connector: Easy plug
  • Working voltage: 5V
  • Sensor type: Digital


Technical Details

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


Connect It Up

Connect the EASY Plug knock sensor and LED module to control board using 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

Done uploading the code, if knock the module hard, the led will be turned on.
thumb

thumb


Resources

Download the Arduino Code and PDF:
https://drive.google.com/open?id=1jH-qVDzAq5CZFNpYCLmgcO-FOBL1Ub9e

Download the Mixly Code and Datasheet:
https://drive.google.com/open?id=1Uf7HSOXDiCAiF9iO5vTrANME-2Y3_HGb



Buy from