IR Learner? Need ideas


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: IR Learner? Need ideas

    It looks like he named it IRM_out, because it is the output of the infra red sensor, so an input on the PIC.

    Not sure why he is setting it high, and I don't see it ever set to input.

    Have you thought about emailing the author?

    IRM_VDD VAR PORTA.0 'IR RX Module Out (VCC)
    IRM_Out VAR PORTA.1 'IR RX Module VDD (OUT)

    Name:  image035.png
Views: 2521
Size:  58.7 KB
    Last edited by ScaleRobotics; - 7th April 2011 at 14:25.

  2. #2
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default Re: IR Learner? Need ideas

    Quote Originally Posted by scalerobotics View Post
    It looks like he named it IRM_out, because it is the output of the infra red sensor, so an input on the PIC.
    Thanks for the reply.

    If it is an input to the PIC then why the TrisA register is set for it to be an output?

  3. #3
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: IR Learner? Need ideas

    Quote Originally Posted by Megahertz View Post
    Thanks for the reply.

    If it is an input to the PIC then why the TrisA register is set for it to be an output?
    Yes, I am with you, confused. Have you tried emailing the author, Flutoloplex?

  4. #4
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default Re: IR Learner? Need ideas

    Yes I did, but seems the author is a very busy man, so I believe experts here will be able to help me on this topic.

  5. #5
    Join Date
    Dec 2006
    Location
    Brasil, Sao Paulo, Campinas
    Posts
    54


    Did you find this post helpful? Yes | No

    Default Re: IR Learner? Need ideas

    I Think that if he used a IR module, then just go work if TRISA.1 = 1, as input!

    Pimentel

  6. #6
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default Re: IR Learner? Need ideas

    Quote Originally Posted by Pimentel View Post
    I Think that if he used a IR module, then just go work if TRISA.1 = 1, as input!

    Pimentel
    That could be fine if I just want to copy and replicate the code. But I am in a process to understand it fully. Making it input will settle question number 1 in my post above, but still looking for explanation on 2 & 3.

  7. #7
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: IR Learner? Need ideas

    Hi there,

    I've been working on some other things these last months so no much time for this forum left :-(

    I'll come back with answers shortly.
    Roger

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