suhail jr
Published

IR Remote Controlled Home Automation

Build a simple automation project using Arduino Uno and IR remote.

BeginnerFull instructions provided17,914
IR Remote Controlled Home Automation

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
Relay (generic)
×1
IR receiver (generic)
×1
Buzzer
Buzzer
×1
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Code

Code snippet #1

Plain text
#include 

int RECV_PIN = 8;

IRrecv irrecv(RECV_PIN);

decode_results results;

void setup()

{

 Serial.begin(9600);

 irrecv.enableIRIn(); // Start the receive

}

void loop() {

  if (irrecv.decode(&results)) {

  Serial.println(results.value, HEX);

 irrecv.resume(); // Receive the next value

 }

}

Credits

suhail jr

suhail jr

8 projects • 75 followers
Maker and electronics enthusiast

Comments