Infrared Emission / Sender

  • Infrared Emission / Sender
Below the corresponding code:

# Include <IRremote.h>
int RECV_PIN = 11; / / define input pin on Arduino
IRrecv irrecv (RECV_PIN);
decode_results results;
void setup ()
{
Serial.begin (9600);
irrecv.enableIRIn (); / / Start the receiver
}
void loop () {
if (irrecv.decode (& results)) {
Serial.println (results.value, HEX);
irrecv.resume (); / / Receive the next value
}
}
Main emission part of the code:
# Include <IRremote.h>
IRsend irsend;
void setup ()
{
Serial.begin (9600);
}
void loop () {
for (int i = 0; i <50; i + +) {
irsend.sendSony (0xa90, 12); / / Sony TV power code
delay (40);
}
}
Specifications
Power consumption: 3v-5v
Frequency: 38KHz

Write a review

Please login or register to review

Infrared Emission / Sender

  • Webwinkel Keurmerk en klantebeoordelingen

  • 14 dagen bedenktijd 
  • Verzendkosten voor eigen rekening
  • Product Code: KY-005
  • Availability: 24
  • 2.36€

  • Ex Tax: 1.95€

Similar Products

Ultrasonic capteur Distance - HC SR04

Ultrasonic capteur Distance - HC SR04

Below you can see the corresponding code :An example of a project for Distance Sensor/* Author: Dan..

2.99€ Ex Tax: 2.47€

Active Buzzer Module

Active Buzzer Module

Below the corresponding code://Example code KY012 active buzzer int speakerPin = 8;void setup () { ..

1.95€ Ex Tax: 1.61€

Mini Reed Module

Mini Reed Module

Below you can see the corresponding code: An example of a project for the mini reed switch//Author:..

2.36€ Ex Tax: 1.95€

2 Color LED Module RG Small

2 Color LED Module RG Small

Below the corresponding code:// Arduino test code for KY011 int redpin = 11; // select the pin for ..

2.29€ Ex Tax: 1.89€