Ambient Light Level Monitoring


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2005
    Posts
    37

    Default Ambient Light Level Monitoring

    I am working on a solar water heater project and would like to monitor the ambient light level. Can anyone recommend a simple light level sensor that can interface directly to an analog pin of a PIC? I have run accross the Intersil light to current optical sensor. I have a sensor that was removed from an old controller I had but cannot tell the manufacturer. The chip looks like a through hole ic!

    Any help would be greatly appreciated,

    Scott

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


    Did you find this post helpful? Yes | No

    Default

    A simple 10cents LDR could work. Directly on a PIC ADC input? probably not due to the impedance of those LDR. Just put an OP-AMP (or maybe transistor) between your LDR and your PIC.
    Steve

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

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


    Did you find this post helpful? Yes | No

    Smile

    Here is a sample similar to what mister_e mentioned.






    Here is a link to find just about anything about "lights & components".
    http://jp.hamamatsu.com/products/nod...ng=en&ext=html



    ------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    May 2004
    Location
    New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Not as cheap as the LDR... TAOS (Texas Advanced Optical Systems - or something like that) has some light-to-voltage & light-to-frequency converters for a few US$.

    http://www.mouser.com stocks several part #'s

    Arch
    "Data sheets? I ain't got no data sheets. I don't need no data sheets. I don't have to read any stinking data sheets!"

  5. #5
    Join Date
    Mar 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    I have setup an LDR with Op-Amp and it works just fine. I have been looking at using the TI parts and have some on order but may go with the LDR if I can generate a curve to allow voltage to lumens.

    I have been thinking of mounting the board in an enclosure with an electronics ballast then start with total darkness then generate a curve from 0-100% but this does not follow ambient lighting.

    Any thoughts?

    Thanks to all that has replied,

    Scott

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    scottl, I have used 4 of the TSL230's in a sun tracking sensor unit for a solar furnace with great success. All you need to do is count the pulses gererated by the units. No need for linearization or amplifiers. The Texas Advanced Optical Systems (TAOS) TSL230 sensor precisely measures light using an array of photodiodes, with an output of digital square waves. The TSL230 has an input dynamic range of 160dB; that is, it can measure light over a range of 100,000,000-to-1. Parallax still has them for $4.95 each.

    Dave Purola,
    N8NTA

  7. #7
    Join Date
    Mar 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Dave,

    This look like this will do the trick. I am going to order a couple to try and I will let you everyone know the results.

    Mouser also has stock at $4.75!

    Thanks,

    Scott

  8. #8
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Hi,

    I just used an LDR in a simple voltage divider configuration, and it works very well.

    Use the circuit Sayzer's given minus the transistor; feed the junction of the LDR and the resistor directly to the pic.

    Regards,

    Anand

  9. #9
    Join Date
    Mar 2005
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Thanks for the reply! I will give it a shot this week.

    Scott

Similar Threads

  1. Replies: 24
    Last Post: - 1st December 2009, 08:01
  2. Stairwell light code from BS1 to PHP2.50a
    By vtt-info in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st December 2007, 17:32
  3. 16F877A problem: "coupled" digital values
    By Lupo83 in forum General
    Replies: 16
    Last Post: - 4th December 2007, 12:46
  4. A/D on 16F767 for light tracking.
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th November 2007, 05:56
  5. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19

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