Microscope Camera zeroing

Post technical questions about the Buildbotic Controller here.
Forum rules
No profanity, no gambling, no illegal activity, so sexual or pornographic material.

Posts not related to the Buildbotic CNC Controller are likely to be moved or deleted.
Post Reply
Brotron_Labs
Posts: 2
Joined: Sat Mar 08, 2025 9:34 am

Microscope Camera zeroing

Post by Brotron_Labs » Sun Mar 09, 2025 11:36 am

Hello,
I’m using the Buildbotics controller that Onefinity provided with their original Journeyman CNC. I recently added a USB microscope to help with zeroing on visual features, and I was pleasantly surprised to see that it worked right out of the box! It showed up in my interface and even included a crosshair overlay — great job on that, and thank you!
I had expected I’d need to reroute the feed through separate software with an overlay feature and then send it back as a virtual camera, but the plug-and-play functionality was exactly what I needed.
I do have a couple of questions I’m hoping someone can advise me on:
1. Automatic Offset Compensation: Is there an existing feature — or an easy way to add one — that allows for automatic offset compensation for the camera’s position when setting part placement offsets?
2. Circle Overlay for Hole Finding: Since the crosshair overlay is already available, is there a simple way to replace that with (or add) a small circle overlay for improved accuracy when locating holes?
I’m hoping these features are either already accessible or achievable with a few lines of code.
Thanks so much for your time and for providing a fantastic product! I really appreciate any guidance you can offer.
Image
Image
Image

Brotron_Labs
Posts: 2
Joined: Sat Mar 08, 2025 9:34 am

Re: Microscope Camera zeroing

Post by Brotron_Labs » Tue Mar 11, 2025 3:24 pm

I'm sure this is basic code for most of you but If anyone else didnt know and was curious, you can input a a G92 value for a temporary offset or a G10 for a more permanent one. Works very well so far. I am hitting my target within 1 or 2 thousandths which is good enough for me.

my camera is offset by 39.56 mm on the X and 56.55 mm on the Y, so I line my camera target up and enter

G92 X39.56 Y56.55
G0 X0 Y0

Now the center of my cutter has moved to that position and the offset values are zeroed

I believe if I used G10 instead of G92 then my offsets would always match my camera positions. I am using G92 so when I use my edge finding probe it will still be correct.

Post Reply