MM/Pixel Calibration
This next step calibrates the relationship between pixels and millimeters to make our cameras more accurate.
Top Camera Calibration
In this step, we will calibrate the mm/pixels for the Top Camera. This requires us to set the dimensions and use a virtual bounding box to outline and measure one of the squares on the datum board, known as a golden guideline square. This allows us to calibrate the top camera’s Units per pixel, giving us accurate top camera movement.
-
Select the Top Camera.
-
Scroll down to the
Units Per Pixel
section. -
Set the Object Dimensions.
-
Locate a calibration square to be measured.
- Jog the machine until a golden guideline square is fully visible in the top camera view. The square should be roughly centered in the camera's reticles. The whole square must be visible. If necessary, use the scroll wheel to zoom out and ensure the entire square is visible.
- In
Machine Controls
, you can adjust theDistance Slider
to jog in larger or smaller increments when locating the golden guideline square.
-
Align and Measure.
- locate and click the
Measure
button.
- Click and drag in the camera view to create a bounding box. Align it with the center of the golden guideline square to align with the lines along its edge. The square is exactly 5mm x 5mm.
Squareness
Don't worry if the box's square doesn't perfectly align with the camera image. Any slight skew will be adjusted for during jobs with fiducial calibration.
- locate and click the
-
Finalize Calibration.
-
Confirm Top Camera Calibration.
Bottom Camera Calibration
The following steps will calibrate the mm/pixels for the Bottom Camera. This requires us to set the dimensions and use a virtual bounding box to outline the nozzle tip. This allows us to calibrate the bottom camera’s Units per pixel, giving us accurate bottom camera movement.
-
Home your machine using the "Home" button.
- The LumenPnP will perform the homing process and position the top camera over the homing fiducial. In future steps, the homing sequence will also scan the nozzle tips after calibrating the homing fiducial, but for now, it should only scan the homing fiducial.
-
Select the bottom Camera.
- Navigate to
Machine Setup > Cameras > OpenPnPCaptureCamera Bottom
- Navigate to
-
Access the Position Tab.
-
Save the 31.500 Z Position
-
Select Nozzle: N2 (Right Nozzle).
-
Align Nozzle Tip Over the Bottom Camera.
- In the
Position Tab
, click on the button to bring the nozzle tip over the bottom camera. This will jog the Nozzle: N2 (right toolhead) to be roughly over the bottom camera.
- In
Machine Controls
, Use the arrows to center the nozzle tip in the bottom camera feed.
Fine-Tuning Focus
The bottom camera’s focus is pre-adjusted before shipping, but you can fine-tune it if needed. loosen the set-screw in the side and slightly rotate the bottom camera lens until the image appears sharp.
- In the
-
Go to the
General Configuration
tab. -
Scroll down to the
Units Per Pixel
section. -
Set the Object Dimensions
-
Align and Measure
-
Finalize Bottom Camera Calibration
-
Confirm Bottom Camera Calibration.
- First, ensure your bottom camera view is fully zoomed out.
- Click and drag the center reticle (located in the middle of the camera feed) to the edge of the nozzle tip and then back to the center of the tip.
- The Bottom Camera should now be centered on the nozzle tip again.
- If it's inaccurate, repeat the bottom camera calibration and confirm you are using the larger N24 nozzle tip on Nozzle: N2 (right toolhead).
Next Steps
Next is Nozzle Offset Calibration.