Go Down

Topic: Convert Hex code to NEC IR Code 32 Bit (Read 267 times) previous topic - next topic

Ravipon

Hello my friend,

I Need help. I have IR Hex Code right these:
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0689

For Turn ON Samsung TV.
 
But I need to convert to NEC IR Code 32 bit right these: 0x20DF33CC (this is LG NEC IR Code)

Can anyone help me please?

thank you so much



AWOL

Quote
I have IR Hex Code right these:
0000 006D
That's (invalid) octal.

Ravipon

Do you have a valid code?

or you have a NEC code for Samsung TV on and off?

Ravipon


jremington

#4
Jan 13, 2019, 03:18 am Last Edit: Jan 13, 2019, 03:19 am by jremington
Quote
I have IR Hex Code right these:
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015
Please explain what those numbers mean, and how you obtained them. Also, read and follow the directions in the "How to use this forum" post.

SteveShaw

Hi Ravipon, don't know if you worked this out but i was just looking for the same and came accross your mail, i worked out how to do this from https://forum.arduino.cc/index.php?topic=19312.0.

Basically starting at the seventh block (after the lead in) you'll see "0015 0015" (this is for a binary 0) or "0015 0040" (this is for a binary 1), do this till you have all 32 bits, the last numbers are a lead out.

So for the number you gave from the samsung side - that would read as hex e0e09966 - which i think is samsung "on"

Hope this helps

Go Up