Automated Cnc Miller and Arduino sensors

About this project, I plan on making a Cnc Miller that reads the surface of an object and makes holes or draw the same parameter on another object surface, does anybody know wich kind of sensor would be best for this project?

Can you give some details about what you mean "reads the surface of an object". That means nothing to me. Does it mean the surface texture?

Paul

Sounds like he’s trying to make a CNC version of a pantograph.

Paul_KD7HB:
Can you give some details about what you mean "reads the surface of an object". That means nothing to me. Does it mean the surface texture?

Paul

Trying to create something similar to this kind of machine reading the surface of small objects and copying: Youtube Video

Rp201:
Trying to create something similar to this kind of machine reading the surface of small objects and copying: Youtube Video

Your use of "reading the surface" is confusing. The video shows using a cnc machine and program to step Y one step and then step X until the sensor makes electrical contact with the metal sample. That is just a switch going off until it makes contact, where it goes on.

Noting the Y steps are always returned to Zero, which is the left edge of the sample, then steps one step to the right, then again. Each time the switch is tested and is o or off. Suddenly the switch is on and the X distance, in steps, from the base line is remembered. This whole program is repeated until there are no more Y steps to take.

You should be able to write a simple Arduino program to do this.

The storage problem for all the data points needs to be solved, but you can figure this out.

Paul