Finished my BIG OX build with a 400w spindle, TinyG and speed controller (kit from smw3d.com & more)
There are multiple settings to get the TinyG setup so that when you give an "M3S5000" the spindle actually does 5000 RPMs..
To save you LOTS of grief, the following settings will hit the correct RPMs for the s5000 to s12000 settings:
(ccw is NOT included)

[p1frq] pwm frequency 15000 Hz
[p1csl] pwm cw speed lo 5600 RPM
[p1csh] pwm cw speed hi 14000 RPM
[p1cpl] pwm cw phase lo 0.130 [0..1]
[p1cph] pwm cw phase hi 0.360 [0..1]

[p1pof] pwm phase off 0.000 [0..1]

The following table shows the voltage for each RPM (when using the pot) and the actual RPM for the "S" settings:
"s" voltage actual RPM
05000 18.49056604 5065
06000 22.18867925 5748
07000 25.88679245 6998
08000 29.58490566 8036
09000 33.28301887 9087
10000 36.98113208 10024
11000 40.67924528 11056
12000 44.37735849 11966.

>> Started looking at the CCW settings but they seem to be unique...

Walt

Similar Threads: