CNC Milling Machine

Hey man,

Let’s see if we can get you sorted out. Is it a wiring issue? Like the Hal meter doesn’t show the signal changing when you press the tool touch off plate?

The hal meter shows the change but the mill doesn’t respond. This thing is really getting to me.

What LinuxCNC GUI are you using? Probebasic?

Just double checking, the Hal meter changed states for the probe-in signal on the hal meter? And not just the pin signal?

I’m using probe basic. The probe and tool setter trigger the probe in signal in the hal meter but linuxcnc doesn’t recognize the tool setter when i try to measure a tool.

Ok it might be a problem with ProbeBasic.

Are you using the “quick start install” (i.e. stable) version of probe basic found here: ?

The development version always has weird bugs. I found that out the hard way.

Unfortunately, I probably can’t be much help if its an issue with your installation of ProbeBasic because I have not come across that problem. However, I strongly recommend chatting with the developers over on discord ( They are super helpful. Please let me know what the solution was though.

do you have a write or video of the software side of your install? I have the same probe and tool setter as you, i’m sure I just missed something.

Yes did you scroll down the project page? There is text on how I setup the hal file. After I had the hal and ini file configured to the my mesa board and machine specifications, I downloaded ProbeBasic and everything worked without trouble (after trouble shooting a tool length issue with the ProbeBasic team, which was an error in their code which was promptly fixed).

What wad the issue with tool length measurement? That’s the same problem I’m having

The calculation for the tool height was wrong. If the end mill was actually 50mm long it was reporting something crazy like 500mm. But this issue was corrected. For ProbeBasic to calculate tool lengths you need to touch off the spindle nose so it knows the distance of the spindle to the touch plate (let’s call this distance S). In ProbeBasic S is known as the spindle zero value. Then when you touch off a tool it calculates how far in the Z direction it moved (let’s call this distance M). The tool length (L) will be equal to S - M.

Is that helpful at all? Maybe if you elaborated further on your issue I could be more help.

The system doesn’t measure the tool, it crashes every time.

Is there an order to follow? I managed to get 1 tool measured but I can’t repeat it.

Hey man,

Great build on the CNC. Been wanting to do a project like this and your detailed video gave me the motivation!

I’m wondering if you have a diagram for your mains power connections. Did you use 220 for the controls and components in the cabinet or 110? It looks like all your recommended hardware can run on either. Any benefits or drawbacks on using one or the other?


I should put together a small diagram for connecting all the components to power…

In my garage I only have one 220V (@ 30A) connection, which I needed for the spindle. So I had to go with 110V. If I had spare 220V outlets then I would have used 220V because you can use smaller diameter wires at higher voltages and still deliver the same amount of power.

Edit: Added amperage of my single outlet

I too used 220 for my system but I used it for all systems. I have a 50 amp plug in my shop so I was able to use just one. My axis drives are 220 (not dc like many are) as well as the control power supply. I would recommend that if you go this route to pull a neutral wire along with the 220 so that you can run something off 110 if needed. I don’t have a drawing of my setup, but it is pretty simple. 220 enters the cabinet and goes through a magnetic disconnect. From there the power is split to separate fuses that are connected to each drive and power supply. There is a picture earlier in my posts of my control cabinet. This picture is before it was complete however. For instance, the fuses have not been installed.

1 Like

@TCandee Any luck with the power draw bar?

yes. it is fully functional. I thought I emailed you a video??? cant post anything except pictures on this forum unfortunately.

Thanks for the info guys!

I need to pull cable to get 220 to my garage for the motor. I’ll use 220 for everything I can.

What pulses-per-revolution did you choose for your drivers?

I’m planning on using my mill to make the small aluminum parts I need for building drones. Specifically the clamps used to attach carbon-fiber rods to the main body.

If you’ve never messed around with drones, I think it would be right up your alley for you and your channel. I use pixhawk hardware and ardupilot software. I only build fixed-wing mapping drones for agriculture but ardupilot can be used for rovers, submarines, and about anything else you can think of.

Would love to see some pics!

Has anyone seen a successful homemade automatic tool changer around the interwebs?

Try this link. Crappy video but it’s the best I could do while videoing with one hand.

Air operated 4x4x1 cylinder. Actuated with a 24vdc air solenoid. Could be operated through gcode if the right control setup is implemented.

I have seen ATC’s in action on similar machines. The controls and gcode requirements are beyond my current knowledge set. I actually have the ATC built for another machine but my lack of knowledge and limitations of my controls stopped the project. The control limitations have recently been upgraded by the manufacturer so I may revisit this project.

That’s great!!

Definitely on my list of most-wanted upgrades.