LDR associated with 6008-DAQ problem

Discussion in 'General Electronics Chat' started by MohammedHA, Apr 24, 2016.

  1. MohammedHA

    Thread Starter New Member

    Apr 20, 2016
    2
    0
    Hello,
    while doing an experiment of measuring light intensity using LDR with DAQ, +5v is connected with 100k ohm resistance and LDR is connected in series to the ground, the output is taken between these two resistors to an analog input pin(voltage divider).
    i make labview program to read the signal that comes from the LDR.
    the problem was that it gives 100hz noise signal always. i dont know the reason of why this happening.
    so, why do i get noise in the LDR signal at 100hz ?
    and how do i get rid of it ?

    thanks
     
  2. #12

    Expert

    Nov 30, 2010
    16,278
    6,789
    The 100 Hz is coming from your power line frequency. Add a capacitor in parallel with the LDR. About 0.1 uf should do the trick.
     
    MohammedHA likes this.
  3. MohammedHA

    Thread Starter New Member

    Apr 20, 2016
    2
    0
    thanks for response.
    But, is there any other (non electronic neither programming) solution as it had been requested from me ??
    thanks again.
     
  4. #12

    Expert

    Nov 30, 2010
    16,278
    6,789
    Stop instructing Labview to inject 100 Hz noise?
    In the real world, you can either add a 10 cent capacitor or build the circuit inside a grounded metal box to avoid outside electrical fields and magnetic fields.
    Another way would be to design the circuit with lower impedance, but that is an electronic method which you said you do not want.
     
    MohammedHA likes this.
Loading...