See also announcements under Discussions.
For CNC machines like VMC (Vertical Machining Center) a regular task is to find the center or an edge of a workpiece as a reference for the following machining. However, this can be extremely annoying to do manually by moving the X, Y and Z axis. Professional machinists use so call 3D Touch Probe or Edge Finder to do this automatically. For hobbyists and semi-professionals these Touch Probes are way too expensive.
There are a lot of examples where people build a DIY 3D Touch Probe, that is basically nothing more than a switch that is connects by a wire to the CNC controller. For machines that make use of an ATC (Automatic Tool Changer) like a carousel this is not suitable, because of the wire from the probe to the CNC controller. In order to make use of a completely automated probing a wireless connection is required. In this project I share my results for a WLAN UDP based 3D Touch Probe consisting of the Probe and a Basestation. While the Probe is working by a recharable battery and a ESP32 microcontroller, the Basestation also hosts a ESP32 microcontroller and is powered by a 5-24V power supply and is connected to the CNC controller to hand over e.g. the current switch state of the 3D Touch Probe. Although the electronics suits best for the provided mechanics, it is basically possible to use the code and the electronics for any 3D-Touch Probe.
The following picture shows the 3D-Touch-Probe in a ATC tool holder BT30. The round connector is the magnetic charging connector for the internal battery. The transparent middle part is used to show serveral states by LEDs, e.g. power on, WLAN connected, touch probe closed/open, battery low, general error etc. The videos in the media area seem not to work online, you might need to download them first. I did not publised all information, because it take a lot of time and I am not sure if there is any interest. So, contact me (h.kalte@gmx.de) and I will answer all you questions.



-
X, Y and Z detection
-
Wireless communication based on WIFI, especially suitable for automatic toolchanger
-
specifically designe "hardware deep sleep"
-
Client Wake up by:
- 3D touch action
- Automatic wake up by disconnecting charging voltage (charger in tool magazin)
-
Client Sleep by:
- Sleep by CNC controller interaction
- Sleep if Basestation is not available
- Sleep by watchdog (not used for a certain time)
- Sleep by charging connected (charger in tool magazin)
-
Battery voltage monitoring
-
WLAN signal strength monitoring
-
Client and Server alive monitoring
-
Easy UART Debug mode for detailed serial monitor print outs
-
Optional webserver
-
Optional round trip delay measurement
-
Easy recharging of the client battery/Lipo by on board charging chip
-
Many parameters for highly adaptability and wide range of features (see header file)
-
Many more
Heiko Kalte, h.kalte@gmx.de
If this project help you reduce time to develop, you can give me a cup of coffee :)
This project is licensed under the GNU General Public License v3.0 License - see the LICENSE.md file for details