TomasHubelbauer / flirc-led-strip-party

Using Flirc to control an IR LED strip
0 stars 0 forks source link

IR protocol information #1

Open normanr opened 3 months ago

normanr commented 3 months ago

I suspect the IR protocol is NEC. Some information about it can be found at https://www.sbprojects.net/knowledge/ir/nec.php

It can be decoded with various apps like https://ir.flirc.io/ (doesn't seem to be working at the moment) or IrScrutinizer. You may need to reformat the signal to match the expected format though (generally something like +9400 -4400 +660 -440 ... etc, values are approximate and don't need to be exact)

TomasHubelbauer commented 3 months ago

Thank you! Appreciate you for taking the time to share this information.

normanr commented 3 months ago

https://ir.flirc.io/ does seem to work, eg: it decodes Red as NEC -- scancode: 0xFB04EF00.

Another site I found very useful for understanding IR codes: http://www.hifi-remote.com/wiki/index.php/Main_Page

A ran the codes through IrScrutinizer, here are the individual decodings:

Name Decode
Light+ {D=0,S=239,F=0}
Light- {D=0,S=239,F=1}
Off {D=0,S=239,F=2}
On {D=0,S=239,F=3}
Red {D=0,S=239,F=4}
Green {D=0,S=239,F=5}
Blue {D=0,S=239,F=6}
White {D=0,S=239,F=7}
A {D=0,S=239,F=8}
B {D=0,S=239,F=9}
C {D=0,S=239,F=10}
Flash {D=0,S=239,F=11}
D {D=0,S=239,F=12}
E {D=0,S=239,F=13}
F {D=0,S=239,F=14}
Strobe {D=0,S=239,F=15}
G {D=0,S=239,F=16}
H {D=0,S=239,F=17}
I {D=0,S=239,F=18}
Fade {D=0,S=239,F=19}
J {D=0,S=239,F=20}
K {D=0,S=239,F=21}
L {D=0,S=239,F=22}
Smooth {D=0,S=239,F=23}
TomasHubelbauer commented 3 months ago

This is awesome, very useful tools and mapping table you produced. I will capture this in the readme!