This repository has been archived by the owner on Jan 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Firmware: Smoothie Dual Pin Config (PWM and FIRE pins)
Peter van der Walt edited this page Jul 21, 2016
·
2 revisions
This config sets up Smoothieware with a dual pin config:
- A PWM pin (1.23) to make a PWM signal for a IN/POWER signal
- A SWITCH module on pin 0.26 to use for TH/TL/FIRE
# Laser module configuration
laser_module_enable true # Whether to activate the laser module at all. All configuration is ignored if false.
laser_module_pin 1.23 # pin will be PWMed to control the laser (P2.4 is fan fet on azteeg)
laser_module_max_power 1.0 # this is the maximum duty cycle that will be applied to the laser
laser_module_tickle_power 0.0 # this duty cycle for travel moves to keep the laser active without actually burning
laser_module_pwm_period 20 # sets the pwm frequency as the period in microseconds
switch.laserfire.enable true #
switch.laserfire.output_pin 0.26!^ # connect to laser PSU fire (!^ if to active low, !v if to active high)
switch.laserfire.output_type digital #
switch.laserfire.input_on_command M3 # fire laser
switch.laserfire.input_off_command M5 # laser off
For support: Please join the Google+ Community LaserWeb