Problem with down looking camera lighting

95 views
Skip to first unread message

svetozar161

unread,
May 26, 2026, 4:30:22 PM (12 days ago) May 26
to OpenPnP
Hello. Following the example of the respected Mike Menci, I bought a Keyence CA-DXW3 light on AliExpress. I installed it according to his diagrams and connected it to 12 volts. And this is what I received, you can clearly see in the photo: a very bright spot of light. The height from the lens to the circuit board is about 90 mm. The camera has an 8 mm lens. Why is this spot formed and the image is somehow blurry? Is the light very bright? Mike's pictured product is perfect; it's the same light. Can anyone help?

svetozar161

unread,
May 26, 2026, 4:43:57 PM (12 days ago) May 26
to OpenPnP

Luke Bayes

unread,
May 26, 2026, 6:27:55 PM (12 days ago) May 26
to ope...@googlegroups.com
I can't speak for the original author, or this device, but it looks like you could use a polarizing filter.

Dave at eevblog did a great job explaining how they work for PCB systems like these.

Best,

lb.

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openpnp/82c2d6fe-bc48-4219-8cf5-61842e88f09dn%40googlegroups.com.

Mike Menci

unread,
May 27, 2026, 12:50:14 AM (11 days ago) May 27
to OpenPnP
Reduce the Highlight - and adjust the focus or change the camera lens - move camera closer to PCB... you need to find the right settings with OpenPnP I&S - which camera are you using =??  

Селенин Алексей

unread,
May 27, 2026, 3:16:21 AM (11 days ago) May 27
to ope...@googlegroups.com
Hello Mike. Thank you for your attention to me. The camera is using ELP FHD 5 mpx with IR lens 8 mm. The coaxial light consumes only 90 mA with 12v. How can I reduce the brightness? Using the current regulator? If I lower the camera, I can't adjust the focus. Which lens should I use? 3.6mm? 6mm?

ср, 27 мая 2026 г. в 07:50, Mike Menci <mike....@gmail.com>:

Mike Menci

unread,
May 27, 2026, 3:38:28 AM (11 days ago) May 27
to OpenPnP
Try 6mm focus and no IR - yes reduce voltage to less than 12V - visualy see which voltage will do the equal light on PCB.-... test needed...

Mike Menci

unread,
May 27, 2026, 3:42:19 AM (11 days ago) May 27
to OpenPnP
One more note - Down looking camera is not as important as up Looking camera for Vision in OpenPnP - might be more useful to use your Coax setup for Up looking camera??


On Wednesday, 27 May 2026 at 09:16:21 UTC+2 sveto...@gmail.com wrote:

Селенин Алексей

unread,
May 27, 2026, 3:42:23 AM (11 days ago) May 27
to ope...@googlegroups.com
Thanks, Mike, I'll try. It's just that the smaller the lens, the greater the fisheye distortion. I'll try and write a report.

ср, 27 мая 2026 г., 10:38 Mike Menci <mike....@gmail.com>:

Mike Menci

unread,
May 27, 2026, 3:44:58 AM (11 days ago) May 27
to OpenPnP
See this !

Селенин Алексей

unread,
May 27, 2026, 3:55:58 AM (11 days ago) May 27
to ope...@googlegroups.com
I understand, I will deal with it later. Now I'm redesigning the machine again. As much as possible, I'm moving away from inaccurate printed plastic parts and switching to aluminum CNC parts. This will be the second version of the machine. I'll deal with the up-looking camera later)) However, it seems that there were no issues with it in the first version of the machine.

ср, 27 мая 2026 г. в 10:45, Mike Menci <mike....@gmail.com>:

svetozar161

unread,
May 27, 2026, 3:59:51 AM (11 days ago) May 27
to OpenPnP
I bought five different M12 lenses: 3.2mm, 3.6mm, 6mm, 8mm, 12mm, and I'm trying to figure out which one will work. The smallest lens, 3.2mm, has a very strong fisheye effect.
среда, 27 мая 2026 г. в 10:55:58 UTC+3, svetozar161:

Andreas Petter

unread,
May 27, 2026, 4:50:44 AM (11 days ago) May 27
to OpenPnP
I can strongly recommend using Claude or any other strong AI to understand your camera and optics. I had a similar problem with optics and I got a great result from it. The right distance for a given lens, the right angel of view and expected focus depth, wich depends a lot from light and aperture. 
Finally I chose 6mm for down looking and 16mm for upwards. The angel of view is around 15x23 mm which is small but gives good precision and large enough to capture all packages and fiducials. 
Furthermore, I would recommend using a monochrome camera with global shutter. This is by far the most precise option.

Reply all
Reply to author
Forward
0 new messages