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

beginner trying to practice building protocol

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



Joined: 04 Dec 2010
Posts: 443
Location: Hong Kong

                    
PostPosted: Sun Dec 22, 2013 3:11 pm    Post subject: beginner trying to practice building protocol Reply with quote

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
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Sun Dec 22, 2013 3:45 pm    Post subject: Reply with quote

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. Rolling Eyes And back then Rob's host was crashing all the time. Laughing 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
View user's profile Send private message Visit poster's website
chuliu



Joined: 04 Dec 2010
Posts: 443
Location: Hong Kong

                    
PostPosted: Sun Dec 22, 2013 4:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Sun Dec 22, 2013 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1415
Location: Munich, Germany

                    
PostPosted: Mon Dec 23, 2013 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
chuliu



Joined: 04 Dec 2010
Posts: 443
Location: Hong Kong

                    
PostPosted: Mon Dec 23, 2013 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Mon Dec 23, 2013 11:09 am    Post subject: Reply with quote

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 Razz, 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 Question
_________________
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
View user's profile Send private message Visit poster's website
chuliu



Joined: 04 Dec 2010
Posts: 443
Location: Hong Kong

                    
PostPosted: Tue Dec 24, 2013 4:01 am    Post subject: Reply with quote

I am male.
Back to top
View user's profile Send private message
chuliu



Joined: 04 Dec 2010
Posts: 443
Location: Hong Kong

                    
PostPosted: Sun Jan 05, 2014 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
chuliu



Joined: 04 Dec 2010
Posts: 443
Location: Hong Kong

                    
PostPosted: Sun Jan 05, 2014 12:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Sun Jan 05, 2014 7:06 pm    Post subject: Reply with quote

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
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 - Beginners 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