So we got new furniture with lights in it.
I would like to pick up the "Power" Signal from the remote to turn on/off the TV to also turn on/off these lights.
My Idea:
-Sending the signal from remote to icreciver to switch a relay
-this relais should then turn the lights on/off
I already setup the arduino nano with following code...
The code:
#include <IRremote.h>
int RECV_PIN = 11; // define input pin on Arduino
IRrecv irrecv(RECV_PIN);
decode_results results; // decode_results class is defined in IRremote.h
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
}
delay (100); // small delay to prevent reading errors
}
...to check if the reciever can catch a signal send it to the arduino and write the "signal number" in the serial port, but the reciever did not even recieve any signal from the Samsung TV Remote.
Then I tested the reciever with 2 other remotes. That worked perfectly. The number showed up in the Serial Port.
My Question: Can I somehow "catch" the ic signal from the Samsung remote and use it to turn on/off the described lights?
- Using arduino nano, the remote (Model Nr: BN59-01300J) of the Samsung TV and a ICReciver Module