LaserWeb for EggBot: I slightly modified Grbl to be used with a servo instead

LaserWeb for EggBot: I slightly modified Grbl to be used with a servo instead of a spindle. Now we can use LW3 or LW4 for the EggBot :slight_smile:

Coool :slight_smile:

M5 M5 M5 why isn’t it stopping?! :slight_smile:

Neat. Mind sharing what you changed in GRBL? I am working on an egg bot but didn’t even think about using LW to send gcode.

@Arion_McCartney I already sent @Sonny_Jeon a pull request (see https://github.com/gnea/grbl/pulls). Hope my coding skills are good enough.

You could also use my grbl-servo repo at https://github.com/cprezzi/grbl-servo

I named my eggbot “Woody Woodpecker” :wink:

@cprezzi ​ Thanks for the info

Now i want to make one even more.

Ok. Finally a reason to test LW after just lurking for a while :wink:

This might also be usable for a pancake bot.

@Brandon_Jackson_MrJa Right, it should be usable for all types of servo driven pen plotters.

@cprezzi which pins are you using for the servo? I have a CNC shield and am not sure where to connect the servo. Thanks for your help.

@Dushyant_Ahuja It depends if your CNC-shield is for Grbl 0.8 or 0.9. If it’s 0.8, use one of the Z-endstop pins for the servo, if it’s 0.9, just use SpindleEn (PWM) pin.

Do I need to change anything in the code - or is it all configuration? I’ve never used grbl before - hence the questions…

Just configure grbl ($ settings) according to the wiki @ https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration

@cprezzi I set $30 to 255 per the readme in your repo but would you know why sending M3 S0 or M5 make the servo hum? M3 S255 works fine as expected