Blogger

Delete comment from: Ken Shirriff's blog

druida said...

Hi Ken

I trying to control my LG projector with arduino but I run into difficulties. The remote buttons decode for NEC protocol (bur I did some research and the NEC should start with FF) so it's not it:

Decoded NEC: 20DFB54A (32 bits) POWER ON
Raw (68): 22386 8950 -4400 600 -500 600 -500 600 -1600 650 -500 600 -500 600 -500 600 -500 600 -500 600 -1600 650 -1600 600 -500 600 -1600 600 -1650 600 -1600 600 -1600 600 -1650 600 -1600 600 -500 600 -1600 600 -1650 600 -500 600 -1600 600 -500 600 -1600 650 -500 600 -1600 600 -500 600 -500 600 -1650 600 -500 600 -1600 600 -500 600

I follow what others say: To clean the raw data you get from the dump -demo, you need to erase the first number, then convert all negative numbers to positive and place commas between the numbers.

unsigned int projector_onoff[68]={8950,4400,600,500,600,500,600,1600,650,500,600,500,600,500,600,500,600,500,600,1600,650,1600,600,500,600,1600,600,1650,600,1600,600,1600,600,1650,600,1600,600,500,600,1600,600,1650,600,500,600,1600,600,500,600,1600,650,500,600,1600,600,500,600,500,600,1650,600,500,600,1600,600,500,600};
irsend.sendRaw(projector_onoff, 68, 38);

Both my receiver and transmitter and the library works fine. Any idea what to do next? I don't want to give up if I got so far. Remote's type is:
MKJ50025104

Thank you for your time!

Jan 4, 2014, 3:21:52 PM


Posted to A Multi-Protocol Infrared Remote Library for the Arduino

Google apps
Main menu