the error (communication timeout - reset send buffer block repeater host) only appears when I put the (#define CUSTOM_EVENTS) Configuration.h, when I do not put the repeat host works
I changed from output 0 to 15 on line 35 of CustomEvents.h, output 15 is set to 5v (#define EXT_LASER_PIN 0 // PIN Number from PCA9685) (#define EXT_LASER_PIN 15 // PIN Number from PCA9685)
BTW : Laser Settings in configuration .h (beginning at Line 213 in your configuration.h)
#define SUPPORT_LASER 1 #define LASER_PIN -1 <------ Keep , as pin is set in custom events #define LASER_ON_HIGH 1 <---- change to 0 if laser is on with M5 #define LASER_WARMUP_TIME 0 #define LASER_PWM_MAX 255 <---- set to 4095 #define LASER_WATT 2 <---- Change to value of your Laser
and tip for future :
READ COMMENTS in files..... all your Problems with laser were well commented ;-)
Comments
that is a sign that the Hardware is not running correct !!!
so check what i wrote in last two answers
so please generate github account and upload your complete Firmware so i´ll take a look a it
alternatively just post your configuration.h and i´ll try to Setup a package this weekend and post it on my github
btw, what´s the result of i2c scanner?
1 . Change configuration.h
delete the entry in line 22
#define LASER_PWM_MAX 4095
(you have to set it in Line 217)
Change
#define LASER_PWM_MAX 255 to
#define LASER_PWM_MAX 4095
2. Gcode
M03 Switches laser on , m05 off
to set PWM value You have to use the M03 followed by S value (value from 0 to 4095)
so code can be:
M452
M3 S410 // set Pwm about 10%
G1 X50 Y50 F400
G0 x0 y0 // Laser off during G0 move
M3 S820 // set PWM about 20%
G1 X0 Y100 F400
M5 //Laser off
G1 x0 y0 //(g1 move with laser off)
BTW : Laser Settings in configuration .h (beginning at Line 213 in your configuration.h)
#define SUPPORT_LASER 1
#define LASER_PIN -1 <------ Keep , as pin is set in custom events
#define LASER_ON_HIGH 1 <---- change to 0 if laser is on with M5
#define LASER_WARMUP_TIME 0
#define LASER_PWM_MAX 255 <---- set to 4095
#define LASER_WATT 2 <---- Change to value of your Laser
and tip for future :
READ COMMENTS in files..... all your Problems with laser were well commented ;-)