dony

Members
  • Content Count

    1
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Applications

Calendar

Posts posted by dony


  1. On 6/1/2018 at 5:28 AM, jscax said:

    Yeah, YS-IRTM is working ok using the OPI Zero UART (thanks armbian :beer:), now I can control my TV.

     

    The problem is that YS-IRTM works with NEC protocol only.

    I actually need to control a Samsung AC unit which uses Samsung protocol.

     

    YS-IRTM ==> https://www.aliexpress.com/item/5V-IR-Infrared-Remote-Decoder-Encoding-Transmitter-Receiver-Wireless-Module-IR-Decoder-Module/32528109291.html

     

    http://www.datasheetcatalog.com/info_redirect/datasheet/nec/UPD6122G-002.pdf.shtml => UPD6121 ====> NEC only

     

    Differences between IR remote protocols:

    http://www.techdesign.be/projects/011/011_waves.htm

     

    NEC:

    tt_011_2-nec.gif

     

    SAMSUNG:

    tt_011_8-samsung.gif

     

    So, I was guessing that maybe GPIO can handle this kind of specific 1/0 switching and timing.

    And should be great if does exist a library for this, because seems like something very standardized.

     

    I'd expect something like:

    
    Ir ir = new Ir()
    ir.setGpioPin(x)
    ir.sendSamsung(hexcode)

     

    But maybe it's all wrong

     

     

    Hello jscax,

     

    Are you saying that the YS-IRTM uses the "UPD6121".    I thought it used a STC11F02 microcontroller.   I am frustrated about finding information on the module I bought - looks like the one in your link to Aliexpress.    STC11F02  is an 8051 micro - I will see if I can use STC software to get the embedded firmware, and try to disassemble it.