RMT:about infrared_nec test

zhouerlei
Posts: 1
Joined: Wed Aug 28, 2019 1:58 am

RMT:about infrared_nec test

Postby zhouerlei » Tue Jan 12, 2021 7:19 am

1、NEC remote infrared RMT example
2、audio board: lyrat_V4_3
3、infrared diode:IRM_56384
4、Infrared receiving pin: GPIO_NUM_21
5、test data:
I (3180) NEC: ringbufer receive some data
W (3180) NEC: item[0]: duration0 = 7293, level0 = 0, duration1 = 3629, level1 = 1
W (3190) NEC: item[1]: duration0 = 466, level0 = 0, duration1 = 449, level1 = 1
W (3190) NEC: item[2]: duration0 = 464, level0 = 0, duration1 = 449, level1 = 1
W (3200) NEC: item[3]: duration0 = 465, level0 = 0, duration1 = 450, level1 = 1
W (3210) NEC: item[4]: duration0 = 464, level0 = 0, duration1 = 449, level1 = 1
W (3220) NEC: item[5]: duration0 = 464, level0 = 0, duration1 = 450, level1 = 1
W (3230) NEC: item[6]: duration0 = 464, level0 = 0, duration1 = 450, level1 = 1
W (3230) NEC: item[7]: duration0 = 463, level0 = 0, duration1 = 450, level1 = 1
W (3240) NEC: item[8]: duration0 = 464, level0 = 0, duration1 = 450, level1 = 1
W (3250) NEC: item[9]: duration0 = 464, level0 = 0, duration1 = 1340, level1 = 1
W (3260) NEC: item[10]: duration0 = 465, level0 = 0, duration1 = 1341, level1 = 1
W (3270) NEC: item[11]: duration0 = 465, level0 = 0, duration1 = 1341, level1 = 1
W (3270) NEC: item[12]: duration0 = 464, level0 = 0, duration1 = 1341, level1 = 1
W (3280) NEC: item[13]: duration0 = 466, level0 = 0, duration1 = 1339, level1 = 1
W (3290) NEC: item[14]: duration0 = 466, level0 = 0, duration1 = 1340, level1 = 1
W (3300) NEC: item[15]: duration0 = 466, level0 = 0, duration1 = 1340, level1 = 1
W (3310) NEC: item[16]: duration0 = 466, level0 = 0, duration1 = 1339, level1 = 1
W (3320) NEC: item[17]: duration0 = 466, level0 = 0, duration1 = 1340, level1 = 1
W (3320) NEC: item[18]: duration0 = 466, level0 = 0, duration1 = 449, level1 = 1
W (3330) NEC: item[19]: duration0 = 465, level0 = 0, duration1 = 1340, level1 = 1
W (3340) NEC: item[20]: duration0 = 465, level0 = 0, duration1 = 449, level1 = 1
W (3350) NEC: item[21]: duration0 = 464, level0 = 0, duration1 = 450, level1 = 1
W (3360) NEC: item[22]: duration0 = 464, level0 = 0, duration1 = 450, level1 = 1
W (3360) NEC: item[23]: duration0 = 465, level0 = 0, duration1 = 1339, level1 = 1
W (3370) NEC: item[24]: duration0 = 466, level0 = 0, duration1 = 449, level1 = 1
W (3380) NEC: item[25]: duration0 = 465, level0 = 0, duration1 = 448, level1 = 1
W (3390) NEC: item[26]: duration0 = 465, level0 = 0, duration1 = 1340, level1 = 1
W (3400) NEC: item[27]: duration0 = 465, level0 = 0, duration1 = 450, level1 = 1
W (3400) NEC: item[28]: duration0 = 465, level0 = 0, duration1 = 1339, level1 = 1
W (3410) NEC: item[29]: duration0 = 466, level0 = 0, duration1 = 1340, level1 = 1
W (3420) NEC: item[30]: duration0 = 467, level0 = 0, duration1 = 1339, level1 = 1
W (3430) NEC: item[31]: duration0 = 466, level0 = 0, duration1 = 449, level1 = 1
W (3440) NEC: item[32]: duration0 = 465, level0 = 0, duration1 = 1340, level1 = 1
W (3440) NEC: item[33]: duration0 = 466, level0 = 0, duration1 = 0, level1 = 1
I (3450) NEC: ................

Obviously, all the data is less than the normal NEC data. The data I grab with logic analyzer is normal. Why???

Who is online

Users browsing this forum: Google [Bot] and 39 guests