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

Mercury Switch / Magic Light Cup Module

Mercury Switch / Magic Light Cup Module

Below you can see the corresponding code: An example project for the KY-027/* * Author: Danny van..

2.49€ Ex Tax: 2.06€

Passive Buzzer Module

Passive Buzzer Module

Below the corresponding code://Example Code for KY-006  int buzzer = 8 ;// setting controls th..

1.95€ Ex Tax: 1.61€

Obstacle Avoidance Sensor Module

Obstacle Avoidance Sensor Module

Below the corresponding code://Author: Danny van den Brande. BlueCore Tech. Arduinosensors.nl //Thi..

2.49€ Ex Tax: 2.06€

Flame / Light sensor Module

Flame / Light sensor Module

Below the corresponding code:an example project for the flame Sensor. int Relay = 7 ; // Pin for re..

2.49€ Ex Tax: 2.06€