View previous topic :: View next topic |
Author |
Message |
chuliu
Joined: 04 Dec 2010 Posts: 443 Location: Hong Kong |
Posted: Sun Dec 22, 2013 3:11 pm Post subject: beginner trying to practice building protocol |
|
|
Hi
I try to practice building a new protocol.
I use a remote that use a known NEC1 protocol to begin.
The IRP reads something like:
1: Protocol=NEC1 Device=134.5 OBC=9
IRP form: {38.1k,559,msb}<1,-1|1,-3>(16,-8,A:32,1,^108m,(16,-4,1,^108m)+){A=$61A0906F}
Single: +9009 -4496 +572 -551 +567 -1662 +567 -1662 +572 -551 +572 -551 +572 -551 +572 -551 +567 -1662 +567 -1662 +572 -551 +567 -1662 +572 -551 +572 -551 +572 -551 +572 -551 +572 -551 +567 -1662 +572 -551 +572 -551 +567 -1662 +572 -551 +572 -551 +572 -551 +572 -551 +572 -551 +567 -1662 +567 -1662 +572 -551 +567 -1662 +567 -1662 +567 -1662 +567 -1662 +578 -43570
Repeat: +8993 -2233 +568 -96124
2: Protocol=NEC1 Device=134.5 OBC=0
IRP form: {38.1k,560,msb}<1,-1|1,-3>(16,-8,A:32,1,^108m,(16,-4,1,^108m)+){A=$61A000FF}
Single: +8983 -4496 +568 -553 +578 -1658 +578 -1658 +568 -553 +568 -553 +568 -553 +568 -553 +578 -1658 +578 -1658 +568 -553 +578 -1658 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +568 -553 +578 -1658 +578 -1658 +578 -1658 +578 -1658 +578 -1658 +578 -1658 +578 -1658 +578 -1658 +578 -43569
Repeat: +8987 -2230 +570 -96118
If I didn't know it was NEC1 protocol, How would I be able to build a new protocol?
I know that on is 550,-550 and off 550,-1650.
Lead in 9000 -4500
I don't know what the lead out is.
Also, how do I determine the obc code and device code in this example.
Thanks.
I had success previously building a new protocol that was simple: uniden dth310r that had one byte of device code and one byte of command code and lead out was some value minus the total length of the data bytes.
Thanks. |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Sun Dec 22, 2013 3:45 pm Post subject: |
|
|
Way too open ended a question.
Did you read the protocol builder help file? http://www.hifi-remote.com/forums/dload.php?action=file&file_id=3727
After that, the next thing would be to read threads in the protocol building forum. Rob tutored me for many years before I "got it", and it was all done in the open forum. All preserved for all to see. Protocol building was a tough job for me. I think anybody else that had as much trouble as I had would have given up. But I HAD to learn, because I used to have mini-panic attacks whenever the forum would go down. And back then Rob's host was crashing all the time. I don't ever want to go back to juggling remotes!
Did you read my starter document that I wrote when I had the great epiphany? http://www.hifi-remote.com/forums/dload.php?action=file&file_id=6996
If you have a specific question you could ask.
The Nec1 is a time off as total. ^108m If you look at all the times as positiive you'll see that they always add up to 108 even for the dittos. Remember negatives are still positive numbers. The negative just shows that the signal is quiet. _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
chuliu
Joined: 04 Dec 2010 Posts: 443 Location: Hong Kong |
Posted: Sun Dec 22, 2013 4:49 pm Post subject: |
|
|
I vaguely remember cracmming the two documents when I tried to create rmdu for uniden dth310r. That was an easy one and thus I didn't read every detail but just needed to solve my problem-to build rmdu for uniden dth310r.
For some reason I found the world of jp1 to be fun. I want to learn how to make custom protocol so that I can create my won upgrade file. |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Sun Dec 22, 2013 5:07 pm Post subject: |
|
|
chuliu wrote: | I vaguely remember cracmming the two documents when I tried to create rmdu for uniden dth310r. That was an easy one and thus I didn't read every detail but just needed to solve my problem-to build rmdu for uniden dth310r.
For some reason I found the world of jp1 to be fun. I want to learn how to make custom protocol so that I can create my own upgrade file. |
Learning to create a custom protocol executor is a handy skill, although we rarely run across unidentified protocols. Probably 6 times a year. If you have an eye for the actual decoding, that's even better. I can't do that. Very few can.
JP1 is an addictive hobby! _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
Barf Expert
Joined: 24 Oct 2008 Posts: 1415 Location: Munich, Germany |
Posted: Mon Dec 23, 2013 9:56 am Post subject: |
|
|
It appears like chuliu means something else by "building new protocol" than the rest of us. To me, it seems like (s)he wants to create a device update using the said protocol. |
|
Back to top |
|
|
chuliu
Joined: 04 Dec 2010 Posts: 443 Location: Hong Kong |
Posted: Mon Dec 23, 2013 10:09 am Post subject: |
|
|
What I want to do is to be able to create new protocol when encountering remotes using unknown protocols to make device upgrades. |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Mon Dec 23, 2013 11:09 am Post subject: |
|
|
Barf wrote: |
It appears like chuliu means something else by "building new protocol" than the rest of us. |
No, chuliu means what we mean. (S)He , encountered an unknown protocol last spring.
http://www.hifi-remote.com/forums/viewtopic.php?t=14685
Many protocols are simple with just filling in the blanks. Sometimes writing the protocols usually takes a bit of assembler, but what the heck there are only about 78 instructions in any language. Of course if I remember correctly he/she uses a sling so we are using that horrible Samsung s3f8 language , but that is the most useful language to know in the JP1 world. I am a JP1.2 specialist, but UEI seems to have abandoned that chip family.
Okay chuliu, what pronoun do we use, he or she _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
chuliu
Joined: 04 Dec 2010 Posts: 443 Location: Hong Kong |
Posted: Tue Dec 24, 2013 4:01 am Post subject: |
|
|
I am male. |
|
Back to top |
|
|
chuliu
Joined: 04 Dec 2010 Posts: 443 Location: Hong Kong |
Posted: Sun Jan 05, 2014 12:05 pm Post subject: |
|
|
hi everyone
I have read the help file for kb and also vicky's document.
Is there an easier protocol that is recognized by irscope that I can practice with to build my own protocol. Even if it is known protocol, practicing it may help me with building new protocol when encountering unknown ones.
It seems like NEC1 is still too hard for me.
If one can give me a link to an rmdu for an easier protocol, I can use it to install on my jp1 or sling box to capture the signals for analysis using ir widget.
Thanks. |
|
Back to top |
|
|
chuliu
Joined: 04 Dec 2010 Posts: 443 Location: Hong Kong |
Posted: Sun Jan 05, 2014 12:32 pm Post subject: |
|
|
I reread vicky's document and found that it explained ned protocol well. I think I understand nec protocol now.
Any other protocol to test for me as a beginner? |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Sun Jan 05, 2014 7:06 pm Post subject: |
|
|
If you are using IR, on the advanced menu, choose "Force Learned timings", this will give you access to some biphase tools. The RC5 is a biphased type of signal, as opposed to the pulse width. If you want to get versed, you need to be able to decode those too. |
|
Back to top |
|
|
|