IR Infrared Receiver Photo-detector Preamplifier 3-pin IR HS0038A2

  • RM3.50

  • Product Code: IR HS0038A2
  • Availability: In Stock

Use this simple IR receiver for infrared remote control of your next project. With low power consumption and an easy to use package, it mates well with embedded electronics and can be used with common IR remotes.

A miniaturized receiver for infrared remote control systems. A PIN diode and a preamplifier are assembled on a lead frame while the epoxy package acts as an IR filter. The demodulated output signal can be directly decoded by a microprocessor. Compatible with all common IR remote control data formats.

Features:

  • Very low supply current
  • Photo detector and preamplifier in one package
  • Internal filter for PCM frequency
  • Improved shielding against EMI
  • Supply voltage: 2.5 V to 5.5 V DC
  • Improved immunity against ambient light
  • Insensitive to supply voltage ripple and noise
  • Material categorization: For definitions of compliance please see www.vishay.com/doc?99912

 

Connect IR Receiver to Arduino  (bergshoef)

  • Dowload: IRemote library (Choose “Download ZIP” on the right Button)
  • Unzip the file and rename the resulting folder to IRemote.
  • Move the folder to arduino-1.x/libraries/IRremote, where arduino-1.x is your Arduino installation directory.

Arduino Sketch:

/*
 Show in the serial monitor what the IR receiver sends us
 (we use the TSOP2236)
*/
 
#include <IRremote.h>
 
const int RECEIVE_PIN = 8;
IRrecv irrecv(RECEIVE_PIN);
decode_results results;
 
void setup() {
    Serial.begin(9600);
    irrecv.enableIRIn(); // Start the receiver
}
 
void loop() {
        Serial.print("0x");
        Serial.println(results.value, HEX);
 
        delay(50);
        irrecv.resume(); // Receive the next value
}

Open the serial monitor of the Arduino IDE (Tools -> Serial monitor). Here we will see the output of the sketch. Take the remote control of your TV, stereo or whatever. Aim it at the receiver and press some buttons. Notice the output in the serial monitor. If you don’t see any results in the monitor, please make sure you connected everything correct and make sure it is set to 9600 baud at the bottom right of the window.

Write a review

Note: HTML is not translated!
    Bad           Good

 

Related Products

Tags: IR, Infrared