Pages: [1]   Go Down
Author Topic: IRRemote lib with Arduino mega 2560 (SEND comand to sony TV)  (Read 1518 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Argentina
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
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,
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks man i will try this and post the result.
Logged

Pages: [1]   Go Up
Jump to: