Comparatron Demonstration - DIY digital optical comparator

Поділитися
Вставка
  • Опубліковано 24 жов 2022
  • github.com/theserialhobbyist/...
    www.instructables.com/Compara...
    cameroncoward.com/comparatron...
    Comparatron is a DIY digital optical comparator for taking precise measurements of physical objects, useful for reverse-engineering.
  • Наука та технологія

КОМЕНТАРІ • 21

  • @john_t_england
    @john_t_england Рік тому +2

    Very cool project! I might try this out. A couple of things came to mind that might be interesting to try:
    - Using OpenCV to quickly capture multiple keypoints (aptly named for the demo) along the contour of the object. A calibration routine could convert the pixel space to world space so you wouldn't have to rely on the movements of the 3D printer for the measurement. With enough points, you could likely avoid needing to sketch in curves and go straight to automating the edge creation.
    - Convert mouse left-click drags on the image view to printer movements so you could avoid having to jog around with arrows.

    • @serialhobbyism_official
      @serialhobbyism_official  Рік тому +2

      Thanks! Something like that would be awesome, but I think it is beyond my programming capability. Luckily it is all open source, so maybe a better programmer can make that happen!
      The mouse click idea is interesting and I think I could probably figure out how to do it. I'll had that to my list of improvements to make when I have time, thanks!

  • @ladedk
    @ladedk Рік тому +1

    Came here from Hackaday. This is awesome. One use that immediately cones to mind is tracing objects for cnc cuttingfoam organizers ("kaizen foam").

  • @natewilburn301
    @natewilburn301 10 місяців тому

    Excellent Work! You've inspired me too make one of my own using an Ender 3 for the control

  • @jamesblackwell5141
    @jamesblackwell5141 Рік тому +2

    Saw this on Hackaday! Great project. .

  • @MarinusMakesStuff
    @MarinusMakesStuff Рік тому +2

    Some improvements that come to mind: use 0.9 degree stepper motors with 1/256 microstepping interpolation with TMC2209 drivers. Add geared transmission to further increase the resolution.
    With OpenCV you can detect outlines automatically. I suggest defining an area that encompasses the object at the start of each scan and let the camera make passes in x and y grid lines, looking for the contrast between the white backgroundvand the object.
    Then move to Rhino's Grasshopper and make a script in there that automatically looks for the closest points in the point cloud data to connect the dots.

    • @serialhobbyism_official
      @serialhobbyism_official  Рік тому

      Great ideas! If I had built the machine from scratch, I definitely would have gone a similar route for the hardware. But in this case, I already had the pen plotter on had and so just used that.

    • @avongil
      @avongil Рік тому

      yeah, this has lots of potential. A way to speed it up would be to take pics of the entire bed and stitch them together. Just like the commercial ($60K) units do.

  • @avongil
    @avongil Рік тому

    That is a great idea. Love it. Just sold my Keyence IM 7020 and looking for something a tad more affordable!

  • @mikeissweet
    @mikeissweet Рік тому +2

    This would be amazing with an algorithm that could follow the outline of objects

    • @serialhobbyism_official
      @serialhobbyism_official  Рік тому +2

      That would be cool, but someone smarter than me would have to figure out how to program that!

    • @MarinusMakesStuff
      @MarinusMakesStuff Рік тому +1

      It already exists, it's when you take a photo with a macro lens from far away, apply a mask and then trace the mask in illustrator with the image tracer. I do it all the time. The only thing you need to do right is to make sure you use a good lens without barrel distortion, make sure it is aimed straight down and get the lighting around the object so you don't trace shadows.
      It's quite easy but most people don't manage because they don't go 'all the way' when trying this.
      The big benefit of using the machine in the video, is that the dimensional accuracy is better out of the box. But I still prefer the camera method since the camera can also be used for other jobs (multifunctional) and it takes less space.

    • @serialhobbyism_official
      @serialhobbyism_official  Рік тому

      @@MarinusMakesStuff Yeah, I did that for years, but always ended up frustrated (which is why I built this). Fighting lens distortion, trying to get the shot perfectly perpendicular, having to take the shot from far away, etc. all added up to me wanting another solution.

  • @k4kfh
    @k4kfh Рік тому +1

    This is incredible! I would really love to see this expanded to work with lots of different motion systems. A 3D printer, CNC router, CNC mill, etc are all basically the same 3 axis motion system you've got here.

    • @serialhobbyism_official
      @serialhobbyism_official  Рік тому +2

      Thank you! I actually almost used a 3D printer, but I had the pen plotter collecting dust anyway. It should work work with anything that accepts Grbl g-code, so there is a lot of flexibility there.

    • @k4kfh
      @k4kfh Рік тому

      @@serialhobbyism_official Oh that makes sense, that opens up a lot of options.
      I'd be curious to see what the limitations on accuracy are - like if you put a 123 block or gauge block on it and trace the shape, how square and dimensionally accurate is the resulting DWG compared to a micrometer reading? Those would be some very interesting numbers with such an inexpensive motion system.

    • @serialhobbyism_official
      @serialhobbyism_official  Рік тому

      @@k4kfh yeah, I need to do some testing to find out. So far I’ve only tested linear repeatability. I’m actually working on a more rigid microscope mount to improve that. I should grab a 123 block to check that everything is square and true, good idea!

  • @ThisIsToolman
    @ThisIsToolman 6 місяців тому

    Interessting. I didn't see where you set the scale of your trace.

  • @scruffy3121
    @scruffy3121 Рік тому

    Would be great to use a game controller as a input. For Navigation and taking points.