Modulate IR


Closed Thread
Results 1 to 4 of 4

Thread: Modulate IR

  1. #1
    Join Date
    Oct 2007
    Posts
    21

    Question Modulate IR

    What is the code I can use to modulate IR

    I am using an IR LED and IR phototransistor to detect a line

    How can I modulate that?


    I am using the PIC 16F616 @ 4mhz

    Thank You

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    have a look at those various projects
    http://rentron.com/remote.htm
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Forkosh View Post
    What is the code I can use to modulate IR

    I am using an IR LED and IR phototransistor to detect a line

    How can I modulate that?


    I am using the PIC 16F616 @ 4mhz

    Thank You
    Use the HPWM to generate the modulation; change the status of the HPWM pin to an output when you want a '1' to be transmitted, and change it to an input for a '0'. This way, you can achieve the IR transmission with only 1 pin, and no external gating circuitry.

    BTW, if you are modulating the IR signal, you'd get much better results using a 3 pin IR demod. module.

    Regards,

    Anand Dhuru

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    something 'round this thread should give some idea
    http://www.picbasic.co.uk/forum/showthread.php?t=3057
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. PIC16F877A pwm use for IR transmission
    By mcbeasleyjr in forum General
    Replies: 0
    Last Post: - 11th July 2009, 18:51
  3. Plz help in completing RC-5 IR remote lamp dimmer project
    By vu2iia in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd April 2008, 08:44
  4. PIC10F200 Automated IR Light Switch
    By Bruce in forum Code Examples
    Replies: 7
    Last Post: - 3rd May 2007, 11:40
  5. how to get pic to pic communication
    By kinsiro in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th August 2005, 17:12

Members who have read this thread : 1

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