bigtreetech / HermitCrab

68 stars 11 forks source link

CAN version laser setup #21

Closed yzheka closed 3 months ago

yzheka commented 1 year ago

Hello. Can someone provide me instructions on how to setup diode laser? I found klipper docs about this. I connected laser to PA10 because it is not used by extruder tool. but when I add output pin for controlling laser power (as described in config/sample-pwm-tool.cfg) I get error in klipper Firmware constant 'PWM_MAX' not found Quick search gave that hardware pwm is not supported by mcu (results were for lpc mcu's). without hardware_pwm: true the laser is not in sync with moves, too slow

kbesson commented 3 months ago

Hello,

I'm currently planning a similar setup, laser with HermitCrab.

Did you find a solution ?

Thanks !

yzheka commented 3 months ago

Yes, is working fine if you set higher pwm frequency