Ks0118 keyestudio EASY plug Reed Switch Module: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 10: | Line 10: | ||
<span style=color:red> '''Special Note:''' <br> | <span style=color:red> '''Special Note:''' <br> | ||
The sensor/module is | 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> |
Revision as of 09:36, 22 May 2019
Introduction
This is a small device called a reed switch on the module.
When the device is exposed to a magnetic field, the two ferrous materials inside the switch pull together and the switch closes.
When the magnetic field is removed, the reeds separate and the switch opens. This makes for a great non-contact switch.
You can mount reed switch on the door for alarming purpose or as switches.
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.
Features
- Connector: Easy plug
- Working voltage: DC 3.3V-5V
- Working current: ≥20mA
- Working temperature: -10℃ to+50℃
- Detection distance: ≤10mm
Technical Details
- Dimensions: 39mm*20mm*18mm
- Weight: 4.6g
Connect It Up
Connect the EASY Plug Reed switch module and LED module to control board using RJ11 cables. 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
If you put a magnetic bead close to the reed module, once the reed module detects the magnetic field, LED will turn on.
Resources
Download the Arduino Datasheet:
https://drive.google.com/open?id=1UAujQHnyqXk3Ie6ypzHywBe0B1U6xuPq
Download the Mixly Code and PDF:
https://drive.google.com/open?id=1q8hmaEQtx4RU4N7lujDQw8Oi8mthw94J