Help with discrete code.

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 with discrete code.

Post by Toys4Boys »

Well I am trying to do this without asking questions re. things that I can find by reading but at the moment my head is spinning from all the info. I am trying to add a discrete on and off code for an Infocus projector. I found the codes in the discrete section of Remotecentral but am clueless as to how to insert/import the info.
Power On: 900A 006D 0000 0001 874E 3AC5

Power Off: 900A 006D 0000 0001 874E 39C6

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

Post by The Robman »

These two commands use the NEC1 protocol with a device code of 135. The OBCs are ON=58 and OFF=57.

I think the 006D tells you which protocol to use.

You can get the 135 device code by converting the first two characters of 874e from hex into decimal, and you can get the OBC by converting the first 2 characters of 3AC5 and 39C6 from hex into decimal.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

There is also a subdevice of 78, which you need to include if you create a JP1 upgrade for this.

BTW, it is the 900A, not the 006D, which tells you it is NEC1 protocol. The 006D might tell the frequency the signal was learned at, but the 900A forces it to use the NEC1 standard frequency regardless of what is in the second position, so effectively the 006D means nothing.
Toys4Boys
Posts: 12
Joined: Fri Oct 29, 2004 3:28 am

Post by Toys4Boys »

Wow, I don't have a clue as to what you guys are trying to tell me but w/ that info I was able to add the discrete on/off commands! Well I'm probably selling myself a wee bit short but in truth most of what you guys told me is still Greek to me but I'm learnin'.

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

Post by The Robman »

johnsfine wrote:There is also a subdevice of 78, which you need to include if you create a JP1 upgrade for this.
Yup, my bad, I didn't notice that the last 2 chars of 874e wasn't the complement of the 1st 2 chars.
johnsfine wrote:BTW, it is the 900A, not the 006D, which tells you it is NEC1 protocol.
Thanks for that info. Do you have a list of what protocols the 9xxx numbers correspond to? I'm guessing you do as DecodeIR knows what to do with them.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

The Robman wrote: Do you have a list of what protocols the 9xxx numbers correspond to? I'm guessing you do as DecodeIR knows what to do with them.
DecodeIr doesn't know any such thing. DecodeIr decodes from a generic binary form, not from Pronto Hex. IR.EXE has code to translate JP1 learned signals to generic before passing them to DecodeIR. CCF2EFC and IrTool have code to do the same for some forms of Pronto Hex, but can't do 900x.

DecodeCCF translates some Pronto Hex to generic and passes to DecodeIR. But other forms such as some of the 900x forms it translates itself without using DecodeIR.

Eigeny's document describes those special forms:
http://www.majority.nl/files/prontoirformats.pdf

backup copy here:
http://www.hifi-remote.com/infrared/prontoirformats.pdf

I'm not sure I ever understood the Pioneer versions of 900x. I don't have a Pronto to experiment with, so I never had a way to test my guesses. Some I may have understood, I don't recall at the moment.

The easy 900x forms are:

9001 = NEC1 with the check bytes computed in firmware
900A = NEC1 with the check bytes provided in the Pronto Hex
900B = NEC2 with the check bytes provided in the Pronto Hex
The Robman
Site Owner
Posts: 21892
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

That file's a good resource, and that web site (www.majority.nl) has lots of other great info too, including Philips TV Service Menu codes. Hey, I even get a name check in the opening credits! (Not too shabby).

From a quick glance, it looks like the 900C code is for the NEC1 signals where the data portion repeats twice. I'd need to study the syntax used more closely to decipher all the other formats.

While I do have a Pronto, mine's the really old TS-1000 model, which doesn't support the UDB codes, so I can't load them and learn them to verify that they are what we might guess that they are. It does support the 5000 and 6000 RC5/6 formats though, so if there's any of those that aren't 100% nailed down, I can test those.


Hey Mike,
Let us know if the codes worked for you. If you couldn't figure out how to use the codes, let us know and we'll help.
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 »

Works well so far, just scratching the surface. Thanks for the prompt replies and especially for the awesome programs and resources!!

Mark
Post Reply