Hi all,
My latest project is to decode my air conditioner's IR remote control signals but I don't know what frequency my remote is transmitting on.
I am successfully using the script below with an Arduino Uno & YS-IRTM module (IR trasmit/receive through serial instruction) to decode incoming IR serial messages also on baud rate = 9600, but nothing shows on the serial port when my AC remote is pointed at the same receiver.
Any suggestions how to pick up the remote's messages?
int incomingByte = 0; // for incoming serial data
void setup() {
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
}
void loop() {
// send data only when you receive data:
if (Serial.available() > 0) {
// read the incoming byte:
incomingByte = Serial.read();
// say what you got:
Serial.print("I received: ");
Serial.println(incomingByte, HEX);
}
}