PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

LGACSendDemo.md 4.3KB

před 3 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. === decoding for LG A/C ====
  2. - 1) remote of LG AC has two type of HDR mark/space, 8000/4000 and 3100/10000
  3. - 2) HDR 8000/4000 is decoded using decodeLG(IRrecvDumpV2) without problem
  4. - 3) for HDR 3100/10000, use AnalysIR's code : http://www.analysir.com/blog/2014/03/19/air-conditioners-problems-recording-long-infrared-remote-control-signals-arduino/
  5. - 4) for bin output based on AnalysIR's code : https://gist.github.com/chaeplin/a3a4b4b6b887c663bfe8
  6. - 5) remove first two byte(11)
  7. - 6) sample rawcode with bin output : https://gist.github.com/chaeplin/134d232e0b8cfb898860
  8. === *** ===
  9. - 1) Sample raw code : https://gist.github.com/chaeplin/ab2a7ad1533c41260f0d
  10. - 2) send raw code : https://gist.github.com/chaeplin/7c800d3166463bb51be4
  11. === *** ===
  12. - (0) : Cooling or Heating
  13. - (1) : fixed
  14. - (2) : fixed
  15. - (3) : special(power, swing, air clean)
  16. - (4) : change air flow, temperature, cooling(0)/heating(4)
  17. - (5) : temperature ( 15 + (5) = )
  18. - (6) : air flow
  19. - (7) : crc ( 3 + 4 + 5 + 6 ) & B00001111
  20. °F = °C × 1.8 + 32
  21. °C = (°F − 32) / 1.8
  22. === *** ===
  23. * remote / Korea / without heating
  24. | status |(0)| (1)| (2)| (3)| (4)| (5)| (6)| (7)
  25. |----------------|---|----|----|----|----|----|----|----
  26. | on / 25 / mid | C |1000|1000|0000|0000|1010|0010|1100
  27. | on / 26 / mid | C |1000|1000|0000|0000|1011|0010|1101
  28. | on / 27 / mid | C |1000|1000|0000|0000|1100|0010|1110
  29. | on / 28 / mid | C |1000|1000|0000|0000|1101|0010|1111
  30. | on / 25 / high | C |1000|1000|0000|0000|1010|0100|1110
  31. | on / 26 / high | C |1000|1000|0000|0000|1011|0100|1111
  32. | on / 27 / high | C |1000|1000|0000|0000|1100|0100|0000
  33. | on / 28 / high | C |1000|1000|0000|0000|1101|0100|0001
  34. |----------------|---|----|----|----|----|----|----|----
  35. | 1 up | C |1000|1000|0000|1000|1101|0100|1001
  36. |----------------|---|----|----|----|----|----|----|----
  37. | Cool power | C |1000|1000|0001|0000|0000|1100|1101
  38. | energy saving | C |1000|1000|0001|0000|0000|0100|0101
  39. | power | C |1000|1000|0001|0000|0000|1000|1001
  40. | flow/up/down | C |1000|1000|0001|0011|0001|0100|1001
  41. | up/down off | C |1000|1000|0001|0011|0001|0101|1010
  42. | flow/left/right| C |1000|1000|0001|0011|0001|0110|1011
  43. | left/right off | C |1000|1000|0001|0011|0001|0111|1100
  44. |----------------|---|----|----|----|----|----|----|----
  45. | Air clean | C |1000|1000|1100|0000|0000|0000|1100
  46. |----------------|---|----|----|----|----|----|----|----
  47. | off | C |1000|1000|1100|0000|0000|0101|0001
  48. * remote / with heating
  49. * converted using raw code at https://github.com/chaeplin/RaspAC/blob/master/lircd.conf
  50. | status |(0)| (1)| (2)| (3)| (4)| (5)| (6)| (7)
  51. |----------------|---|----|----|----|----|----|----|----
  52. | on | C |1000|1000|0000|0000|1011|0010|1101
  53. |----------------|---|----|----|----|----|----|----|----
  54. | off | C |1000|1000|1100|0000|0000|0101|0001
  55. |----------------|---|----|----|----|----|----|----|----
  56. | 64 / 18 | C |1000|1000|0000|0000|0011|0100|0111
  57. | 66 / 19 | C |1000|1000|0000|0000|0100|0100|1000
  58. | 68 / 20 | C |1000|1000|0000|0000|0101|0100|1001
  59. | 70 / 21 | C |1000|1000|0000|0000|0110|0100|1010
  60. | 72 / 22 | C |1000|1000|0000|0000|0111|0100|1011
  61. | 74 / 23 | C |1000|1000|0000|0000|1000|0100|1100
  62. | 76 / 25 | C |1000|1000|0000|0000|1010|0100|1110
  63. | 78 / 26 | C |1000|1000|0000|0000|1011|0100|1111
  64. | 80 / 27 | C |1000|1000|0000|0000|1100|0100|0000
  65. | 82 / 28 | C |1000|1000|0000|0000|1101|0100|0001
  66. | 84 / 29 | C |1000|1000|0000|0000|1110|0100|0010
  67. | 86 / 30 | C |1000|1000|0000|0000|1111|0100|0011
  68. |----------------|---|----|----|----|----|----|----|----
  69. | heat64 | H |1000|1000|0000|0100|0011|0100|1011
  70. | heat66 | H |1000|1000|0000|0100|0100|0100|1100
  71. | heat68 | H |1000|1000|0000|0100|0101|0100|1101
  72. | heat70 | H |1000|1000|0000|0100|0110|0100|1110
  73. | heat72 | H |1000|1000|0000|0100|0111|0100|1111
  74. | heat74 | H |1000|1000|0000|0100|1000|0100|0000
  75. | heat76 | H |1000|1000|0000|0100|1001|0100|0001
  76. | heat78 | H |1000|1000|0000|0100|1011|0100|0011
  77. | heat80 | H |1000|1000|0000|0100|1100|0100|0100
  78. | heat82 | H |1000|1000|0000|0100|1101|0100|0101
  79. | heat84 | H |1000|1000|0000|0100|1110|0100|0110
  80. | heat86 | H |1000|1000|0000|0100|1111|0100|0111