mirror of https://github.com/arendst/Tasmota.git
Updated IRSend RAW Encoding (markdown)
parent
feccbcbb78
commit
9263bf7157
|
@ -108,4 +108,13 @@ First, have a look at the excellent article from Elektor [IR Remote Control Code
|
|||
|
||||
Let's suppose you have an unsupported HVAL and record the following raw IR codes using Tasmota:
|
||||
|
||||
`[3094,3062,3092,4442,576,1652,578,528,576,1650,580,528,576,528,576,1650,580,1648,572,536,568,1658,572,1656,574,1652,576,530,574,532,572,532,572,1654,576,532,572,532,572,532,572,534,570,536,568,536,578,528,578,1648,570,536,568,538,578,528,576,528,576,530,574,532,572,532,572,532,572,534,570,534,570,1656,574,1654,576,532,574,1652,576,1650,580,1648,572,536,568,538,578,1648,572,1656,574,532,572,534,570,536,570,536,568,536,578,528,576,530,574,530,574,1650,578,1648,572,1656,574,1654,576,532,572,532,572,534,570,1654,576,532,572,534,570,534,570,536,570,536,568,536,578,528,576,530,576,1650,580,1648,572,1656,574,1654,576,530,574,532,602,502,602,504,600,504,600,506,598,508,596,508,606,498,606,500,604,500,604,502,602,504,602,504,600,504,600,506,598,506,598,508,606,498,606,500,604,500,604,502,602,504,600,504,600,504,600,506,598,508,606,498,606,500,606,500,604,1622,578,530,604,1620,610,1618,600,506,598,1628,602,1626,604,1622,608,500,604,502,602,1624,606,1622,608,500,604,1622,608,1618,600,506,598,1628,602,506,600,1626,602,504,600,506,598,508,596,508,606,500,604,502,602,502,602,502,602,504,600,506,598,506,598,508,596,508,596,510,594,512,604,502,602,502,606,500,600,506,600,506,598,508,596,508,596,510,594,512,594,512,602,502,602,504,600,506,600,506,598,508,596,508,596,510,594,1632,598,508,606,1620,600,1628,602,504,600,1626,602,504,600,1626,604]`
|
||||
`[3094,3062,3092,4442,576,1652,578,528,576,1650,580,528,576,528,576,1650,...]`
|
||||
|
||||
IR messages typically start with a long Mark (IR on), followed by a long Space (IR off). Here we see a double sequence of Mark (3094 µs) - Space (3062 µs) - Mark (3092 µs) - Space (4442 µs).
|
||||
|
||||
The actual bitstream is `576,1652,578,528,576,1650,580,528,576,528,576,1650,...`.
|
||||
|
||||
You need to take timing by pairs, again the first value is Mark (IR on), the second Space (IR off). The Mark is typically of constant time, and the space will vary from short (~528 µs) for bit `0` to long (~1650 µs) for bit `1`.
|
||||
|
||||
So the first bits of the bitstream are: `101001...`
|
||||
|
||||
|
|
Loading…
Reference in New Issue