Marc F. Lupien
05-26-2016, 04:16 PM
Hi everyone,
I want to share the installation of a USB endoscope camera on my Desktop to aid in setting X,Y coordinates for my projects. Maybe some of this can be helpful to others.
I bought the camera here : http://www.banggood.com/Wholesale-5M-USB-Borescope-Endoscope-Waterproof-Inspection-Snake-Tube-Video-Camera-Lens-p-43623.html
The camera is easy to mount since it's a nice metalic cylinder. Look at the pictures to see how I mounted it. Some improvement possible there ;-)
After aligning it to be parallel to the router, I computed the offset from the router bit's center and createed a new custom script to move the CNC on the camera's position and zero X and Y there.
The only real special thing about this installation is that I wrote a small program to display the camera's image with a crosshair in the middle in order to use it to locate a specific position. I had difficulty finding an existing software so I wrote my own. It's basic but it works (the image is refreshed only once per second from the webcam). If anyone wants to get a copy of it (along with the source code), just email me at marclupien@hotmail.com.
From the first tests I managed to do, it seems to be precise +/- 0.1mm
I want to share the installation of a USB endoscope camera on my Desktop to aid in setting X,Y coordinates for my projects. Maybe some of this can be helpful to others.
I bought the camera here : http://www.banggood.com/Wholesale-5M-USB-Borescope-Endoscope-Waterproof-Inspection-Snake-Tube-Video-Camera-Lens-p-43623.html
The camera is easy to mount since it's a nice metalic cylinder. Look at the pictures to see how I mounted it. Some improvement possible there ;-)
After aligning it to be parallel to the router, I computed the offset from the router bit's center and createed a new custom script to move the CNC on the camera's position and zero X and Y there.
The only real special thing about this installation is that I wrote a small program to display the camera's image with a crosshair in the middle in order to use it to locate a specific position. I had difficulty finding an existing software so I wrote my own. It's basic but it works (the image is refreshed only once per second from the webcam). If anyone wants to get a copy of it (along with the source code), just email me at marclupien@hotmail.com.
From the first tests I managed to do, it seems to be precise +/- 0.1mm