TSL3301 issue

madhukaramadhukara Posts: 1
edited October 9 in Propeller 1 Vote Up0Vote Down
Hello.....
This is my first post here.
Working with a optic sensor for the first time
I'm doing a project using TSL3301 sensor. We are using 3 TSL3301 sensor and 3 sets of IR emitter(Each set has 3 VSMY2850RG IR EMITTER)
The TSL3301 and IR EMITTER is placed at a distance of 3-4 cm. The sensor should detect any object passing in between.(Object might be a small seed or small stone)

Using SAMV70 controller to drivethe TSL3301.

I have few issues.
1) What is the minimum integration delay possitble?

2) Im giving integration delay of 30msed but still im getting output as

Without IR emitter ==>255,255,255,255,255,255,255........(102 pixels)
With IR emitter ==> 0,0,0,0,0,0,0,255,0,0,0,0,255,0,0,0,0,0,255,0,0,0,0,0,255,0,0,0,0,0,255,0,0,0,0,0,255,.....
Is it right output?

3)I have attached my code which was written using "http://forums.parallax.com/discussion/137190/driver-for-tsl3301-line-sensor-spin-and-asm"





c
c
9K
Sign In or Register to comment.