Hi All
John Haine has used a simple contact limit switch method used by many DIY CNC router builders to sense the tool height by placing an insulated contact plate on the bed and lowering the tool until it contacts the plate that works well. If the contact can be kept clear of contamination it will work accurately.
Robert Atkinson mentioned that break contacts are more reliable. I agree and a while back made a small experiment to do research on wire alignment using direct contact (on break of contact). Wire alignment is still used to align large machines. Google Cern wire alignment.
**LINK**
Three images below:
Accuracy, repeatability and low cost were the main objectives. It also had to be able to apply a force sufficient move a small machine slide not just for contact testing.
The device comprises two 25mm sq BMS levers pivoting on short spring steel flexures, a flexure also drives the plunger located in the reamed round tube. the lever ratio is 10:1 The drive is a A 400 count per rev half stepped step motor driving a 1.25mm screw via a timing 4:1 ratio timing belt. Note the substantial spring that forces the levers apart and the way the motor mount is attached to the semicircular pivot. this maintains correct alignment as the levers move. yes the timing belt is too long but it was in my stock!
The levers provide 10:1 primary reduction closest to the measuring point, with negligible backlash. I used this mechanical system hand driven, no step motor or timing belt on a grinder head allowing very accurate wheel positioning to 0.0001” and it was repeatable.
The control system (Created by my mate Leo) is a baby Arduino, a stepper driver and a small touch panel. Many thanks due. The parts were remarkably inexpensive.
A number of tests were done; the test shown was a piece of stretched high tensile carbon steel piano wire that contacted a stainless steel pin. Not ideal, gold would no doubt be better but I wanted to see what simpler materials could do. The wire and contact pin was wiped clean. Apologies for the rough setup but it did the job and worked.
The control system was programmed to move the pin slowly into the stretched wire at various speeds then back off until contact was lost. The process was repeated thousands of times.
Overall it behaved as planned, the dial indicator needle constantly moving to the same position at each measurement. around 3 tenth's accuracy with a few outliers caused by mechanical sticking I plan to use this system in the future, a few improvements are planned .
Regards
John
![](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
![](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
![](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)