Basically I had set my Max x and y to 200 and when I homed it would home but change the x and y to -200, -200 and so the laser would travel 200 x and 200 y plus the additional travel to the actual image since it was in the positive space. When I first uploaded GRBL 1.1f the default was for a CNC machine and apparently the homed position is in negative not 0,0. The engraving I did was set to the lowest setting. The ammeter still works and you can still change the power with the potentiometer. Since there is no residual voltage the laser only fires when the signal from the CNC shield tells it to. I also had to change out the TEST SWITCH button from a momentary to a toggle since it would only fire with it pushed down. I ended up connecting a ground from the CNC shield to the potentiometer GND and removing the 5V wire connected to the potentiometer and connecting my Z+ pin to it so now the potentiometer ranges the voltage from 0 to whatever signal I input from the CNC shield. The k40 I bought came with a potentiometer that ranges the voltage 0-5v so I thought I would just connect the Z+ pin into the pin labeled IN on the laser power supply but I soon found out that the IN pin outputs a 1.7v voltage when the potentiometer was disconnected so it would still be on even when the signal was off. At first the signal was a pwm but when I loaded grbl 1.1f I enabled laser mode which changed it into a 0-5v signal. I bought my CNC shield on Amazon and when tested it I found that the Z+ end stop pin was outputting the signal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |