JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Protocol Help

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - General Forum
View previous topic :: View next topic  
Author Message
JasonLO



Joined: 15 Dec 2004
Posts: 7

                    
PostPosted: Tue Jan 04, 2005 11:03 am    Post subject: Protocol Help Reply with quote

I'm trying to identify a few protocols and need help doing so. The DecodeIR.DLL was not able to identify them. I used the "Protocols in IRP format" spreadsheet to try to match these up to existing UEI protocols but was unsuccessful. (If there is another good resource listing what the protocol formats are in a nice XLS like that, please let me know about it.)

If you can identify any of these protocols, either by name or by the UEI code, please help. Also, if you think you can decrypt them but don't understand the format I've listed below, let me know and I'll post the on/off times instead. Here are the protocols:

Protocol A:
Frequency is 40,000.
Time base is 800.
0 = (+1,-3)
1 = (+1,-7)
f:5,~f:5 [+1, -60]
PWM
Used by GE, Panasonic, RCA/Proscan devices
Some OBC codes are CH1:0, CH2:26, CH3:10, CH4:18, CH5:2


Protocol B:
Frequency is 38095.
Time base 262
0=(+1,-3)
1=(+1,-7)
d:3, f:7 [-10278]
PWM
Used by JVC, NEC, and Mitsubishi VCRs.
Some OBC codes are Power = 11, Channel 1 = 80, Channel 2 = 81.

Protocol C:
frequency: 40000.
Time base is 500.
0=(+1,-5)
1=(+3, -3)
[-4674] d:4, f:6 [-4674] d:4, f:6 [-10804]
Used by RCA/Proscan TV
Some OBC codes are Power=38, Channel 1 = 49, Channel 2 = 41.

Protocol D:
frequency: 32921
Time base 300.
0=(+1, -3)
1=(+1, -7)
d:3, f:7 [-12222]
Used by mitsubishi VCR.
Some OBC codes are Power = 19, Channel 1 = 9, Channel 2 = 16.

Thanks for any help.

Jason
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21237
Location: Chicago, IL

                    
PostPosted: Tue Jan 04, 2005 11:31 am    Post subject: Reply with quote

If you have learned these using a JP1 remote, could you post the IR file as that will let us see the actual signal without having to reconstruct the signals from the data you posted. Furthermore, if a tweek is needed to DecodeIR, it would give John something to test it against.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
JasonLO



Joined: 15 Dec 2004
Posts: 7

                    
PostPosted: Tue Jan 04, 2005 12:03 pm    Post subject: Reply with quote

Sorry, I thought that format would be easier to work with as it abstracted the information. I don't have the original IR files with me today, but I'll bring them in tomorrow and upload them. I assume you mean upload them to the JP1 yahoo group.
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21237
Location: Chicago, IL

                    
PostPosted: Tue Jan 04, 2005 12:57 pm    Post subject: Reply with quote

Actually, you can put them in the new Diagnosis Area (click on File Section at the top of this page) then post a link to the file(s).

The info you posted is good, but most of the experts here are quite used to looking at learned signals in IR and that's what we're used to.

Also, like I said, if John determines that he needs to make a change to DecodeIR so that it recognises these protocols, he'll need some way of testing it, which is where the IR file comes into play.

Also, if one of us wants to actually re-generate the signals in question and learn them using some other device (like a Pronto or Tommy Tyler's new learning device) having the IR file means we can just load it into another remote and use it.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
jon_armstrong
Expert


Joined: 03 Aug 2003
Posts: 1238
Location: R.I.P. 3/25/2005

                    
PostPosted: Tue Jan 04, 2005 8:06 pm    Post subject: Reply with quote

Jason,

A spot check says they aren't in the decoder. If you are trying to create those Protocols, all could be done in PB or close enough to work. Although I understand that they are built in to certain remotes. You seem to understand the way IR protocols work so that would be very easy for you. Just a couple of comments:

Quote:
Protocol C:
frequency: 40000.
Time base is 500.
0=(+1,-5)
1=(+3, -3)
[-4674] d:4, f:6 [-4674] d:4, f:6 [-10804]


Is probably really
d:4, f:6 [-4674] d:4, f:6 [-10804] since you wouldn't see a leading off time.

In this case you could have the final [-10804] since the On times of the bits are different.

In protocols B and D you would need some On pulse before the long off-time or gap in order to determine the polarity of the last bit transmittted.
_________________
-Jon
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JasonLO



Joined: 15 Dec 2004
Posts: 7

                    
PostPosted: Wed Jan 05, 2005 10:13 am    Post subject: Reply with quote

Actually after looking at it a second time, I realized I messed up while doing some of the interpretations. In protocol C, there was an attention signal of length 4674, followed by a delay of 1578 before the bit transmission began. It should have been [+4674 -1578] d:4, f:6 [+524 -10804]. That's what I get for hacking at midnight Embarassed

I've uploaded the IR file.

http://www.hifi-remote.com/forums/dload.php?action=download&file_id=1200

The same file contains all 4 protocols. View the notes on each of the buttons to see the specifics, but in general: I captured the Channel 1 and Channel 2 buttons by pushing the buttons repeatedly where necessary to get the remote to capture the signal. Then I captured the Channel + and Channel - buttons by holding them down.

In the notes of the IR file, I identify the device and OBC. These are known to be correct, because I can control them from my remote. I can put in whatever device number / subdevice / OBC code I want and see the adjustment in the signal.

I know I can build the protocol and upload it to the JP1 remote, but it defeats the purpose of my project. I need to know if the protocol already exists in the JP1 remote.
Back to top
View user's profile Send private message
jon_armstrong
Expert


Joined: 03 Aug 2003
Posts: 1238
Location: R.I.P. 3/25/2005

                    
PostPosted: Wed Jan 05, 2005 1:42 pm    Post subject: Reply with quote

Maybe someone has a better answer, but these all look like very old protocols. The reason is they all have 10 data bits and that doesn't provide for many commands/devices. IMO, all those manufacturer's have used their more recent protocol for at least ten years. All of those manufacturer's current protocols use eight function bits and eight device bits with the exception of RCA that uses four.

I'm sure the older JP1 remotes have some or all of them and the newer ones would have fewer to none of them. Many new protocol/devices have been added and the older ones get deleted. So, I think we would have difficulty in determining what protocols are in which remotes without a lot of work.

The JP1 remotes have the 6-pin interface in common but are quite different electronically and use a number of different processors. The tools make them seem more uniform than they are.

If you describe what you are trying to accomplish, then we might be able to provide a better answer.
_________________
-Jon
Back to top
View user's profile Send private message Send e-mail Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Wed Jan 05, 2005 1:56 pm    Post subject: Reply with quote

Maybe he's trying to help you improve your comparison matrix spreadsheet.

I'm not sure I have an up to date comparison matrix. I see that it doesn't show a protocol 0007. At first glance protocol 0007 seems to match what Jason described for protocol C, but I haven't done any of the cross checking to know whether we already understand protocol 0007 and/or whether it really looks like C.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JasonLO



Joined: 15 Dec 2004
Posts: 7

                    
PostPosted: Wed Jan 05, 2005 2:12 pm    Post subject: Reply with quote

Well, I am in the process of hacking the Sony Clie Remote Commander. Sony has abandoned the program, so the people like me who have this program cannot add any unsupported devices to our Clie. I have created a program which will allow you to select which protocol to use, which device, which subdevice, and which OBC codes to transmit. There are many protocols build into the remote commander, but some of them are not known. By identifying the protocols, I enable other people to be be able to use them, look up devices in the device4.xls spreadsheet (for instance) and be able to add those devices and OBC codes into the main database.

In turn, it helps improve the decodeIR.DLL program here, and I can give the OBC codes to JP1 users for all the manufacturers already mapped to that protocol in the Clie. It also helps expand the knowledge base of protocols.

So there are a few benefits to this. My primary interest is to finish off the protocol mapping to make my hacking program more useful to Clie remote commander users. Personally, I use my One-For-All to control every device in my house already, so I am actually not gaining anything from this personally. But I like to hack, and others will benefit from it Smile
Back to top
View user's profile Send private message
JasonLO



Joined: 15 Dec 2004
Posts: 7

                    
PostPosted: Wed Jan 05, 2005 2:17 pm    Post subject: Reply with quote

johnsfine wrote:
Maybe he's trying to help you improve your comparison matrix spreadsheet.

I'm not sure I have an up to date comparison matrix. I see that it doesn't show a protocol 0007. At first glance protocol 0007 seems to match what Jason described for protocol C, but I haven't done any of the cross checking to know whether we already understand protocol 0007 and/or whether it really looks like C.

Ok, now I don't have any resources telling me what the format for protocol 0007 is. What are you viewing/how did you get that? The comparison matrix I have is the most recent one from the yahoo group in the protocol notes folder, and it doesn't have that protocol.

Thanks
Back to top
View user's profile Send private message
jon_armstrong
Expert


Joined: 03 Aug 2003
Posts: 1238
Location: R.I.P. 3/25/2005

                    
PostPosted: Wed Jan 05, 2005 5:28 pm    Post subject: Reply with quote

Jason, email me at the address in my profile and I'll send the latest comparison matrix and a word document that describes the syntax. It is in a new format that was created by John Fine, but similar enough to the old that I think you will be able to understand it right away. John (and Rob) that was what I emailed to you a week or two ago. Jason, I can use any help I can get to keep that more up to date.

Also, John, a couple of years ago you helped someone decode the Clie format, on the old Yahoo board. Jason, I assume that was that you? I have something in my files called "crem" that is for a Clie that appears to add a command to the database for the Clie.
_________________
-Jon
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JasonLO



Joined: 15 Dec 2004
Posts: 7

                    
PostPosted: Thu Jan 06, 2005 9:09 am    Post subject: Reply with quote

Yes, I am one and the same. I was decoding the protocols by trying to capture the signal from another type of remote that proved to be extremely difficult. I stopped working on it with only a handful of protocol decoded. Since then, I have gotten a JP1 based remote and built the cable. Now it is a thousand times easier.

And of course I have come to absolutely love this UEI based remote.

Another question: Sometimes IR (using decodeIR.DLL) interprets the learned signal as a specific protocol and then when I shut it off, it still interprets the learned signal as the same (or sometimes different) protocol. Is there anyway to get it to shut off completely and display just the captured pulses the way it does when it doesn't know the signal? I ask because a few of the protocols decode as NEC and I know there is going to be a slight difference between them but I can't see the raw signal pulses. I know I can look at the "raw data" hex codes, but I don't know how to interpret those into the pulse lengths.

Thanks, you guys are the greatest!


Last edited by JasonLO on Thu Jan 06, 2005 9:52 am; edited 1 time in total
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21237
Location: Chicago, IL

                    
PostPosted: Thu Jan 06, 2005 9:40 am    Post subject: Reply with quote

To enable the pulse timings in IR, go to Advanced > Force Learned Timings
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Sun Feb 27, 2005 12:30 pm    Post subject: Reply with quote

I finally got around to downloading the .ir file from this thread. (I don't know if Jason is still looking for anything here).

I changed DecodeIr to decode his "Protocol A". I ran that through my entire collection of CCF files, to see if it decoded any of the signals in that collection that DecodeIR hadn't before. It doesn't, so the ony four samples I have are the ones from Jason's file.

Jason's B and D protocol both fit the basic pattern of "Akai" in DecodeIr (and decode as such) The B one seems to actually be the "Akai" protocol supported by pid-000d. I have seen a few other code sets with that same structure but with timing far enough from pid-000D that it probably wouldn't work in an upgrade. DecodeIr works primarily on structure, not timing, so I'm not sure where the boundaries are to distinguish one from another. I don't think any of these that I have in CCF files match the timing of Jason's D set. (Many of them match his B set and pid-000d).
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - General Forum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control