Help re. adding delay.

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

Post Reply
Toys4Boys
Posts: 12
Joined: Fri Oct 29, 2004 3:28 am

Help re. adding delay.

Post by Toys4Boys »

I have looked at the post http://www.hifi-remote.com/forums/viewt ... ht=rs+2117 and it is a bit over my head still. Can someone either point me toward a help file or walk me thru it?

Thanks,
Mark
The Robman
Site Owner
Posts: 21892
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

The pause special protocol has instructions in the file itself, and the other link was to an FAQ entry that describes how to use the "Zenith Pause Trick". I'm not sure what additional help you need.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Toys4Boys
Posts: 12
Joined: Fri Oct 29, 2004 3:28 am

Post by Toys4Boys »

I have copied and pasted the upgrade protocol and the upgrade device from the "pause.txt" into ir.exe but after that it gets pretty sketchy. I guess I'm a bit confused by a few things. I can probably stumble through it (?) but I am trying to gain understanding of some of what I am reading/doing. Creating an "Advanced Code" seems like it should be pretty straight foward but I was looking for more info re. the various codes that set the delay ie. $01...$FF.

Also when I look at pause_protocol_example I kinda get lost. So I was hoping some kind soul :D would give me more clarity.

Thanks
The Robman
Site Owner
Posts: 21892
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

The thing is, if I were to try and explain how to do it, what I would write would end up being exeactly the same as what's in the pause.txt file itself. Therefore, in order for this thread to go anywhere, you're going to have to ask some more specific questions. Tell us exactly where you get lost and which instructions you find confusing.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Toys4Boys
Posts: 12
Joined: Fri Oct 29, 2004 3:28 am

Post by Toys4Boys »

Can you give me any insight as to how one knows $10 = 1 sec $A0 = 10 sec. etc.?
Also I am trying to understand at a more fundamental level what some of the various lines mean in the example. I see where TV phantom 1 is described as a .5 sec. delay but don't understand what all the other lines of code are. Also
"pause, and the DVD/phantom3 button to create a 1 second pause.",,,,,,,,,,,,," doesn't seem to jibe w/
"1 second,016,,power,,,,,,DVD,phantom4,,"
Is this just a mistake and phantom4 is the 1 sec. delay not phantom3?

Thanks
The Robman
Site Owner
Posts: 21892
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Toys4Boys wrote:Can you give me any insight as to how one knows $10 = 1 sec $A0 = 10 sec. etc.?
Sure. The pause protocol lets you specify how much delay you want and you do this by entering the amount in hex, where hex "01" is the shortest possible delay and hex "FF" is the longest possible delay. Each unit of time is about 1/16th of a second, therefore hex "01" equals about 1 second. Here's a quick chart of some hex code values and their corresponding delay time:

hex - delay
10 = 1 second
20 = 2 seconds
30 = 3 seconds
40 = 4 seconds
50 = 5 seconds
60 = 6 seconds
70 = 7 seconds
80 = 8 seconds
90 = 9 seconds
A0 = 10 seconds
B0 = 11 seconds
C0 = 12 seconds
D0 = 13 seconds
E0 = 14 seconds
F0 = 15 seconds

(Hopefully the pattern is kinda clear now)
Toys4Boys wrote:Also I am trying to understand at a more fundamental level what some of the various lines mean in the example. I see where TV phantom 1 is described as a .5 sec. delay but don't understand what all the other lines of code are.
Maybe the trick here is not to try and "understand" it, but to just "use" it. I can't tell from your description what "other lines of code" you're referring to. In this example file he's only programmed 2 keymoves, one for 1/2 second delay and other for 1 second delay. You mentioned the 1/2 second delay, so I'm assuming the "other line of code" is the other keymove. The other keymove gives you a 1 second delay. Was that the right question and therefore the right answer?

Toys4Boys wrote:Also "pause, and the DVD/phantom3 button to create a 1 second pause."doesn't seem to jibe w/ "1 second,016,,power,,,,,,DVD,phantom4,,"
Is this just a mistake and phantom4 is the 1 sec. delay not phantom3?
Congratulations, you spotted a typo. I would have thought that one was pretty obvious.

Maybe the KM example file isn't helping in this case, maybe it would be better for you to just use the original pause.txt file. That file gives you an upgrade and protocol that you can copy directly over to IR, then all you have to do is program a keymove in IR. Select TV/1104 as the setup code, then select the HEX option and enter the appropiate value from the table above.

If all of that still isn't clear, I don't think it's ever going to become clear, in which case you mention how much delay you need and I'll post the correct code for you.

Here's the code you would need for a 2 second delay:

Upgrade code 0 = 1C 50 (TV/1104)
FB 00 01
End

Upgrade protocol 0 = 01 FB (S3C80)
00 00 01 E4 03 C2 C6 C0 00 00 0A FE 1A FC 2A FA
AF
End

Then program a keymove using hex code "20".
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Toys4Boys
Posts: 12
Joined: Fri Oct 29, 2004 3:28 am

Post by Toys4Boys »

Okay that helps a lot, thanks. That is quite clear and pretty much what I thought, probably should have just tried it.

Don't know if you were being sarcastic "Congratulations, you spotted a typo. I would have thought that one was pretty obvious.", I'm just trying to gain a deeper understanding and what seemed obvious could have been my not understanding, it did seem pretty obvious though :lol: My bad, hopefully no harm, no foul!

You're probably right that I don't need to understand it to use it, but ........... Oh well, "Baby steps Ellie".

I realize that you are giving this info out for free and certainly don't intend to abuse the privilege. Thank you!!
Post Reply