Your Universal Remote Control Center
RemoteCentral.com
Custom Installers' Lounge Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
generate pronto hex code
This thread has 5 replies. Displaying all posts.
Post 1 made on Monday January 20, 2020 at 07:46
theremoteman
Junior Member
Joined:
Posts:
January 2020
18
Hello

I found this remote coeds in the image attached:


and want to generate Pronto hex code out of it, in nec1 protocol.

I am trying to figure out what is the DSF parameters out of it and put it inside IrScrutinizer to generate the pronto code, but the IrScrutinizer keeps giving me errors.

can you give me an example how to do it then?

thank u
Post 2 made on Tuesday January 21, 2020 at 03:04
Barf
Long Time Member
Joined:
Posts:
August 2013
350
Strincty speaking, you have to guess here. But on the other hand there is only one reasonable guess...

The 8-digit hexadecimal number is ("we guess") formed from D (bitreversed), S (bitreversed), F (bitreversed), and the complement of F, bitreversed, each being two hexadeimal numbers. So for D you take 0x80 = 0b10000000 and reverse it to 0b00000001 = 0x01, etc. You can enter hexadecimal numbers in IrScrutinizer if you precede them by "0x" (without the quotes). For example, "Power" turns into D=0x01, S=0xFE, F=0x58.

You may find the Hex Calculator under the Tools menu useful for computing the bit reversal. there called "LSB".

Extra fact: Since S is the one-complement of D, it can be left out (leave the S file blank).
OP | Post 3 made on Tuesday January 21, 2020 at 07:25
theremoteman
Junior Member
Joined:
Posts:
January 2020
18
hi Barf and thank you for your reply but I can't follow you.

so let's take the example with the "POWER": 807F 1AE5
* DSF each should be two digits?
so-
D: 80
S: 7F
F: 1A
and what about the left over "E5"?

* if I follow you I now need to convert DSF lke so:
D= 0x80 -> 0b10000000 -> now why we need to reverseit?
S= 0x7F -> 0b1111111 -> reverse that too? to what?
F= 0x1A -> 0b11010 -> same question
and again, what about the left over of "E5"?

* besides, why we need to reverse the bits?

thank you for your answer, I would really appreciate if you can explain the process in details.

Last edited by theremoteman on January 21, 2020 07:58.
Post 4 made on Tuesday January 21, 2020 at 08:13
buzz
Super Member
Joined:
Posts:
May 2003
4,371
1A --> 0001 1010
E5 --> 1110 0101

The remote will compliment 1A to E5 as it transmits. The unit will check this to make sure that the transmission is correctly received.
OP | Post 5 made on Tuesday January 21, 2020 at 08:24
theremoteman
Junior Member
Joined:
Posts:
January 2020
18
So if I follow the example, the code for
"Mute" = 807F 01FE
in DSF it would be:
D= 01 (because "01" is the LSB of "80")
S= FE (because "FE" is the lsb-compliment "80"-> i.e the compliment of 01)
F= 80 (because "80" is the LSB of "01")

am i correct?
Post 6 made on Wednesday January 22, 2020 at 13:46
Barf
Long Time Member
Joined:
Posts:
August 2013
350
am i correct?

yes, but better than

S= FE (because "FE" is the lsb-compliment "80"-> i.e the compliment of 01)

is that it is LSB of 7F

and again, what about the left over of "E5"?

it is a check, so that (some) transmission errors are detected, and corresponding signals rejected.

* besides, why we need to reverse the bits?

The protocol was designed that way... somewhat awkward for humans, easy for machines.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse