Serial over the IR


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: srial over the IR

    This may help, achieved from Rentron. Be sure to copy any info that you like. It may not be available in the future.

    https://web.archive.org/web/20120504...munication.htm

  2. #2
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: srial over the IR

    good ,
    it requires an external Nand gate but it is suggesting to use a resistor in series to the bs170 gate and another pic pin to turn on and off the carrier... this pin should be low state or three state . Three state for carrier on and low for carrier off...
    I will try and let you knw.
    thanks
    Ambrogio

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: srial over the IR

    You shouldn’t need another pic, just turn on HPWM, and leave it on.
    then use that as one input to an AND gate, and your HSEROUT pin as the other,
    then the AND gate output should be the modulated serial.

    The IR receiver modules don’t go well with a constant carrier, at least in my experience,
    and also your output from the IR receiver module might be inverted (relative to what you expect).
    You might need a 7404 or similar at either the send or the receive end.

  4. #4
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Lightbulb Re: srial over the IR

    If the received data is like a garbage, then reverse IR LED legs.

    Name:  USART_IR.jpg
Views: 838
Size:  13.7 KB
    Attached Images Attached Images  
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  5. #5
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: srial over the IR

    good idea Sayzer,
    thanks,
    Ambrogio

  6. #6
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default Re: srial over the IR

    Take a look at the following, these show you some simple information about RX/TX IR communication and some basic code:

    Basic IR Communications (http://www.electro-tech-online.com/a...nications.361/)
    Lazer Tag– concept (http://www.electro-tech-online.com/b...3-concept.216/)

  7. #7
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: srial over the IR

    thanks,
    I did register but not possible to get in due to error: could you pls specify the links again ?
    Regards
    Ambro

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