Close

MINI-CNC MOD BOARD DESIGN

A project log for 3040 CNC Milling Machine Mods

Upgrades to 3040Z-DQ

johnnyJohnny 07/24/2015 at 22:550 Comments

So, I started working on designing a board to achieve spindle speed control in software, and also be able to turn it on/off. The spindle speed control works by passing the PWM through a low pass filter, then reading the DC voltage produced on an analog pin of a PIC micro. The micro then reads the value (most significant 7-bit's of 10 bits), and sends it to a digital pot. The digital pot contains an 8-bit data register (16-bit really with command byte) and is 10K and we need 5K, so that's why we are grabbing 7 bits (need 8 bits and grabbing 7-bits divides the value in half). The last log explains why I need to convert PWM to a resistive value (voltage divider). I've also added a feature for the Z auto level probe on the board. The issue there is, my system has been configured to work with Normally Closed limit switches and the act of probing, is a Normally Open operation. So I've made a little circuit to make probing mimic a NC switch. Some parts should arrive this week. I can then make sure it's working 100% before sending the gerber files to seeed studio.

Discussions