Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: USB Wireless PC Remote Control + Receiver commands to a Teensy 4.0?

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Location
    Thompson Falls,Mt
    Posts
    2

    USB Wireless PC Remote Control + Receiver commands to a Teensy 4.0?

    I am thrashing an idea to use one of these ebay USB Wireless PC Remote Control + Receiver's in a project. ( https://www.ebay.com/itm/USB-Wireles...5.c10#viTabs_0 ).

    Would extracting the remote controls commands and getting them into a Teensy 4.0 be possible ? or would it be a major undertaking?
    Thanks
    Last edited by Satchel; 08-10-2019 at 06:34 AM. Reason: hit enter by mistake

  2. #2
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,061

    Cool

    In general, it should be pretty simple. Most of the IR remotes use standardized controls, and the IRremote library handles them:


    On the 4.0 beta thread, it looks like Paul added the support in January (messages 430, 435, 436, 441, 442).

    You would need to get an appropriate IR sensor. On message 435, it was asked if the following board would work, and Paul answered in 436, that it probably would work (you need to make sure it handles 3.3v power). But there are many other sensors available that should work:

  3. #3
    Junior Member
    Join Date
    Aug 2019
    Location
    Thompson Falls,Mt
    Posts
    2
    Hello Mike,
    Glad you replied. Because of that I noticed I had the wrong link posted . I was referring to those RF type transmitters that receives the RF from the remote to a little USB dongle type receiver.
    I imagine its demodulating the RF and serializing the data to USB.
    But my head starts spinning trying to figure out the usb host thing as of now .Pretty much a noob concerning that.
    I am imagining how nice it would be to connect that dongle receiver to a Teensy 4.0 and have all those buttons at one"s disposal. Or is it too much wishful thinking?
    There may be a reason I haven't seen any projects with these .I don't know.
    In other words, Would the Teensy 4.0 or any Teensy, be able to extract the keypress's from that dongle receiver?
    As of now ,I wouldn't need the mouse or voice functions.
    Thz

    an example is the link
    ( https://www.ebay.com/itm/Voice-Remot....c100677.m4598 )
    )
    )
    Last edited by Satchel; 08-11-2019 at 12:51 AM.

  4. #4
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,061
    Generally it is a 'simple matter of programming'. You may be the first person to want something.

    In the case of the Teensy, only the Teensy 3.6 and the new Teensy 4.0 support USB host mode (as opposed to USB client mode). I've never used it, so somebody else would have to say whether it is feasible or not. Since it is 'a mouse', it likely sends codes similar to other mice, and it may be just a matter of using tools on Linux, Windows, or Mac that shows what the USB traffic is, and mapping that to what you want.

    And you may be a noob now, but that is correctable. It depends on how much you want something and whether you are willing to dive into the details if nobody else has done a simple package. You might be the one to write that package.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •