-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laser diode instead of servo motor #20
Comments
Hi you have to use the vanilla GRBL, not this one. See https://github.com/grbl/grbl |
(thanks for the so quick reply!) If I have understood well, the posistion of the servo is set by voltage level on the contol pin of the arduino, right? |
Sorry I don't understand. The vanilla version has a feature for using the
laser.
https://github.com/gnea/grbl/wiki/Grbl-v1.1-Laser-Mode
Or are you speaking about some else that I don't understand. My version of
the GRBL is realized to support a servo motor not a laser.
Best regards
Alessandro
Il giorno ven 25 gen 2019 alle ore 18:38 panosss <[email protected]>
ha scritto:
… (thanks for the so quick reply!)
The vanilla GRBL is for bipolar stepper motors.
There must be some way to use your code with a laser diode.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMjR0yCxTFN4OdLWDebYd5-ASdPh8e77ks5vG0ECgaJpZM4aTR7r>
.
|
I can't use the vanilla version of GRBL because it is for bipolar stepper motors. |
I use the GRBL for unipolar stepper motors GRBL-28byj-48-Servo library, which uses your library (grbl-servo).
I replaced the servo motor with a laser diode, 5mW, this one.
But when the diode lights on (with M03 S255, or any number) it does not come off with M03 S1.
Or M05. It only dims.
With M03 S255 is bright and with M03 S1 it 's a little less bright. (not great difference but noticable)
So I have to modify the code to switch the diode on and off.
How can I do this?
As a switch I use a 2N2222A transistor.
The text was updated successfully, but these errors were encountered: