Skip to main content

Infrared IR Wireless Remote Controller Module Kits DIY Kit HX1838 for Arduino Raspberry Pi

Infrared IR Wireless Remote Controller Module Kits DIY Kit HX1838 for Arduino Raspberry Pi
Infrared IR Wireless Remote Controller Module Kits DIY Kit HX1838 for Arduino Raspberry Pi Infrared IR Wireless Remote Controller Module Kits DIY Kit HX1838 for Arduino Raspberry Pi Infrared IR Wireless Remote Controller Module Kits DIY Kit HX1838 for Arduino Raspberry Pi



Features:
 

Latest infrared wireless remote control kit consists Mini Slim 38KHz IR remote control and infrared receiver modules, Mini Slim infrared remote control with 17 function keys, firing distances of up to 8 meters, ideal for a variety of devices in the control room. IR receiver module can receive standard 38KHz modulation remote control signal, through programming, you can achieve remote control signal decoding operation, which can produce a variety of remote control robots and interactive works.
 
Specifications:

 
  • Transmission Distance: 8m above (specific and surroundings, the receiver sensitivity and other factors)
  • Effective angle: 60 degrees
  • Sticking Material: 0.125mmPET, the effective life of 20,000 times.
  • Quiescent current 3-5uA, dynamic current 3-5mA.

 

Step 1: Assemble Circuit:

 

aeProduct.getSubject()

You will need one Arduino for this. I used a UNO, but just about any Arduino should work. First wire up the infrared receiver that came with your kit. There are 3 wires, PWR, GND, and SIG, I used port 11 for SIG. Note! some readers have reported that their sensor has different wiring, double check it yourself.

 

Step 2: Download IR Library

aeProduct.getSubject()

aeProduct.getSubject()

In order to reverse engineer the remote and obtain the codes for each button we are going to need to download and install the following library.

https://github.com/shirriff/Arduino-IRremote 

Extract the file in your libraries directory. e.g.  ( C:electronicsarduino-1.0.5libraries )
note: I had to rename the library because the name was too long, I just renamed it to IR.

Step 3: Add Library to sketch

 

aeProduct.getSubject()

With the IR folder ( or whatever you named it) now in your libraries directory, we can import it into a new sketch.

Start a new sketch and the Click  

        Sketch->Import Library->IR.

Step 4: Paste Code and compile

Paste the following code into the new sketch. Then verify it compiles.

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

    }

}

Step 5: Open the serial monitor

 

aeProduct.getSubject()

Connect the Arduino to your computer using the usb port, then upload the sketch. Open up the Serial Monitor, get the remote and press the buttons. Some hex codes should appear on the Serial Monitor.

Step 6: Record button codes

  Step 7: Works on any remote!

















Infrared IR Wireless Remote Controller Module Kits DIY Kit HX1838 for Arduino Raspberry Pi See detail


Popular posts from this blog

5pcs AC 100-240V to DC 12V 5A 60W Switching Power Supply Module Driver Adapter LED Strip Light

Get 5pcs AC 100-240V to DC 12V 5A 60W Switching Power Supply Module Driver Adapter LED Strip Light Features:   1. Good anti-interference performance and high reliability. 2. Low operating temperature and long service life. 3. Wide input voltage range, (100-240V) in line with global usage standards. 4. Good insulation performance and high electric strength. 5. Full load high temperature burning machine, 100% aging test.   Specifications:   Model: HS-60-12 DC output voltage: 12V Output voltage tolerance: ±1% Rated output current: 5A Output current range: 0 - 5A Ripple and noise: 100mVp-p Line stability: ±0.5% Load stability: ±0.5% DC output power: 60W Efficiency: 85% DC voltage adjustable range: ±10% Input voltage range: 100 ~ 240VAC 47 ~ 63Hz; 120-370VDC Input current: 2A/115V 1A/230V Inrush current: cold start current 30A/115V 60A/230V Leakage current: <3.5mA/240VAC Overload protection: 105%~150% Overvoltage protection: 15%-135% Tempera...

BaoFeng Replacement Cable Waterproof Hand Microphone Solid with Indicate Light Electronics Walkie Talkie Clamp Durable Parts for BF 5r

Get BaoFeng Replacement Cable Waterproof Hand Microphone Solid with Indicate Light Electronics Walkie Talkie Clamp Durable Parts for BF 5r Features : - Rainproof - With anti noise design microphone for clear communication. - These mics will clip to our backpack straps at our shoulder or in front for easy access and convenient communications. It is also easier to use these mics while in the car with your handy-talkies.   Specification : All of our items are Brand New Has a remote microphone with push to talk button you can clip anywhere. The Handheld microphone can be easily worn on the body through a clip and easy to carry. Two-pin standard diameter: Ear 3.5mm stereo (top pin). Mic 2.5mm stereo (bottom pin). Space of two-pin: 11mm. Compatible model: UV5R,UV5RA,F8,F8+,UV-82,DM-5R Plus,BF-888,BF-888s   Package includeds : 1 x Rainproof Speaker Mic   Details pictures : BaoFeng Replacement Cable Waterproof Hand Microphone Solid with In...

XH-W1321 0.1 Digital Thermostat Mini Embedded Digital Display Switch Temperature Controller With Waterproof NTC Sensor Meter

Get XH-W1321 0.1 Digital Thermostat Mini Embedded Digital Display Switch Temperature Controller With Waterproof NTC Sensor Meter Specifications:   Product Name: Miniature embedded digital display thermostat Product Model: XH-1321 Material: ABS Case Color: White LED Color: Red/Blue (Optional) Input Voltage: DC12V Temperature Measurement Range: -50-110℃  Temperature Control Range: -50-110℃  Control Accuracy: 0.1℃  Display Accuracy: 0.1℃  Measuring Input: NTC10K Waterproof Probe L=1 Meter Output Type: Relay Output(Output Switch)  Output Capacity: 10A Size (Length x Width x Height): about 56 x 38 x 32mm (2.17 x 1.50 x 1.26” )  Opening hole size: 46 x 34mm Key Function:   SET: Press once during normal use, directly enter the stop temperature setting state, use the up and down keys to set the required stop temperature, long press to enter the internal setting menu. UP: After long press the setting button to enter the internal setting, increase t...