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

Help coding protocol for MotorolaRG2400
Goto page 1, 2  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - General Forum
View previous topic :: View next topic  
Author Message
jorgeluna



Joined: 20 Jul 2005
Posts: 6

                    
PostPosted: Wed Jul 20, 2005 10:05 pm    Post subject: Help coding protocol for MotorolaRG2400 Reply with quote

Hi...

I have a Motorola DSL - TV box that I want to control with my JP1 capable URC 9911B (same as 9910 but bought in Canada). I try learning the codes from the remote but in the middle of the learn process the memory got full. So I though I can use my JP1 cable to download the learning information and create my own code.

Well, the IR.exe program report something like this for every key learned:

1- Async5:939-1089:70.57..D5.55 Then Device 87 (changes for every key learned?) and Subdevice 215 (changes as well) Misc 70 57 D7 D5 55

and so on with the rest of the keys.....

SO, I realized this was going to be a little bit more complicated that I initially though. So, I browse the web for information on the device and I found this useful page realted with that specific box and remote.

http://lirc.sourceforge.net/remotes/motorola/SRC-200A

It states the following protocol and key codes:


#
# this config file was automatically generated
# using WinLIRC 0.6.5 (LIRC 0.6.1pre3) on Mon May 09 10:49:02 2005
#
# contributed by toonces
#
# brand: MTS TV or Quest Choice TV
# model: NextLevel or Motorolla RG2200
# supported devices: RG2000 RG2200 RG2400
#
# Remote is SRC-200A (should work with other similar models)
#
# Programmed using factory defaults (will work without setting gateway id):
# Infared, stream 1
#

begin remote

name SRC-200A_1
bits 8
flags SPACE_ENC
eps 25
aeps 100

header 5041 2901
one 1049 911
zero 1049 2901
ptrail 1049
post_data_bits 8
post_data 0xFF
gap 52610
toggle_bit 0


begin codes
select 0x00000000000000CD
1 0x000000000000000D
2 0x0000000000000075
3 0x00000000000000B5
4 0x0000000000000015
5 0x0000000000000065
6 0x0000000000000025
7 0x00000000000000AD
8 0x000000000000006D
9 0x000000000000008D
0 0x00000000000000D9
chan_up 0x000000000000002D
chan_down 0x00000000000000F5
b 0x00000000000000A9
exit 0x00000000000000A5
last_chan 0x00000000000000E5
call_id 0x00000000000000D5
end codes

end remote


I though at that point piece of cake. But, when I tried to go to the KM spreadsheet and create the protocol I just got confused and don't find a way to translate this information into the information necessary to create the protocol for my upgrade. Does anybody out there can help me with this please?

Thanks a bunch.

pdt. Actually I don't know if this information is better or if is best for you guys to get all the learned information from the original control whatever you guys need let me know. I really want to upgrade my control with this information.

THANKS AGAIN!!!
Back to top
View user's profile Send private message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Thu Jul 21, 2005 1:36 am    Post subject: Reply with quote

Although I'm not one of the experts, here's what you can/should do to help them help YOU:

(1)Ensure your learns are made with both remotes having fresh batteries;
(2)Ensure you are using proper learning techniques (place both remotes on a table facing each other about 2 inches apart, don't move them while learning, etc.);
(3) ensure you have the latest version of decodeIR.dll in you IR.exe directory

If having done this you still don't get clean decodes of learns, post you learned IR file in the diagnosis area and provide a link to it in a message.
Back to top
View user's profile Send private message
jorgeluna



Joined: 20 Jul 2005
Posts: 6

                    
PostPosted: Thu Jul 21, 2005 8:54 am    Post subject: Reply with quote

Well, I'm pretty sure about the batteries (they are brand new) and the learning technique (I just tried four time with the exact same result). So, I guess the best would be learn all the keys and post the learned IR file. I'll do that, I was just hoping that with those codes I found in INTERNET I could have save some work and go to program directly my remote w/o having to decipher the protocol from scratch.

Thanks for your advice.
Back to top
View user's profile Send private message
The Robman
Site Owner


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

                    
PostPosted: Thu Jul 21, 2005 9:42 am    Post subject: Reply with quote

You won't have to decipher the protocol, one of us will do that and if necessary, will write a new executor for you, all you need to do is post a file containing some of the learned signals so we can look at it.

Before you go to the effort of learning all of the buttons, I would post the IR file that you have now. Quite often when we see posts like this and we look at the learned signals ourselves, they decode perfectly. When this happens it's because the OP doesn't have the most recent version of DecodeIR downloaded.

Even if the signals aren't decoded by DecodeIR, it's still possible that one of us will recognize them and will know of a UEI executor that will handle 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
jorgeluna



Joined: 20 Jul 2005
Posts: 6

                    
PostPosted: Thu Jul 21, 2005 5:23 pm    Post subject: Reply with quote

This is my current IR file with the codes I learned. They are under CABLE device. I have some other codes learned for TV and RCVR plase disregard those.

Thanks a lot for your help.

Here is the file...
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=1951
Back to top
View user's profile Send private message
The Robman
Site Owner


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

                    
PostPosted: Thu Jul 21, 2005 6:20 pm    Post subject: Reply with quote

Please post this as a text file in the Diagnosis Area (which is in the File Section) then post a link to the file.
_________________
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: Thu Jul 21, 2005 6:39 pm    Post subject: Reply with quote

I looked at it anyway (even though it was in the replay rather than in the diagnosis folder). It is not supported yet by DecodeIr. It has an unusual enough lead-in that I was able to do an automatic search of a lot of UEI protocols, including ones we've never manually investigated (for adding RM support etc.). It doesn't match any. Rob may know of a wider set of UEI executors than I know. But most likely he won't have this one either.

I don't know when I'll have time to do DecodeIR support and use Protocol builder to create RM support. Maybe some other expert will first. (I'd follow Rob's advice about Diagnosis area to maximize the chances of that).

The "Gap" decodes from DecodeIR are basically right for this device, except they reverse Device with OBC.

The "Async" and various other decodes are garbage.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


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

                    
PostPosted: Thu Jul 21, 2005 9:10 pm    Post subject: Reply with quote

I moved the file there for him and started taking a look at it. The signals on the 2 and 3 buttons are too poorly learned to know what they should look like.

The timings are as follows:

LI = 5000 - 3000
0 = +1000 -1000
1 = +1000 -3000

I am having problems getting the lead out time right though. If the signal were to be all zeroes, the LO would be 59000, then for every 1 that appears it's reduce by 2000. I've tried entering 59000 (and various other times) in the LO box and setting the LO as total to YES but it's not working right.

Here's the PB file...
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=1952

Here's the KM file...
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=1953
_________________
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
jorgeluna



Joined: 20 Jul 2005
Posts: 6

                    
PostPosted: Thu Jul 21, 2005 11:17 pm    Post subject: More keys... Reply with quote

Hi Robman,

Thanks in advance for your great effort helping me with this device. I just posted a second set of keys learned for this device in the diagnosis area:

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

I hope this will help to solve the protocol issues. I tried my best to get the learned keys as clean as possible (controls face to face over a table within an inch of space).

I downloaded the KM file you posted and tried to read it with the latest version of KM but the spreadsheet still tell me that the protocol ID is invalid. So I don't know what to do with that file after that (sorry for my ignorance, please enlight me! Very Happy )

Any other information you might require to decipher this protocol just post it and I'll come back with it as soon as I read the post.

THANKS!!!

pdt. This JP1 stuff is really fun, it makes me feel like my old days back in my university when I was learning my first things about electronics.... you guys are awsome. Keep it up !!!
Back to top
View user's profile Send private message
The Robman
Site Owner


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

                    
PostPosted: Fri Jul 22, 2005 7:16 am    Post subject: Reply with quote

Hey Jorge,
I didn't post that KM file for you to try out as the protocols not ready yet, I posted it for any other expert that might want to help me out with the lead-out issue.

We should have something for you to test out later today.
_________________
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: Fri Jul 22, 2005 7:25 am    Post subject: Reply with quote

What is the lead-out problem?

I'm sure a moderate size error in lead-out wouldn't matter anyway. But if there is a PB problem we should deal with it.

Setting LO as total means that the value you give as LO is not the actual lead-out but is the total time (start of frame to next start of frame). As you described, that means that the more ones you have the less LO you end up with.

I can't tell if you understood that and intended it, but it didn't work as described (PB bug we would need to somehow fix), or if you didn't intend that and described what you got, which would be correct, but then you wanted the total choice to be NO. Or did you try it both ways and the NO version didn't work, or what?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


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

                    
PostPosted: Fri Jul 22, 2005 9:12 am    Post subject: Reply with quote

I do understand that, but I was unable to come up with a value that works. Originally I entered something like 75,000 and the LO on the first signal I tested came out to something like 130,000, so I figured that it was obviusly too high. Using the UP ARROW signal to test with, I figured out that a value of 51,000 caused the LO to be the correct value (49,000 if memory serves). However, when I learned the rest of the arrow buttons, while 2 of them had the correct LO, 2 of them had no LO at all.

Given that the timings for an all-zero signal would be this:

LI = 5000 - 3000
0 = +1000 -1000
1 = +1000 -3000
LO = 59000

Would the correct LO value be 99,000?
_________________
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
The Robman
Site Owner


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

                    
PostPosted: Fri Jul 22, 2005 9:32 am    Post subject: Reply with quote

Hey Jorge,
Try this...

Upgrade Code 0 = 6F D0 (Cable/2000) Motorola RG2400 (KM v8.31)
FF 00 B2 FD 10 25 F1 89 49 E9 99 D9 51 91 71 D1
09 61 C5 05 B9 81 31 45 79
End

Upgrade Protocol 0 = 01 FF (S3C8+) Custom Protocol Motorola RG2400
43 8A 11 8B 12 F5 44 08 08 01 F4 05 C8 01 F4 01
E0 C1 5C 09 C4 05 C8 E6 0D 02 8D 01 46
End
_________________
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
jorgeluna



Joined: 20 Jul 2005
Posts: 6

                    
PostPosted: Fri Jul 22, 2005 6:10 pm    Post subject: Terrific!!! Reply with quote

Awsome job dude!!!!!

Is workign quite nicely. I tried all the keys you had assigned in the upgrade and they work all fine. Perfecto!

Thanks a lot for your help and keep up this fantastic work!!

You guys Rocks!

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


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

                    
PostPosted: Fri Jul 22, 2005 8:58 pm    Post subject: Reply with quote

Cool, glad to hear it. I updated the original KM file so you can re-download it and re-arrange the buttons if you like. If there are any more buttons that you haven't learned yet, go ahead and learn them, then rather than posting the IR file for me, you can add the codes to the KM file yourself, just remember that the GAP decodes have the device code and OBC swapped, so you want to take the value from the device code column in IR and enter it into KM.

Also, feel free to rename the functions in the KM file to more closely match how they are labelled on the OEM remote.
_________________
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
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - General Forum All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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