October 1, 2018 at 5:56 am #70789
I am using Mach3 to control my CNC. mach3 has plugins which can extend its features.
one plugin is the camera probe which can be used to zero the X and Y axis.
the offset from the camera centre to the spindle centre must be established.
I designed and printed a thingy which holds a cheap endoscope camera (7mm dia) the camera sits inside one of the Z axis pipes.
camera mounted in the Z axis rail
camera light on.October 1, 2018 at 6:21 am #70792
That is great! We had a PCB CNC machine that had a computer vision/camera solution for finding some registration points when you flipped the board. It worked pretty well.October 1, 2018 at 7:12 am #70795
unfortunately there isn’t any fancy fiducial recognition on this set up.October 3, 2018 at 5:06 am #70919
Heh, I was thinking the same thing.October 3, 2018 at 6:14 am #70924
Very cool. Can you use it to home Z-axis as well? By focus?October 5, 2018 at 7:14 am #71099
no i don’t think it would work. the camera has a long focal length. defiantly wouldn’t get the <0.1mm required.
I have a contact auto zero z probe for thatDecember 23, 2018 at 9:28 am #80427
Id like to try Mach3 out. What control board are you using??January 2, 2019 at 4:21 am #81557
Id like to try Mach3 out. What control board are you using??
I’ve have a LPT port breakout board and KL-4030 stepper drivers.
I’ve had the setup for 10+years.. it was previously on a different CNC
If I was buying everything now i would go with a USB breakout as most PCs now don’t have the LPT port, the LPT out only works with 32bit windows and i don’t think it works well with anything newer than windows 7.July 10, 2019 at 7:00 am #105769
Would you mind sharing the design file, if you have it? I’m curious as to how you executed it, as I’m looking to do exactly the same thing (albeit with a different camera). Thanks!July 10, 2019 at 7:43 am #105771
This would be awesome with an octoprint plugin.
What if you mounted a laser pointer crossing the field of view at an angle? Then you could estimate Z from the location of the spot within the image.July 10, 2019 at 8:15 am #105772
I’m using cnc.js (for cnc stuff; using octoprint for 3d printing, but I don’t print using the mpcnc), it already has the webcam plugin (physical or network stream) including the ability to overlay a cross. Very handy.
I’ve been using a camera to zero from the beginning, and I modified the Dewalt tool mount to accomodate the camera. However it means that I need to modify any mount I want to use, and it takes more space around the tool. Fitting in the pipe is brilliant.July 10, 2019 at 8:38 am #105775
I should have elaborated, it would be cool if there were a way to automatically register the workpiece based on the image stream. Maybe print some aruco tags on stickers and it should be possible to get precise positioning, at least in x and y.
I havent looked at cnc.js and whether it is easy to add extensions, but octoprint appears to have a plugin framework that would allow someone (me) to maybe implement something like this…July 10, 2019 at 9:03 am #105788
CNC.js also has the ability to add plugins, although it’s a bit less automatic than octoprint.
There are also pendants, which also look sort of like plugins to me :).
It seems to me like there are at least two issues with that:
1) What features are you going to use for the 0,0? The lower left corner of a workpiece would be pretty good, but I am often cutting things out, so a little inside the corner is my preference. But then some designs might be the center or the upper right.
2) Once you know what you’re looking for, being able to find it (assuming you’re starting close) shouldn’t be too hard from a CV standpoint, but you need good conditions for CV (good lighting, focus, exposure, some actual features). I don’t think a sticker would be necessary, unless that’s what you’re planning on using to determine the 0,0.
I think it’s cool, but I’m not sure it’s that useful. There was a PCB milling machine at my old work that had a camera system. It had a vac table for clamps and it would look for each corner and adjust for skew. I don’t remember how it determined Z.July 10, 2019 at 12:18 pm #105815
Esko’s machines can use fiducials. With the right hardware it can print onto adhesive vinyl on one machine then move to another machine that registers the markers, then cuts out the sticker shapes.July 11, 2019 at 6:48 am #105852
Esko’s machines can use fiducials. With the right hardware it can print onto adhesive vinyl on one machine then move to another machine that registers the markers, then cuts out the sticker shapes.
The laser engraver I have at work has a camera on the laser head that can register markers and skew/rotate cut jobs based on them. Very useful for cutting out printed media.July 11, 2019 at 7:00 am #105854
Lightburn has an option for a camera that is useful. You can put a work piece on the table top in any orientation, see it with the camera, overlay that image with whatever Lightburn image you want to burn on, rotate or align however you want it and laser away. I mounted a simple netcam over my MPCNC that works very well.July 11, 2019 at 12:46 pm #105871
You must be logged in to reply to this topic.