PWM connection

erniehatt
Posts: 237
Joined: Thu Nov 03, 2016 8:16 am

PWM connection

Post by erniehatt » Wed Apr 17, 2019 11:02 pm

Hi ,
I will be using a Chinese ER11 spindle, speed can be controlled via a pot, but I would like to run it via PWM, how would I connect this, I tried it on the previous build but was not successful, Any ideas on this would be of great help. Thanks

yisabell
Posts: 15
Joined: Tue Mar 20, 2018 6:23 pm

Re: PWM connection

Post by yisabell » Thu Apr 18, 2019 11:47 pm

There are many article on how to convert PWM to resistance. I would explore how the pot fits in with the controller circuit first.
Here is one example I found on Google.

https://electronics.stackexchange.com/q ... resistance

Good luck.

erniehatt
Posts: 237
Joined: Thu Nov 03, 2016 8:16 am

Re: PWM connection

Post by erniehatt » Fri Apr 19, 2019 10:07 pm

Thanks, I will look into it, though from past experience with it , I may still do it manually. :(

Bertus Kruger
Site Admin
Posts: 1475
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: PWM connection

Post by Bertus Kruger » Mon Apr 22, 2019 7:48 pm

erniehatt wrote:
Wed Apr 17, 2019 11:02 pm
Hi ,
I will be using a Chinese ER11 spindle, speed can be controlled via a pot, but I would like to run it via PWM, how would I connect this, I tried it on the previous build but was not successful, Any ideas on this would be of great help. Thanks
Is the spindle controller PWM capable and at what voltage PWM does it need? Some run at 10v

PWM with GRBL is the standard Spindle pin but you just need to add the 'S' command to set the spindle speed.
S1000 is full speed. S0 is no speed... ;)

erniehatt
Posts: 237
Joined: Thu Nov 03, 2016 8:16 am

Re: PWM connection

Post by erniehatt » Mon Apr 22, 2019 8:29 pm

THanks Bertus, below is the supplied info on the PWM.
I did try this once but got no response from it, but would like too have it working.


Wide voltage PWM DC brush motor speed controller
- Applies to DC12-60V low voltage permanent magnet brushed DC motor
- Operating Voltage: Wide Voltage (DC) DC12V-DC60V (Max 65V)
- Control mode
A: Default potentiometer control (5K-100K),defaults 10K;
B: MACH3 -PWM speed control signal input, external PWM input requirements: level 3.5-12V VPP, frequency 1K-10KHZ, suitable for MACH3 spindle speed control.
- Rated current: 10A, overload and short circuit protection current 12A. (Over-current cut output, overcurrent indicator flashes, the potential light is off, overcurrent lift).
- Soft-start function. Prevent excessive current caused by the motor and power damage (default 0 seconds soft start), 0-5 seconds adjustable.6.Control power: 12V120W, 24V240W, 36V360W, 48V480W, 60V600W7.Dimensions: Length 75mm * Width 75mm * high 42mm 8.Pulse width modulation range: 0% -100%

Bertus Kruger
Site Admin
Posts: 1475
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: PWM connection

Post by Bertus Kruger » Sun Apr 28, 2019 7:24 pm

erniehatt wrote:
Mon Apr 22, 2019 8:29 pm
B: MACH3 -PWM speed control signal input, external PWM input requirements: level 3.5-12V VPP, frequency 1K-10KHZ, suitable for MACH3 spindle speed control.
That is a good sign indicating that it will work with 5V signals.

erniehatt
Posts: 237
Joined: Thu Nov 03, 2016 8:16 am

Re: PWM connection

Post by erniehatt » Mon May 13, 2019 1:32 am

Nice to know Bertus.
I have another question, what is the best steps setting for this, and the moment I have it set at 1/16, but it is very slow and noisy. will lowering the settings, say to 1/2 make any difference. Maybe a belt drive might be better after all.This is a question I have asked on several occasions but never seems to get answered.

Bertus Kruger
Site Admin
Posts: 1475
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: PWM connection

Post by Bertus Kruger » Wed May 15, 2019 7:32 pm

erniehatt wrote:
Mon May 13, 2019 1:32 am
Nice to know Bertus.
I have another question, what is the best steps setting for this, and the moment I have it set at 1/16, but it is very slow and noisy. will lowering the settings, say to 1/2 make any difference. Maybe a belt drive might be better after all.This is a question I have asked on several occasions but never seems to get answered.
It all depends. Moving to 1/2 will speed it up at the cost of torque and accuracy. Depending on your setup speed might be more important than 0.001 accuracy.

erniehatt
Posts: 237
Joined: Thu Nov 03, 2016 8:16 am

Re: PWM connection

Post by erniehatt » Fri May 17, 2019 7:50 am

Thanks Bertus.
I have decided on what I am going to use now, I am going with a single lead rod on both the X and Y axis. and a pair on the Z as the machine will be a fixed gantry design, so most of the weight will be there.To do this I've had to desolder the pads that I had to clone the Y axis, but one of the pads on the A side has come away, will this have any adverse effect on the working.
I will leave it at 1/16 for now , see how it goes. :?
UPdate.
Have the machine working to an extent, And can answer my own question regarding the missing pad, it does have an adverse effect, one side of the Z axis is not working.
Now I assume that I should be able to run a jumper wire, But am not sure from which end to run it from, please enlighten me.
Update2.
Come to think about it, it's probably just jumper across from the X to the Z
Have a few minor things to do, then I will upload a pic of it.

Bertus Kruger
Site Admin
Posts: 1475
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: PWM connection

Post by Bertus Kruger » Sun May 26, 2019 7:33 pm

erniehatt wrote:
Fri May 17, 2019 7:50 am
To do this I've had to desolder the pads that I had to clone the Y axis, but one of the pads on the A side has come away, will this have any adverse effect on the working.
As long as there are no short it will be fine

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests