Ks0026 keyestudio Digital IR Receiver Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 45: Line 45:
[https://github.com/shirriff/Arduino-IRremote IR Remote Library]
[https://github.com/shirriff/Arduino-IRremote IR Remote Library]


'''Datasheet'''
'''PDF'''
   
   
http://www.keyestudio.com/files/index/download/id/1463649628/
https://drive.google.com/open?id=1ia1SihJ1urPfaThVrwC7gB_yIv0d7_DT


'''Video'''
'''Video'''

Revision as of 15:26, 14 November 2017

Introduction

IR is widely used in remote control. With this IR receiver, Arduino project is able to receive command from any IR remoter controllers if you have the right decoder. Well, it will be also easy to make your own IR controller using IR transmitter.
thumb

Specification

  • Power Supply: 5V
  • Interface:Digital
  • Modulate Frequency: 38Khz
  • Module Interface Socket:JST PH2.0
  • Size: 30*20mm
  • Weight: 4g

Connection Diagram

The following image shows a suggested connection method. You may use any Digital I/O pin that is not in use by another device. 

NOTE: In the sample code below Digital pin 11 is in use, you may either change your wiring or change the sample code to match. 


thumb

Sample Code

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
}

Resources

Library

IR Remote Library includes some sample codes for sending and receiving: IR Remote Library

PDF

https://drive.google.com/open?id=1ia1SihJ1urPfaThVrwC7gB_yIv0d7_DT

Video

http://www.keyestudio.com/wp/2016/05/ks0026-27-keyestudio-ir-transmitting-and-ir-receiving-modules/

Buy from

Official Website

http://www.keyestudio.com/keyestudio-digital-ir-receiver-module-for-arduino.html

Amazon Store

https://www.amazon.com/Keyestudio-Digital-Receiver-Arduino-raspberry/dp/B0171PHXRY/ref=sr_1_1?ie=UTF8&qid=1479871533&sr=8-1&keywords=keyestudio+Digital+IR+Receiver+Module+for+Arduino