I CAN SOLDER Kit 2019

This circuit needs maximum 5v - 7v if powered directly through DC power supply only. If ur supplying AC current,

you need to have a transformer that outputs 12v ac current to it. You also need to add a 5v potentiometer to it ,to control the voltage. (if u don't have it, u can fix a 1k resistor to it.)


once u solder the components to the circuit, simply upload the code to the arduino pro.(Do not solder the arduino pro directly to the PCB. u can use female pin headers and fix it.) . make sure to put ur remote's decode results to the code.


these are the components,


  • arduino pro mini (5v)
  • 5v relay
  • 3 pin screw header
  • 2 pin screw header
  • LM317
  • 5k potentiometer or 1k resistor
  • 2200 uF capacitor
  • 100uF capacitor
  • 2N3904 transistor
  • LED'S (2)
  • VS1838 IR receiver
  • 1n4007 diode (4)
  • 1k resistor (2)
  • 220 ohm resistor(2)
  • 10k resistor
  • 0.33uF ceramic capacitor
  • dip switch


for more info about this circuit, check out my project in instructables.


https://www.instructables.com/id/ARDUINO-IR-REMOTE-CONTROLLED-RELAY/


hope u enjoyed this project. plese like :)

if u have any questions, u are welcomed to ask in the comment section :)



#include <IRremote.h>


int RECV_PIN = 3;
int RELAY_PIN2 = 8;

IRrecv irrecv(RECV_PIN);
decode_results results;

void dump(decode_results *results) {
  int count = results->rawlen;
 
}

void setup()
{
  pinMode(RELAY_PIN, OUTPUT);
  pinMode(13, OUTPUT);
  digitalWrite(13,LOW);
    Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
}

int on = 0;
unsigned long last = millis();

#define BUTTON_1 0xFF30CF  //make sure u put ur decoded results here!





void loop() {
  if (irrecv.decode(&results)) {
  
    if (results.value == BUTTON_1)
    {
    
      on = !on;
      digitalWrite(RELAY_PIN2, on ? HIGH : LOW);
      digitalWrite(13, on ? HIGH : LOW);
      dump(&results);
    }

else{
  digitalWrite(13,LOW);
}
}


Apr 16,2019
275 viewsReport item
  • Comments(1)
  • Likes(4)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
    View More
    VOTING 4 votes
    • J*RPM from SPAIN
      My name is José Ramón Pueyo, I live in Spain. For more than 40 years he has worked in the radio communication sector, mainly with RF equipment and developing control and monitoring systems.Five years ago I opened a channel on YouTube (J_RPM) in order to share some developments and divulge technical information.
      • 9
        design
      • 8
        usability
      • 8
        creativity
      • 9
        content
      8.50
    • www.cursoderobotica.com
      • 8
        design
      • 7
        usability
      • 7
        creativity
      • 8
        content
      7.50
    • Engineer from INDIA
      • 10
        design
      • 10
        usability
      • 10
        creativity
      • 10
        content
      10.00
    • u****lid from SRI LANKA
      i love PCBs
      • 10
        design
      • 10
        usability
      • 10
        creativity
      • 10
        content
      10.00
    View More