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:
"Valid" IR code
This thread has 6 replies. Displaying all posts.
Post 1 made on September 19, 2003 at 21:15
K
kalkrishnan
Long Time Member
Joined:
Posts:
September 2003
14
Hi, this is driving me up the wall... what constitutes "valid" IR codes for Prontoedit? I thought the 4th group of 4 numbers had the number of repetitions in hex code, but that seems to be not right.

Help!

-Kal

OP | Post 2 made on September 19, 2003 at 21:32
K
kalkrishnan
Long Time Member
Joined:
Posts:
September 2003
14
OK, maybe I could also tell you guys what I am trying to do, so maybe some kind "code guru" can give me specific pointers...

I have this code:
0000 0062 002f 0001 0063 001a 0031 001a 0018 001a 0031 001a 0018 001a 0032 0019 0018 001a 0018 001a 0018 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 036a 0063 001a 0031 001a 0018 001a 0031 001a 0018 001a 0032 0019 0018 001a 0018 001a 0018 001a 0018 001a 0032 0019 0018 001a 0031 001a 0019 0019 0031 001a 0018 036a 0063 001a 0031 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 001a 0018 001a 0018 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 105d

I need to extend it by a whole bunch to simulate a "hold down" situation. Looks like the sequence beginning with 0063 is the repeated part that needs to be extended. But what number in the header bytes do I need to adjust?

Thanks,

-Kal.

Post 3 made on September 19, 2003 at 22:17
D
dwg
Long Time Member
Joined:
Posts:
August 2002
442
The first 4 hex numbers are:

0000= Code Type- 0000 is learned type
0062= Carrier Frequency
0027= The number of one time burst pairs in hex
0001=The number of repeat burst pairs in hex

If you simply want this code to repeat as long as the key/button is pressed- I think it will work by changing 002f to 0000 and changing 0001 to 0030. What is this code from it's kinda strange.

dwg

OP | Post 4 made on September 19, 2003 at 23:31
K
kalkrishnan
Long Time Member
Joined:
Posts:
September 2003
14
Actually, what I wanted to do was to have one push that sends out a longer stream (not hold down), so I can put that one push into a macro.

This is from a Sony projector VPL-W400Q. I know there are some codes for it in the CCF files area, but none of them work for me; maybe because I am not using the actual Pronto, but the iPAQ emulator software.

Thanks,

-Kal.

Post 5 made on September 20, 2003 at 06:21
J
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
What you have there is a fairly bad learn of a signal in Sony15 protocol, device 84, command 21. If you remove the extra copies, what it should have learned as is

0000 0062 0000 0010 0063 001a 0031 001a 0018 001a 0031 001a 0018 001a 0032 0019 0018 001a 0018 001a 0018 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 036a

For ordinary use, that version should send as long as you hold it pressed (the version you posted wouldn't).

I'm not sure how an iPAQ handles macros (what does it do about the repeat part of the signal and how much delay does it introduce). If it does something reasonable, you could just use the cleaned up signal several times in a row within the macro in order to extend it.

If it doesn't handle repeats well in a macro and/or adds a moderate amount of delay, then you should convert to a non repeating form by changing the third and fourth numbers:

0000 0062 0010 0000 0063 001a 0031 001a 0018 001a 0031 001a 0018 001a 0032 0019 0018 001a 0018 001a 0018 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 001a 0031 001a 0018 036a

Then you need to guess how much to reduce the last number (036a) in order to compensate for whatever delay between steps the iPAQ introduces.

If the iPAQ has too much delay between steps, then you need to construct the long signal as one string of Pronto Hex. Take everything after the first four numbers (in the cleaned up copy) and repeat it N times and multiply the 0010 within the first 4 numbers by N. Whether that 00N0 would be better in the third or fourth position depends on aspects of the iPAQ about which I have no clue. Try it each way.

Post 6 made on September 20, 2003 at 06:26
J
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On 09/19/03 23:17, dwg said...
If you simply want this code to repeat as long
as the key/button is pressed- I think it will
work by changing 002f to 0000 and changing 0001
to 0030. What is this code from it's kinda strange.

That would repeat the signal (as learned) while the key is pressed, but that learned signal is three copies of a Sony15 signal with the correct delay at the end of each of the first two and a much too long delay at the end of the third. If you repeated the whole thing you would have that much too long delay at the end of every third frame.
Post 7 made on September 20, 2003 at 10:45
D
dwg
Long Time Member
Joined:
Posts:
August 2002
442
I had noticed the three copies, so hedged my bets by "I think it will work" if he simply wanted a repeating code as long as the button was pressed. I hadn't noticed the extremely long off time in the third copy lead out however-thanks.

dwg

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.