IR software & hardware basics


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Default

    Thanks a lot skimask,

    I'm gonna try an IR module.

    I've seen on rentron's web site that he used a NAND.

    Going to check this out - didn't read this carefully enough.

    May I ask you over which distance you got good & reliable results?

    Dave, just saw your post. Yup, going for a module!!
    Roger

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex View Post
    May I ask you over which distance you got good & reliable results?
    The receiver filters out ambient IR from sunlight, incandescent lights, fluorescent lights, etc. If it's narrow-band it only reacts to IR that is modulated at the carrier frequency it is designed for. It's also designed for a specific wavelength (your phototransistor is 900nM while most consumer IR uses 940nM). Your test setup is about as bad as one could imagine.

    A few years back I designed a CF card that fit an iPAQ and acted as a Consumer IR transmitter. With a single IR emitter and 3.3V it regularly got 30 meters range but that's about 5 times what I expected.

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex View Post
    Thanks a lot skimask, I'm gonna try an IR module.
    I've seen on rentron's web site that he used a NAND. Going to check this out - didn't read this carefully enough. May I ask you over which distance you got good & reliable results? Dave, just saw your post. Yup, going for a module!!
    Maybe I did use a NAND gate, don't remember at the moment...
    Some people use gates, some people actually switch the PICs internal timer that generates the 38Khz on and off really fast.

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


    Did you find this post helpful? Yes | No

    Default

    And there's those which build their own serial IR routine... or modify the existing SEROUT/DEBUG etc etc. To me the AND gate is sure an option... but not needed when you can do everything in software... with some head-banging for sure.

    I remind that Darrel already did something like that here modifying the SERIAL macro in the PBP files, i will try to find it.
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    well, it was for XOUT, but there's an interesting concept.
    http://www.picbasic.co.uk/forum/show...ignal+stronger
    Steve

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

Similar Threads

  1. Benefits of hardware usart over software?
    By sccoupe in forum Serial
    Replies: 2
    Last Post: - 19th March 2009, 02:16
  2. Hardware or Software
    By bmagistro in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th March 2009, 00:22
  3. hardware counting while software runs
    By Archangel in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 2nd October 2006, 04:26
  4. Programming software for PicAll Hardware
    By bcd in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th July 2006, 09:15
  5. how to get pic to pic communication
    By kinsiro in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th August 2005, 18:12

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