Skip to content

Digital_IR_Receiver_Module_(SKU_DFR0094)

Angelo edited this page Sep 22, 2016 · 5 revisions

Introduction

Digital IR Receiver Module (SKU:DFR0094) ir is widely used in remoter control. with this ir receiver, the arduino project is able to receive command from any ir remoter controller if you have the right decoder. well, it will be also easy to make your own IR controller using IR transmitter.

Specification

  • Power Supply:5V
  • Interface:Digital
  • Modulate Frequency:38Khz
  • Module interface socket:JST PH2.0

Wiring 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. IR Receiver connection diagram

Sample Code

IR Receiver test code:

/*
 * IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv
 * An IR detector/demodulator must be connected to the input RECV_PIN.
 * Version 0.1 July, 2009
 * Copyright 2009 Ken Shirriff
 * http://arcfn.com
 */

#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.

image:nextredirectltr.pngGo shopping ir receiver module category: Product Manual category: DFR Series category: Modules category: Sensors category:source category:Diagram

Clone this wiki locally