Go Down

Topic: IRRemote lib with Arduino mega 2560 (SEND comand to sony TV) (Read 1 time) previous topic - next topic

henreke

Hello, i´m trying to use the IRRemote with my arduino mega. i read this topic
http://arduino.cc/forum/index.php/topic,28434.0.html
and work for all devices but my sony TV doesn´t work with the send the command

for (int i = 0; i < 3; i++) { // Send a burst of three commands
      irsend.sendSony(0xa90, 12); // Sony TV power code
      delay(100);
    }

and nothing happens

Thanks for any help.

charlie_dream

try changing the delay time!, in my case, (sony audio receiver) working delay time is 40 (not 100),
try other values as 45 (some samsung tvs) or 50...., the time between each command is important


Code: [Select]
int delaysony         = 40;

void loop ()
{
for (int i = 0; i < 3; i++) {
          irsend.sendSony(0x540C, 15); // Sony audio encendido
          delay(delaysony);
          }
}
/code]


Sorry for my english,  :D


Charlie,

henreke


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy