Ks0125 keyestudio EASY plug IR Receiver Module

From Keyestudio Wiki
Revision as of 10:35, 16 February 2017 by Keyestudio (talk | contribs)
Jump to navigation Jump to search

EASY plug IR Receiver Module


thumb

Introduction

Infrared receiver is a component with functions of reception, amplification, and demodulation. Its internal IC has already completed demodulation so it directly outputs digital signal. This module is usually used together with IR transmitter module.
Note: this module needs to be used together with EASY plug control board.


Specification

  • Interface: Easy plug
  • Power Supply: 5V
  • Interface:Digital
  • Modulate Frequency: 38Khz
  • Module interface socket:JST PH2.0
  • Size: 38*20mm
  • Weight: 6g


Connection Diagram


thumb


Sample Code

#include <IRremote.h>
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
 Serial.begin(9600);
 irrecv.enableIRIn(); // Start the receiver
}
void loop() {
 if (irrecv.decode(&results)) {
   Serial.println(results.value, HEX);
   irrecv.resume(); // Receive the next value
 }
}

IR Remote Library Includes some sample codes for sending and receiving.
https://github.com/shirriff/Arduino-IRremote

Resources

Datasheet

http://www.keyestudio.com/files/index/download/id/1464234722/

Buy from

http://www.keyestudio.com/keyestudio-easy-plug-ir-infrared-receiver-module-for-arduino-starter.html