My Stoopid Stuff
  • Home
  • Projects
  • Blog
  • Lec'tronics
  • Links
  • CNC
  • Quick Recipes
  • 3D Printer Tips
  • Voron 2.4

OV5640 USB WebCam Review

10/7/2022

0 Comments

 
My search for the perfect "NozzleCam" for my 3D printers continues... but I could be close.  The postman delivered a OV5640 USB Webcam which I previously ordered from AliExpress.  I had a feeling the model I purchased could be a problem, since it has autofocus.  In any case I did some tests with it and it does work with the Raspberry Pi, and the minimum distance where it can focus on an object is about 40mm in front of the lens.  The autofocus is pretty slow, hunting and missing a lot, and I think it will have a problem as a nozzle camera.  Further, the driver does not support disabling the autofocus and manually setting the focus (some of them do).  After testing, I ordered another fixed focus model which will be several weeks to arrive.

​This highest resolution at which this camera supports 30 fps is 1920x1080 (which I think will be fine).  The maximum resolution is 2592x1944 at 15 fps.

​Below is the output of "v4l2-ctl --all --device /dev/video0" the area highlighted in white is where it would show if the camera supports any focus control options (but there are none listed).  It's a bit of a bummer since this driver seems to be the same used for most of the modular type USB webcams I have found, even the 4k models.  Hopefully a fixed focus camera will work better.
Picture
In the pics below, you will see my very poor setup, since I just wanted to test the closest distance the object could be, and still be in focus (about 40mm). The other pics show the module and the cable, which was included.  The module is quite small and compact and gets warm (while the camera gets hot).  I would probably try and heat sink the camera, and possibly the board if using it for a nozzle camera.

I will update this post again, with hopefully a better test setup, when I get the fixed focus camera (which is also an OV6540).
I set up a temporary test on my printer to get a more real world pic of the nozzle with this camera.  It seems to work, and I think if I can get the fixed focus version (which has a slightly narrower field of view), it may work.  If not I will test a 100° camera.  Also yes, this nozzle is very dirty, I am gonna clean it now and fix the boot (to boot).  This is positioned roughly where my old endoscope camera was positioned but in line with the BL-touch probe (so it is far enough away from the nozzle that it should not get overheated hopefully).  The camera will need to be moved up and angled downward more to work properly, if I ran the printer like this the camera would hit the bed before the nozzle (this is only a test).  The image quality is not spectacular, but it will do.
Picture
Yeah I know, fellow OCD'ers, this nozzle is screaming out to be cleaned, don't worry it will be.
0 Comments



Leave a Reply.

    Picture

    Stoopid Me

    Welcome to my Stoopid corner of teh Internet.  It's mostly gonna be 3D printing stuff, but I also post some recipes, projects, and the occasional rant here as well.  More Stoopid stuff is updated regularly.

    I recently joined the Amazon Associate program, so some of the links on this site are Amazon affiliate links. This means that, at zero cost to you, I will earn an affiliate commission if you click through the link and finalize a purchase.  This will help to support this site, and pay for more Stoopid Stuff.

    Archives

    March 2023
    February 2023
    January 2023
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    April 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    November 2017
    September 2017
    August 2017
    June 2017
    December 2016
    October 2016
    September 2016
    July 2016
    March 2016
    February 2016
    September 2015
    August 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    November 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    January 2013
    December 2012
    November 2012
    October 2012
    September 2012
    August 2012

    Categories

    All

    RSS Feed

      Contact Form (Name is optional)

    Submit
Powered by Create your own unique website with customizable templates.