Page 1 of 1

Lighting Condition for Optical Flow Breakout Board

Posted: Fri Dec 06, 2019 2:26 am
by sean112
Hello,

I bought an optical flow breakout board for my mobile robot. Since I put it on the rear side of my robot close to my chassis, and sometimes the mobile robot blocks the light source, I put a LED right by optical flow breakout board. However, it seems like the board sometimes gives random reading after sometime. If I turn off the LED, the board will work for a while then give random reading again. Every time the board stops working, I just switch off/on the LED light, it will work for another period of time. Is there an illumination value that I should follow for this camera? I wonder if the camera auto adjust its exposure time.

P.S. The LED I have is very bright.

Sincerely,
Sean

Re: Lighting Condition for Optical Flow Breakout Board

Posted: Mon Dec 09, 2019 2:59 pm
by arnaud
Hi,

I have not observed this exact problem before. The flow sensor has an auto exposure mechanism, so this is what might be happening there. There is two things I can think about:
- The flow deck does not require high level of illumination. So one things to try would be to reduce the strength of the LED (without PWM if possible).
- How far is the sensor from the floor? The flow sensor is designed to be used no closer than 8cm from the floor, otherwise the lens will give blurry images to the sensor.

Re: Lighting Condition for Optical Flow Breakout Board

Posted: Wed Dec 11, 2019 7:34 pm
by sean112
Changing the illumination method solved the problem. The LED was too bright after all.

Re: Lighting Condition for Optical Flow Breakout Board

Posted: Wed Dec 11, 2019 7:34 pm
by sean112
Changing the illumination method solved the problem. The LED was too bright after all.

Re: Lighting Condition for Optical Flow Breakout Board

Posted: Thu Dec 12, 2019 6:37 am
by arnaud
Great, thanks for the update!

Re: Lighting Condition for Optical Flow Breakout Board

Posted: Thu Dec 12, 2019 10:41 pm
by sean112
Just one quick question about the board. I believe it is still a feature extraction between two consecutive frames? Does the board take snapshot independent of the delay command in the tutorial? I am just wondering if there is anything to look out for if I decrease the delay, since I want to run as fast as it can.

Re: Lighting Condition for Optical Flow Breakout Board

Posted: Fri Dec 13, 2019 7:04 am
by arnaud
The flow sensor works fast (I cannot remember how fast but I thinks its ~1KHz) and the chip accumulates movement in counters. So if you read faster, you should expect smaller readings from deltaX/deltaY counters.