Ks0125 keyestudio EASY plug IR Receiver Module
Introduction
Infrared receiver is a component with functions of reception, amplification, and demodulation. The internal IC has already been demodulated so that can directly output digital signal.
Well, it will be also easy to make your own IR controller using IR transmitter.
Note: this module should be used together with EASY plug control board.
Specification
- Connector: Easy plug
- Power Supply: 5V
- Interface:Digital
- Modulate Frequency: 38Khz
Technical Details
- Dimensions: 38mm*20mm*18mm
- Weight: 5g
Connect It Up
Connect the EASY Plug Infrared receiver sensor to control board using an RJ11 cable. 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
Done uploading the code, when aiming at the IR receiver, press down the key on an IR remote controller, you should see the key decoding is displayed on the serial monitor. If long press the key, it will appear wrong code FFFFFFFF.
Little Knowledge:
This test can record all your remote control key decoding. So you can apply them to the next experiment to control LED lights.
Remote Controlled Light
Hookup Guide
Connect the EASY Plug Infrared receiver module and LED module to control board using RJ11 cables.
What You Should See
Upload success, press the key 1 on your remote controller, LED lights up. Then press the key 2, LED is turned off.
Little Knowledge:
If you want to change another remote control key, you should be able to change your remote key decoding. Shown below.
After that, upload the code again and have a try.
Resources
Download the Arduino Resource:
https://drive.google.com/open?id=16arav6CSqtWI5krgDKT3z-LdIh_UTPyY
Download the Mixly Resource:
https://drive.google.com/open?id=1vS8jLhx8O30tH4dr4f3_uw9mHTkzRYoI