Dave3Q

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Quiet Cut Spindle On ChiliPeppr with TinyG #8154
    Dave3Q
    Member

    Cmcgrath, thanks for the post.

    Seems tinyg only understands M03, M04, M05.

    I think I have it down now. I could not directly find all the info I needed in one place, so here is my attempt to help future readers. Feel free to comment to correct me where needed.

    The 10 Standard spindle related settings in tinyg as of Tinyg8 firmware ver 0.97 build 440.16 with comments:

    [p1frq] pwm frequency 100 Hz
    I do not see this having any effect.

    [p1csl] pwm cw speed lo 1000 RPM
    [p1csh] pwm cw speed hi 2000 RPM
    These work and should be set to 1000/12000 (match your spindle)

    [p1cpl] pwm cw phase lo 0.125 [0..1]
    not sure if adjusting is required. Seems good at 0.125

    [p1cph] pwm cw phase hi 0.200 [0..1]
    I found I had to go to 1.0 to get a high RPM
    I have no idea what this really means, or if setting to 1.0 is good or bad for the motor/speed controller. I just know it makes my ‘hi’ RPM go up to about where I can get them under potentiometer control.

    [p1wsl] pwm ccw speed lo 1000 RPM
    [p1wsh] pwm ccw speed hi 2000 RPM
    [p1wpl] pwm ccw phase lo 0.125 [0..1]
    [p1wph] pwm ccw phase hi 0.200 [0..1]
    The ccw settings work as above, except that the spindle does not seem to want to rotate in reverse as intended.
    Is there any setting for this?

    [p1pof] pwm phase off 0.100 [0..1].
    This one confused me the most. Not wanting to play with any settings I did not understand, I tried to get the M5 command to turn off my spindle as it should, but would not work with factory settings on the tinyg. I finally found a ref somewhere that setting this to 0 will do it. It does, not sure why this would be factory set to anything other than zero.

    Note, to change parameters type, for example,→ {“p1csh”=10000} sets CW speed to 10,000 rpm

    Also, M05 seems to be the same as M5 for the tinyg. Both are excepted.

    Another thing, I read somewhere that you need to reset the Tinyg after any PWM setting changes. I did not find this. I found all the above changes were seen with the next command issued.

    The command M3 S10000 should turn your spindle on to 10000 rpm with the above settings.

    Funny thing with mine, With the above settings, (10000 rpm on hi) the spindle would not turn on unless I sent the M3 S command with a value of 9325 or lower. Similar results for any p1csh setting. Maybe it has something to do with the p1cph setting. I do not know yet.

    That’s it. Please add or correct if needed.

    Dave.

    in reply to: tinyg no serial port #8098
    Dave3Q
    Member

    Just wanted to say thanks cmcgrath. You got me searching for permissions and found this:

    sudo chmod 666 /dev/ttyUSB0

    Which apparently sets the permissions so I can use the port. I am using Ubuntu, tinyg v8 and coolterm for future fellow ‘access denied 100’ tinyg owners.

Viewing 2 posts - 1 through 2 (of 2 total)