Connect with us

remote control issues

Discussion in 'LEDs and Optoelectronics' started by donkey, Dec 17, 2018.

  1. donkey

    donkey

    1,286
    56
    Feb 26, 2011
    hey all, designing a remote cos I wanna.
    the reason i chose remote was my TV and set top box seem to share some similar "codes"
    when i press volume up on set top box the tv turns off. when i press volume up on tv it changes channel..... multiple other examples have been found. I am too cheap to by a new tv and the tuner in it died ages ago so the set top box is what i use.

    I hear you ask "Donkey you smart intelligent sexy beast, why not buy a universal remote?" very simply put the same issues would arise of the transmission being received by both devices and alternate functions happening.

    SOOOO my theory is this.
    take the better remote (TV) put a micro inbetween (ARDUINO COS I CAN) and pug in 1 reader and 2 ir led's that are the same range. if the volume is pressed then the TV changes volume. if the channel is pressed then the set top box is pressed.
    to stop the codes being mixed between I am gong to put some thick tape over them and pretty much stick them to the receiver on the device I want.
    SOOOOOO the question now becomes how do I get the codes? I was thinking of using the receiver on the arduino to read them and then output so statements like
    if (Code for volume up) use led 1 and output (volume up code) if code for channel change use LED 2 and channel change etc.
    before I get started is this viable?
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    9,136
    1,844
    Nov 17, 2011
    That's basically viable. To make it fit for your living room (increase WAF) may require a bit more than just sticky tape. But I'll leave the design to you.
    You don't put tape over codes, do you? I think you'll want to attach the LEDs to the IR ports of the respective devices (LED1 to TV, LEd2 to set top box).

    Look the up, e.g. here.
    That is another possibility. But there's one catch: A standard remote control sends the codes repeatedly in order to give you a chance to aim the remote and ensure the code is received by the receiver. Thus the arduino will receive a long string of repeating 1's and 0's which will quickly clobber up memory. For this to be viable you'd have to have the codes received by the arduino, transmitted to a PC, manually edited to separate the relevant code parts, possibly compressed and returned to the arduino for use. Further reading see e.g. here.
     
    BobK likes this.
  3. BobK

    BobK

    7,599
    1,641
    Jan 5, 2010
    All good info from Harald. In addition, when you look up the codes, you might find that the devices actually have more than one code for a function, which may allow you to select alternative codes without interference.

    Bob
     
    Harald Kapp likes this.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
Loading...
Electronics Point Logo
Continue to site
Quote of the day

-