Arduino IR Infrared shield

From ElectroDragon Wiki

Quick Start Guide

  • Use open source code from here IRremote, use Sketch IRrecord
  • Change recv pin (receiver) to 2, button pin to 4, led pin to 6:
int RECV_PIN = 2;
int BUTTON_PIN = 4;
int STATUS_PIN = 6;
  • The sketch use default send pin 3, no need to define.
Action Header text Status LED
Receive/Record point your IR send device, and send signal to shield blink
Send Out Press button 4 to send out, if use a cell phone camera point to transparent IR LED, you will see red signal inside when sending. Blink

Arduino IR Infrared shield

  • Infrared send demo, receive raw from ir remote controller, send as raw, and send from one arduino shield to another to receive
Infrared send demo.gif

Pin definition

IR shield Arduino Digital Set for IRremote library - IRrecord sketch
IR receiver D2 IRcv_pin
IR transmitter D3 PWM default for IRremote IRsend
Button 1 D4 or BUTTON_PIN
Button 2 D5 or BUTTON_PIN
LED 1 D6 or STATUS_PIN
LED 2 D7 or STATUS_PIN
Arduino D13 or STATUS_PIN