IR/Infrared - Send "Poweron" command to consumer product (satellite receiver)

Hello all,

I'm really hopeless in getting this project to work without your help, so here is my question...

I have a satellite receiver and I want to turn it on using Arduino and an IR diode.

I know that my receiver is wokring on 39kHz frequence and I got this LIRC file for my receiver:
http://lirc.sourceforge.net/remotes/dream_multimedia/URC-39930RJ0-03

My english is not the best one and I tried to understand a lot of documentations and tutorials. Tried a lot of sketches and IR libraries but I did not manage this to work.

Could you please help me how to use/convert this LIRC commands to work with (any) Arduino sketch??

Thank you very very much for any help!
mex

Hi,
I've used Ken Shirriffs library to capture and send ir codes. Run the irrecvdump sketch and capture the poweron string, using PuTTY cut and paste this into a txt editor.
Then use irsend.sendRaw to send that string as an array.

eg.

unsigned int powerOn[68] = {4450,4500,550,1700,500,1750,500,1750,500,600,550,600,500,600,550,600,500,600,550,1700,550,1700,550,1700,500,600,550,600,500,600,550,600,500,650,500,600,550,1700,500,650,500,600,550,600,500,600,550,600,500,600,550,1700,550,600,500,1700,550,1700,550,1700,550,1700,500,1750,500,1750,500}; //This is the code we captured, formatted into an array

void loop()
{
irsend.sendRaw(powerOn,68,38);
}

Hi,

Thank you very much for your reply, but I tried this already.

IrrecvDump returns this after pressing power on button on my remote:
0
Could not decode message
Raw (18): -28560 350 -650 300 -2600 300 -650 300 -2750 250 -1250 300 -1200 300 -800 300 -2050 300

I tried pressing another button on my remote.... It returns the same raw codes for every button on my remote....

I tried to send this codes but my satellite receiver didn't power on :frowning:

Maybe the dump/read was not successfully, because I only have a 38Khz ir receiver and my satellite box is using 38,5 or 39 khz. Maybe this is the problem that I cannot dump the codes.

That was why I posted the LIRC codes, is there no way to use/convert this codes?

Thank you very much!

Double check that they are in fact the same codes for each button press, I thought tthe same thing till I saved and compared the output from two buttons.
Using irsend.sendRaw(powerOn,18,39) may work as the second number passed to the librbary is your recv. modulation in hz.
Also, make sure your array looks like this....

unsigned int powerOn[18] = {28560,350,650,300,2600,300,650,300,2750,250,1250,300,1200,300,800,300,2050,300}

Hope this helps!