reading IR photoresistor


Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Jul 2006
    Posts
    76

    Default reading IR photoresistor

    Hello everyone,

    I am using a PIC18F4550 and I am trying to measure the strength of an IR beam (translating to distance). I am using this [http://www.phidgetsusa.com/tutorials...ue_sensors.asp] setup (at the bottom of the page) because I have this [http://www.radioshack.com/sm-infrare...i-2049724.html] photo transistor. I am using ADCIN to read the values of the photo transistor with a 2200 ohm resistor hooked up to it. I am unsure, however, about what resistor value to use with it because when I hook everything up, it doesn't seem to be working well. Usually it will print a value around one or two (with 8 bits conversion for ADCIN) with no IR light on. When I turn an IR led on I am getting the same value (I am positive the IR emitter is working). Please help.

    PS: I know there was a recent post similar to this on this [http://www.picbasic.co.uk/forum/showthread.php?t=5592] but it doesn't have what I am looking for.

    Thank you,

    -Mike
    Last edited by mbw123; - 27th January 2007 at 15:49.

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 : 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