Ks0111 keyestudio EASY plug Collision Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


<span style=color:red> '''Special Note:''' <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>
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>


Line 78: Line 77:


==Resources ==
==Resources ==
*'''Download the Arduino Code and PDF:'''<br>
https://drive.google.com/open?id=1Sqc5QkXZ4KItag_iYbaFT5SPmAHhowLX


*'''Download the Mixly Code and Datasheet:'''<br>
https://fs.keyestudio.com/KS0111
https://drive.google.com/open?id=1_6QPW_C3VHyvkt39fpD4zBxOX6VA-GHH


<br>
<br>

Latest revision as of 16:08, 7 January 2021

Keyestudio EASY plug Crash Sensor

Introduction

Crash sensor, also known as snap-action switch, is an electric switch that is actuated by very little physical force.
It is a digital on-off input module necessary for elementary electronic.
By programming, it can be used for the light, sound device, key function of LCD display, 3D Printer position feedback, or other devices.
This sensor needs to be used together with EASY plug control board.

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.


Specification

  • Connector: Easy plug
  • Onboard status indicator LED
  • M3 mounting hole, convenient for fixation on other devices.
  • If collision happened, outputs LOW level signal; no collision, outputs HIGH level signal.


Technical Details

  • Dimensions: 44mm*20mm*18mm
  • Weight: 5.5g


Connect It Up

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

When an object crashes the metal switch of the sensor, the LED is turned off. If no crash happened, LED is turned on.
thumb

thumb

You should be able to see the value printing on the monitor.
thumb



Extension Experiment

Switch Controlling Relay

Hookup Guide
Connect the EASY Plug Crash sensor and relay module to control board using an RJ11 cable.
thumb

Upload the Code
Below is an example code.
thumb


What You Should See

thumb

If crash the limit switch, the LED on the relay module is turned on.
thumb


Troubleshooting:

  • Program Not Uploading?

This happens sometimes, the most likely case is a confused Board and serial port, you should firstly select your proper board and port.
If it doesn’t, make sure you have assembled the circuit correctly and verified and uploaded the code to your board.



Resources

https://fs.keyestudio.com/KS0111


Buy from