5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10

Arduino Project: Digital IR Receiver Module

Posted by Fiona Su on



Digital IR Receiver Module is widely used in remote control. With this IR receiver, 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.


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

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.

Connection diagram

Sample Code

#include <IRremote.h>
 int RECV_PIN = 11;
 IRrecv irrecv(RECV_PIN);
 decode_results results;
 void setup()
  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 

Tutotials Overview

Buy  Sensor Starter Kit-K1 For Arduino Education Learning Programming 





Leave a comment

Please note, comments must be approved before they are published