Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Classic Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
NEC projector IR editing
This thread has 6 replies. Displaying all posts.
Post 1 made on Thursday March 11, 2004 at 17:32
Gen_bob
Lurking Member
Joined:
Posts:
March 2004
5
Hello, i've been lurking in the backgrounds, picking up what I need to program a Pronto TSU2000 remote, and am almost complete.
The last device I'm trying to code is a NEC LT240K projector, which when it is powered on requires 2 seconds of the on button being held down.
I've done some searches, and came across the IR tutorial, and tried diagnosing the IR code.
I'm trying to isolate what I need to do to get a macro to have the on button seem to be on for the 2-3 seconds needed to power on the projector..
As a secondary purpose, I wanted to learn how to clean up the IR code to be a "clean" code, if possible.

Anyways, if anyone could take a look at this, I'd appreciate it!

Pronto Code:
0000 006d 0022 0002 0154 00aa 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003f 0016 0014 0016 0014 0016 003e 0016 0014 0016 003f 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 003e 0016 0014 0016 003e 0016 003e 0016 003e 0016 003e 0016 0618 0154 0055 0016 0e3e

Preamble
0000- Always first word is 0000 indicating it was learned
006d-frequency of ir carrier formula: Frequency (kHz) = 1000000 / (N * .241246)
where N = decimal value of second hex code (in this case dec[6D] = 109)
so frequency = 38028.87 kHz. Freq has a tolerance of +- 10% so roughly a 40000 kHz cycle.
0022-Length of the One Time Burst DEC(22) = 34
0002-Length of the Repeat Burst DEC(02) = 2

BurstPair1
Lead in burst (NEC fixed 0156 00AB)

0154= DEC(154) = 340translates to 340 /170… 2 units of
00aa= CEC(ab) = 170on followed by 1 unit of off.

0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 2, bit2 = 0
0016 0014-(22 22 Decimal) Burst pair 2, bit2 = 0
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0

0016 003f-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 003f-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1

0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0

0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 0014-(22 22 Decimal) Burst pair 1, bit1 = 0
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1
0016 003e-(22 66 Decimal) Burst pair 2, bit2 = 1


Lead out (NEC fixed code 0016 0593)
0016 22
0618 1650


BurstPair2
(lead in?)
0154= DEC(154) = 340translates to 320 /80… 4 units of
0055= DEC(55)= 85ON followed by 1 unit of OFF

0016 0e3e


Okay, now is it just the 0016 0e3e that needs to be repeated? am I missing something here?

So i create a button with the repeatable code, and alias it, how many times?

also, the NEC codes are supposed to be 34 bits divided into 4 strings of 8 bits (say A, B, C, and D)
A & B are supposed to be compliments but they aren't in the code learned above (dirty code?)
C & D seem to be compliments of each other no questions here

and finally, how would one clean this up? or is it "good enough"?

Sorry for the length, I've tried going as far as I can, and just need a little push... :)
Post 2 made on Thursday March 11, 2004 at 19:27
dwg
Long Time Member
Joined:
Posts:
August 2002
442
I believe this is the NEC protocol where the second 8 bits are the Sub Device code. When you hold down the button of the above code the 0154 0055 0016 0e3e is the part that repeats. In terms of clean it's not bad and should work fine, I would suggest it is easier to generate clean codes via Make Hex etc. than to clean dirty ones, but others may disagree. I remember previous threads on the best way to accomplish the 2 second button press so try a search.

dwg
OP | Post 3 made on Saturday March 13, 2004 at 00:52
Gen_bob
Lurking Member
Joined:
Posts:
March 2004
5
Cool, I was just missing the 0154 0055. I created a new button with the 4 hex #'s, aliased them about 10 times, and it worked.

Only bad thing,
right after i tested this, the screen decided to die?
I still have a backlight, and can hear the buttons being pressed, but can't see anything...
I'm hoping it's just the screen, (I've seen the tutorials on replacing those...) ARG!
Tried reflashing, and am going to leave it w/o batteries overnight tonight... sigh
just when everything is going well...
Post 4 made on Wednesday March 17, 2004 at 14:19
Michael Bojang
Lurking Member
Joined:
Posts:
March 2004
1
Do you have the finished code that you could post. Would be a great help as I cannot get my remote to learn the codes.

Thanks
OP | Post 5 made on Thursday March 18, 2004 at 13:36
Gen_bob
Lurking Member
Joined:
Posts:
March 2004
5
Yeah, I'll post the on / off codes tonight. If you are trying to setup a button to power it on / off without having to hold down the button (like I am), the repeat code, which is listed above (0154 0055 0016 0e3e) needs to be aliased about 4 times for the on, and about 5 for the off after the on off codes.
OP | Post 6 made on Thursday March 18, 2004 at 20:28
Gen_bob
Lurking Member
Joined:
Posts:
March 2004
5
This is the NEC 240K on code (should also work for the 260)
0000 006d 0022 0002 0154 00aa 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003f 0016 0014 0016 0014 0016 003e 0016 0014 0016 003f 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 003e 0016 0014 0016 003e 0016 003e 0016 003e 0016 003e 0016 0618 0154 0055 0016 0e3e

and the off (uses the same repeat)
0000 006d 0022 0002 0154 00aa 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 0014 0016 0014 0016 003f 0016 0014 0016 003e 0016 003f 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016 003f 0016 003e 0016 0014 0016 003f 0016 0014 0016 003e 0016 003e 0016 003e 0016 0618 0154 0055 0016 0e3e
OP | Post 7 made on Tuesday March 23, 2004 at 11:40
Gen_bob
Lurking Member
Joined:
Posts:
March 2004
5
And finally,
Removing the batteries from the pronto for a day seemed to fix the screen issue. Now, baring any future found bugs, the programming is done! Thanks for the help!


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse