No one-way approach to learning ir remote control frequencies


Closed Thread
Results 1 to 40 of 42

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    In a world of german electrons
    Posts
    102

    Default No one-way approach to learning ir remote control frequencies

    I want to control my circuitry via a given infrared remote control
    (for a Scott DVD-Player) producing unknown control frequencies.

    All approaches I have seen so far need extra circuitry and output the
    data to the pc showing it perfectly. But these are one-way
    circuitries. Having found out the frequences, they are useless.

    I want to get the frequencies via software and write them to the
    eeprom to read them out on the pc and use them in the future.

    I created a circuitry that sets PORTA.5(PIC = 16F628A) High or low depending on the
    rc's ir-led being on or off.

    Now I need software to cope with this information and to write it to
    my pic. As I mentioned, I don't know the carrier frequency nor do I
    know any other data about the control except that it produces light
    and my circuitry receives it.

    Suggestions ?
    Last edited by selbstdual; - 13th June 2007 at 08:51.

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I'm not sure, from your post, what you are trying to accomplish.

    If you need to know the carrier frequency of the IR you can record an image of it using a PC parallel port and then determine the carrier frequency from the recorded data. See http://www.ziplabel.com/cir/index.html for schematics and software.

    You can also check the files at http://www.RemoteCentral.com for your specific remote or the hardware it was designed for. If it's listed, you can get the carrier frequency from the CCF files there.

    Once you have the carrier frequency and the timings for the IR bursts, you can use HPWM to create the carrier, switching the pin from output to input to turn the bursts on or off.

    You will likely find the current from a PIC pin insufficient to drive an IR emitter for anything other than close range. Check http://www.rentron.com for IR project schematics.
    Last edited by dhouston; - 13th June 2007 at 12:21.

  3. #3
    Join Date
    Aug 2006
    Location
    In a world of german electrons
    Posts
    102


    Did you find this post helpful? Yes | No

    Default

    Thank you for your answer.

    I'm not sure, from your post, what you are trying to accomplish.
    I want to know:
    a) the carrier frequency of the given remote control
    b) which buttons result in which combinations of bursts

    I want software in pbp to answer these questions.

    Only thing offered is PORTA.5 which can be asked for its status to find out about a high or low level(light or dark).

    If you need to know the carrier frequency of the IR you can record an image of it using a PC parallel port and then determine the carrier frequency from the recorded data.
    For this issue I wrote this:
    All approaches I have seen so far need extra circuitry and output the
    data to the pc showing it perfectly. But these are one-way
    circuitries. Having found out the frequences, they are useless.
    You can also check the files at http://www.RemoteCentral.com for your specific remote or the hardware it was designed for.
    It doesn't exist there.

    Once you have the carrier frequency and the timings for the IR bursts, you can use HPWM to create the carrier, switching the pin from output to input to turn the bursts on or off.
    It is about receiving, not sending.
    Last edited by selbstdual; - 13th June 2007 at 14:51.

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by selbstdual View Post
    It doesn't exist there.
    There is a file there for a Scott DVD player. If they make other models there is still a good chance that they use the same carrier and codes.

    Since you apparently want someone to hand it to you on a plate, try http://www.rentron.com/PicBasic/IR_Chips.htm

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I still really do not understand exactly what you want to do but, from a quick look at some of your other posts, that seems to be an ongoing theme.

    The Scott DVD Player uses the NEC IR protocol with a carrier of 38kHz. Scott's custom code is 8. The NEC protocol is one of the oldest (if not the oldest) IR protocol. It is widely used by many AV manufacturers and is easily understood. There's a datasheet for one of the early NEC encoder chips on my webpage at http://davehouston.net/Nec6121.pdf.

    If you want to capture these codes with a PIC, the best way is to use an IR receiver module which receives the IR, removes the carrier, and outputs the data envelope. I suggest the Vishay TSOP1100 which works with 33-57kHz carriers. If you also want to capture the carrier frequency use a photodiode on another pin and, if your oscillator is at least 8MHz, use PBP's COUNT for 1mS during the initial IR burst which is usually 2.5mS or longer with almost all protocols. The initial burst is about 9mS with the NEC protocol.

    As it happens, I've posted code to send/receive, encode/decode the NEC protocol as RF. The only difference for receiving is the polarity - the IR receiver is active low where an RF receiver is active high. For sending, modify my RF code with Bruce Reynold's IR code which I cited earlier. You can even leave it at 40kHz but you'll need to use the NEC timing in my code. See http://www.picbasic.co.uk/forum/showthread.php?t=6261.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by selbstdual View Post
    I want to know:
    Apparently everything...right...DUDE?

    I want software in pbp to answer these questions.
    Of course you do! As usual...





    Quote Originally Posted by dhouston View Post
    Since you apparently want someone to hand it to you on a plate, try http://www.rentron.com/PicBasic/IR_Chips.htm
    Quote Originally Posted by dhouston View Post
    .....but, from a quick look at some of your other posts, that seems to be an ongoing theme.
    I don't think the plate is good enough. Hand delivered, built, tested, debugged, and put in a shiny gold enclosure...maybe...

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. IR Remote Control Issues
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 28th August 2007, 14:12
  3. Remote control with frequencies
    By tohu thomson in forum mel PIC BASIC
    Replies: 2
    Last Post: - 15th August 2007, 15:15
  4. IR Remote Control
    By mychangl in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th March 2007, 07:01
  5. Need help building a simple IR learning remote with a PIC
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 20th April 2006, 22:22

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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