Shop OBEX P1 Docs P2 Docs Learn Events
Tsl230r help!!! — Parallax Forums

Tsl230r help!!!

boblai2010boblai2010 Posts: 18
edited 2010-03-29 15:09 in BASIC Stamp
TSL230R Just can output the frequency·by the light change how can i set the frequency to the lux
My program is a basic stamp program and i just copy from the data sheet but i don't know how to change the frequency to the luxconfused.gifconfused.gifconfused.gif

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-03-28 17:09
    You will probably need to calibrate the sensor to lux and for that you will need to borrow a meter that reads lux. Perhaps someone here has already done that and can help but I've not used that sensor.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • boblai2010boblai2010 Posts: 18
    edited 2010-03-29 05:31
    ALso here i have a more question because i here listen some people said that photoresistor can measure lux but when i used it The RCtime is not output stable ,how can i make it more stable
  • Tracy AllenTracy Allen Posts: 6,662
    edited 2010-03-29 15:09
    Instability in RCTIME usually means that wires leading to the sensor or other parts of the circuit are too long and are picking up AC noise. Also, if your sensor is looking at an artificial light source powered by AC mains, the readings will actually bounce around due to pulsations of light at twice the line frequency. (120 Hz).

    One way to calibrate approximately is to put your sensor 1 meter from a 100 watt standard bare light bulb, or 1 meter from the center of the beam of a 50 watt R20 track-light bulb. That gives in the neighborhood of 400-500 lux. Outdoor full sunlight is in the neighborhood of 100000 lux.

    Remember that lux is a photometric quantity that measures how well human eyes can see things, and defines a peak in yellow-green light at 555 nanometers. The sensors you have measure over a much wider range of wavelengths than eyes can see. That TSL230 would give a reading even under an invisible IR LED. Sensors for lux usually have a filter that cuts out the non-visible wavelengths and peaks follows the so-called photoptic curve of the eye's sensitivity.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
Sign In or Register to comment.