This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Import IR transmitter library on nrf52840 thread sdk

Hi,

I want to make universal AC remote, using nrf52840.

I have decoded IR codes of all AC remotes which have been decoded using IRremoteESP8266 library.

Since AC IR codes are quite long and each AC vendor has their own IR Protocol, how can I send long IR codes on nrf52840?

Parents
  • Hi,

    The best solution would be to use the PWM peripheral, as this can output sequences directly from RAM without any CPU intervention.

    We have implemented IR in our Smart Remote 3 reference design. I would recommend you to have a look at the Infrared transmitter documentation, and download the firmware, to look at how it is implemented in the code.

    Best regards,
    Jørgen

  • Hi

    Thank you for the help.

    I have imported the IR driver in NRF_SDK_for_Thread_and_Zigbee and able to send SIRC command. But once the PWM signal is initiated it doesn't stop. After sending the SIRC signal, it keeps on sending some garbage value. it is stuck in m_acknowledgement_handler.

    How to get out of acknowledgement handler?

    Also I want to control AC using this library.

    In AC signals instead of command and address, state is given, can you help me in conversion of this data?

    Basically I want to add Panasonic AC IR protocol driver, do you know to add any AC protocol IR driver in it.

Reply
  • Hi

    Thank you for the help.

    I have imported the IR driver in NRF_SDK_for_Thread_and_Zigbee and able to send SIRC command. But once the PWM signal is initiated it doesn't stop. After sending the SIRC signal, it keeps on sending some garbage value. it is stuck in m_acknowledgement_handler.

    How to get out of acknowledgement handler?

    Also I want to control AC using this library.

    In AC signals instead of command and address, state is given, can you help me in conversion of this data?

    Basically I want to add Panasonic AC IR protocol driver, do you know to add any AC protocol IR driver in it.

Children
No Data
Related