Devices & Components
Arduino Uno Rev3
IR receiver (generic)
JustBoom IR Remote
Hardware & Tools
IR Remote Libary
Software & Tools
Arduino IDE
Project description
Code
Code
c_cpp
Upload the Code and See the Code of Button Pressed in Serial Monitor
1#include <IRremote.h> 2 3int RECV_PIN = 11; 4 5IRrecv irrecv(RECV_PIN); 6 7decode_results results; 8 9void setup() 10{ 11 Serial.begin(9600); 12 irrecv.enableIRIn(); // Start the receiver 13} 14 15void loop() { 16 if (irrecv.decode(&results)) { 17 18 Serial.println(results.value, HEX); 19 irrecv.resume(); // Receive the next value 20 } 21} 22 23//
Downloadable files
Circuit Diagram
1. Connect the First pin from the left of TSOP1738 (OUT pin) with pin 11 of Arduino. 2. Hook the Middle pin (GND pin) with the GND pin of Arduino. 3. Connect the third and the last pin (VCC pin) with 5V pin of Arduino.
Circuit Diagram

Circuit Diagram
1. Connect the First pin from the left of TSOP1738 (OUT pin) with pin 11 of Arduino. 2. Hook the Middle pin (GND pin) with the GND pin of Arduino. 3. Connect the third and the last pin (VCC pin) with 5V pin of Arduino.
Circuit Diagram

Comments
Only logged in users can leave comments