• Re: IR remote control

    From Don Y@21:1/5 to Umbe on Thu Oct 24 02:38:41 2024
    On 10/24/2024 2:17 AM, Umbe wrote:
    Hello,
    I am trying to make a decoder for IR remote control.
    I have found many sites on the internet with a loto of information.

    I would like to start from a very low level, from a microcontroller (no Arduino).
    From where do I can start?

    <https://lirc.org/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Umbe@21:1/5 to All on Thu Oct 24 11:17:32 2024
    Hello,
    I am trying to make a decoder for IR remote control.
    I have found many sites on the internet with a loto of information.

    I would like to start from a very low level, from a microcontroller (no Arduino).
    From where do I can start?

    Thank you

    Umberto

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jan Panteltje@21:1/5 to l_umbe@yahoo.it on Thu Oct 24 10:27:53 2024
    On a sunny day (Thu, 24 Oct 2024 11:17:32 +0200) it happened Umbe <l_umbe@yahoo.it> wrote in <vfd3bd$2ivu5$1@dont-email.me>:

    Hello,
    I am trying to make a decoder for IR remote control.
    I have found many sites on the internet with a loto of information.

    I would like to start from a very low level, from a microcontroller (no >Arduino).
    From where do I can start?

    Thank you

    Umberto

    Years ago I wrote a simple program that reads from a IR photo diode to a PC parport pin,
    or any other thing you have, to record the IR commands from my cable modem. https://panteltje.nl/panteltje/pic/ir_pic/
    scroll down to 'finding out your codes'.

    it saves those as files, one for each commad (you type the code on a remote and record it).
    The top of that site shows you how make a module to then transmit those codes, but that requires a micro.
    If your PC is fast enoiugh it can do that too.

    Hacking cars .. well you know...
    I had a similar system for listening and recording RF codes and then re-transmitting those,
    with tx and rx modules I bought, basically a replay attack.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Waldek Hebisch@21:1/5 to Umbe on Thu Oct 24 19:20:57 2024
    Umbe <l_umbe@yahoo.it> wrote:
    Hello,
    I am trying to make a decoder for IR remote control.
    I have found many sites on the internet with a loto of information.

    I would like to start from a very low level, from a microcontroller (no Arduino).
    From where do I can start?

    Look at datasheet for chip like TSOP382. Note that the chip must
    be matched to your remote (remotes and receivers use one of few
    possible carrier frequencies, both must use the same). First
    check that you get sequence of pulsed from receiver chip.
    Your low-level code must record lengths of the pulses. Rest
    is purely software task, you need to convert time info into
    command. There are several different coding schemes. Hard
    way would be to reverse-engineer used coding looking at
    recevied transmissions. A variation of this could be:
    - first record several specimens of commands sent by the reomote
    - compute average times for each command
    - in decoder compare received thing with known commands, return
    the best match

    Of course this variation (and reverse-engineering) works only
    for coding scheme of your remote, if you want to handle different
    schemes you need to get another remote using different system.

    Or you can do it easy way and look how existing libraries do
    it. In particulat Lirc (suggested in another message) has
    routines and tables of data for several coding systems.

    --
    Waldek Hebisch

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)