Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
Elecrow community is a shared platform and we are not responsible for any design issues.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
closed
user-img

Jeff Welsh

Published: May 24,2024

Arduino based infrared remote Remote

We can control Tv or any IR system using this

ccc ccc
Copyright Info

Attribution-ShareAlike (CC BY-SA)

Read More⇒
  433
  3
  0
cover-img
 
  • thumbnail-img
 

Story

Project features

1) Using Arduino, programmable.

2) Suitable for TV/air conditioner/home automation appliances, etc.

3) There are 11 buttons to perform various operations.

4) Small size

5) Rechargeable

 

Supply

1) Breadboard

2) Infrared light

3) Tactile buttons

4) 1k resistor x11

5) 220 ohm resistor

6) PCB and wires

7) Battery (3.7V)

 

Circuit connection diagram

 

Circuit schematic

 

Code

//sagar saini : hackster saini_sagar_7294 follow us on instagram, hackaday profile link:https://hackaday.io/project/182316-arduino-based-ir-remote-decoder
//
//Universal IR Remote Controller

#include <IRremote.h>
#include "LowPower.h"

IRsend irsend;

const int b1  = 2;
const int b2  = 4;
const int b3  = 5;
const int b4  = 6;
const int b5  = 7;
const int b6  = 8;
const int b7  = 9;
const int b8  = 10;
const int b9  = 11;
const int b10 = 12;

int timer;
int modeCounter = 0;

void wakeUp() {  timer = 0;
}

void setup() {  pinMode(b1, INPUT);  pinMode(b2, INPUT);  pinMode(b3, INPUT);  pinMode(b4, INPUT);  pinMode(b5, INPUT);  pinMode(b6, INPUT);  pinMode(b7, INPUT);  pinMode(b8, INPUT);  pinMode(b9, INPUT);  pinMode(b10, INPUT);
}

void loop() {  attachInterrupt(0, wakeUp, HIGH);  while (timer < 10000) {    if (digitalRead(b1) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }
    if (digitalRead(b2) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }
    if (digitalRead(b3) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }
    if (digitalRead(b4) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }
    if (digitalRead(b5) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }        if (digitalRead(b6) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }        if (digitalRead(b7) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }        if (digitalRead(b8) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }        if (digitalRead(b9) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }        if (digitalRead(b10) == HIGH) {      timer = 0;      delay(50);      irsend.sendNEC(0x0000, 32);     //Enter Remote Hex Value    }    delay(1);    timer = timer + 1;
  }    LowPower.powerDown(SLEEP_FOREVER, ADC_OFF, BOD_OFF);
}
*ELECROW community is a shared platform and we are not responsible for any design issues.
user-img

Jeff Welsh

+ Follow

Topic

View All
  • Comments( 0 )
  • Like( 3 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All