大佬,首先感谢大佬,仔细看着您的面包板的图片,揣摩出来如何接线,终于刷了您修改的固件,接好线了,然后拿遥控器试了下,能够捕捉到红外命令。
我的浴霸是松下FV-40BTS1C
我拿灯光控制为例,遥控器上就一个灯的按键,有3个档位,强光挡,弱光挡,关灯。每次按遥控器,都是开灯-强光挡,然后按下同一个灯的按键,就切换为弱光挡,然后再按一次,就是关闭灯。
主要是,我捕捉了好几次,每次的IR命令的rawdata都不一样。。。。汗。这该如何是好。。。
这是第一次捕捉的弱光挡的IR码。
{"IrReceived":{"Protocol":"UNKNOWN","Bits":244,"Data":"ED3CBDA7","RawData":[3476,1752,434,470,382,1368,380,498,382,498,408,448,434,470,382,498,382,498,382,472,406,498,408,472,382,498,382,522,354,1344,434,472,382,496,382,498,382,498,380,498,408,472,382,1368,372,508,406,1316,408,1368,382,498,382,496,408,1342,380,500,382,496,380,1346,404,500,382,498,380,500,380,500,380,1344,434,1314,434,1316,434,1320,404,498,382,1368,410,446,406,498,380,500,406,472,382,1342,408,472,408,498,382,474,408,496,382,472,408,498,382,496,382,472,406,1346,406,472,408,474,432,472,384,496,384,470,408,470,408,1346,404,1370,380,500,408,472,382,498,382,496,380,498,408,446,434,472,382,500,382,1368,382,472,434,448,406,470,434,470,382,496,380,1344,432,448,408,1340,408,498,382,498,406,472,408,472,406,472,382,498,380,1342,408,1368,382,498,408,470,384,496,380,500,406,472,382,498,406,474,382,498,406,1344,408,472,380,496,382,498,382,496,408,474,408,1342,382,496,408,1316,408,1368,382,498,410,470,382,498,382,1368,396,1354,382,498,382,1370,408,1342,408,470,380,500,382,1344,432,472,382,1368,410,470,410,1342,382,30070,3448,1776,408,498,382,1340,408,472,434,446,406,498,382,496,382,474,434,470,380,476,406,468,410,496,412,444,432,446,408,1344,406,474,408,472,408,474,406,472,404,500,382,472,404,1344,436,446,380,1372,432,1342,382,472,406,472,408,1342,408,474,408,498,382,1342,408,472,434,472,382,500,380,472,406,1344,406,1342,408,1370,380,1368,382,498,380,1372,380,496,384,496,408,444,406,500,408,1316,434,446,406,474,404,474,408,472,406,472,406,472,434,446,406,498,380,1370,382,498,380,500,382,498,406,446,436,470,380,498,382,1342,434,1316,408,498,382,498,410,446,432,470,410,442,408,498,382,496,410,470,380,1370,380,500,380,474,432,472,382,472,434,444,408,1342,418,462,436,1314,434,470,382,472,460,444,380,498,382,500,406,470,410,1316,432,1318,436,442,408,498,382,470,410,498,380,500],"RawDataInfo":[487,429,0]}}
这是第二次捕捉的弱光挡的IR码
{"IrReceived":{"Protocol":"UNKNOWN","Bits":244,"Data":"ED3CBDA7","RawData":[3474,1774,410,470,410,1338,410,470,410,470,434,444,410,470,410,472,434,448,408,472,408,470,410,470,434,444,410,472,408,1340,410,472,408,470,410,472,410,468,408,472,408,470,408,1342,410,470,408,1340,408,1342,382,498,408,470,408,1342,408,472,408,470,408,1342,436,444,434,448,406,470,408,472,406,1342,410,1340,408,1342,410,1342,434,446,408,1342,382,496,408,470,408,472,408,472,410,1340,436,444,408,472,408,472,436,444,408,470,410,470,410,472,408,470,408,1342,436,444,410,470,410,470,408,470,408,472,408,472,408,1342,410,1340,410,472,434,444,410,470,408,472,408,472,410,468,408,472,408,472,408,1342,410,470,408,470,410,470,408,470,408,472,410,1340,410,468,410,1340,408,470,410,470,406,472,408,470,408,470,410,468,410,1342,410,1342,410,468,408,472,410,468,410,470,410,470,410,468,408,472,410,470,408,1318,432,472,408,470,410,470,410,470,410,470,408,1342,436,444,408,1342,410,1342,436,444,408,472,410,470,408,1340,436,1314,436,444,410,1342,410,1340,410,470,408,470,436,1314,410,470,436,1314,410,470,408,1342,436,29998,3496,1774,438,442,410,1316,432,470,410,468,408,472,410,470,436,442,382,498,410,470,410,468,408,472,434,444,436,444,410,1318,432,472,410,446,432,470,438,442,410,468,410,470,410,1338,410,472,410,1316,432,1340,410,470,434,444,436,1290,432,470,410,472,436,1312,410,468,382,474,434,470,408,472,410,1316,460,1312,410,1340,436,1314,410,470,410,1342,408,470,410,468,410,470,406,472,408,1342,408,470,438,442,410,470,408,472,410,444,434,470,410,468,382,496,408,1318,432,472,410,470,410,470,434,442,410,446,432,470,410,1340,410,1318,434,470,410,470,436,444,410,470,410,470,434,444,408,472,410,470,410,1340,436,444,410,448,432,470,436,442,408,470,410,1316,434,468,410,1342,436,444,410,470,434,446,410,470,410,468,408,446,434,1318,432,1318,458,444,384,496,408,470,436,444,436,442],"RawDataInfo":[487,429,0]}}
这是第三次捕捉的弱光的IR码
{"IrReceived":{"Protocol":"UNKNOWN","Bits":244,"Data":"ED3CBDA7","RawData":[3472,1776,382,498,408,1342,436,444,434,444,408,472,436,442,436,444,382,500,408,472,408,470,408,472,408,470,408,472,408,1342,410,496,382,472,408,470,406,474,434,444,408,472,406,1342,434,470,384,1340,436,1316,408,470,408,472,408,1342,408,472,408,472,382,1368,408,472,408,474,434,446,406,470,436,1314,410,1342,408,1342,464,1286,408,472,436,1314,410,472,408,470,408,472,488,390,464,1284,412,470,408,472,410,472,432,446,408,468,410,446,434,470,436,444,408,1342,436,444,408,472,408,498,382,470,408,470,408,470,408,1342,408,1342,436,444,408,472,408,472,410,472,406,472,434,446,406,470,434,448,434,1316,434,444,408,470,436,442,438,442,408,470,408,1342,410,470,408,1340,408,474,406,472,434,444,410,470,408,472,434,446,404,1342,410,1342,382,524,382,472,406,472,382,496,438,446,406,470,410,496,384,470,434,1316,410,496,408,442,436,444,436,444,382,498,434,1314,434,444,436,1316,436,1312,438,442,410,470,436,442,410,1340,382,1368,408,472,408,1342,408,1342,408,496,382,470,408,1344,406,474,436,1314,408,470,408,1342,408,30044,3502,1748,410,470,408,1342,408,472,436,444,410,470,408,472,436,444,406,472,410,468,436,444,408,472,410,468,436,444,410,1340,408,474,408,470,408,472,406,472,408,472,410,468,436,1314,408,474,408,1340,436,1314,410,468,410,470,434,1316,408,472,410,470,436,1314,438,442,412,470,410,468,410,470,434,1316,410,1342,408,1340,434,1316,410,472,436,1314,408,474,408,470,408,468,410,472,406,1342,408,448,430,474,432,444,410,472,438,440,410,470,410,470,464,416,408,1342,382,500,434,442,412,470,382,496,408,472,380,498,382,1368,408,1342,406,472,410,474,380,522,410,446,406,472,436,442,410,470,408,472,408,1342,412,468,408,474,408,470,436,444,406,470,406,1344,408,470,410,1342,404,474,408,470,410,470,436,442,410,470,436,442,382,1368,410,1340,438,444,408,470,410,470,408,470,408,470],"RawDataInfo":[487,429,0]}}
我看了下,好像我的IR码有430组,
是说发送命令是得 IRSend 0,后面跟430个xxx吗。。。
另外,这样的老变化的情况,该如何是好呢?
多谢大佬指点。
|