Hello,
im building a mpcnc and want to control the spindle speed. The spinle i use is a common 500w china spindle with an potentiometer/0-10v input for speed.
I already found out that the cnc shield only got 5v. No problem with an 5 to 10v board.
But there is a problem , Estlcam got PWM with 8khz, but the 5 to 10v only understand 1-3khz.
Does anyone got a solution for this ? On a german forum i found a solution with an second small board to translate 8khz to 1khz, but i think its not optional.
You can use a transistor to turn a 10V signal on or off at 8kHz with a 5V PWM 8kHz signal. Is that what you want? You might also need a resistor & capacitor on the output to act as a low pass filter to smooth the 10V PWM to a smoothish analog signal, but the speed control may already do that.
The transistor circuit (a high side switching circuit, with a PNP transistor and a pull down resistor) would be cheap, and diy, but you may have better luck with a level shifter that is premade, like this:
It’s delay is measured in nanoseconds, so I am sure it would handle 8kHz.
The problem is, the 5v to 10v board can only work with 1-3khz. But the Ramps delivers 8khz.
If the board gets 2V with 8khz it ouputs 10V, because the board cant handle 8khz.
I got a 5v PWM 8khz Signal and need a 10V analog signal.
What do i need ?
A level shifter from 5V (PWM) to 10V analog.
or
5v 8khz to 5v 3khz
the board which i could use : (i cant include links)