Evil Mad Scientist Laboratories
Making the world a better place, one Evil Mad Scientist at a time.
Skip to primary content
Skip to secondary content
These forum archives are read-only, and will be removed shortly. Please visit our forums at their new location,
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with Evil Mad Scientist
Ask an Evil Mad Scientist
Larson Scanner and Menorah
LED Matrix Kits
Other kit and product support
Laser on Eggbot
edited October 2016
I saw a video where a guy hooks up a laserdiode on the eggbot.
How can i do this i found absolutly nothing on google. Can i connect the laser with the eibotboard?
You can potentially use the pen-up/pen-down events in the EggBot control scripts to turn a laser on and off through the EBB.
What I'd suggest is changing the definition of the pen-up and the pen-down commands, to turn the laser off and on, respectively.
The EBB command set documentation is here:
One of the "fine print" things there is that there a number of "UBW" commands supported, which are documented here:
You'll want to use the "PO" command from that set, for example "PO,B,0,0" to take pin B0 low, or "PO,B,0,1" to take pin B0 high (I have not tested these commands while writing this -- just reading from the docs). Pins B0 and B2 would be particularly good choices, since they are not otherwise used on the EggBot/WaterColorBot/AxiDraw software.
I guess that's a good note to add here-- that B0 can be used as a pause button. (We are currently planning the next EBB version, and that is helpful feedback.)
I know this is an old post, but this may help someone in the future so...
I like to attach lasers to drawing robots as well :-) so the way I have done it on more than one such machine (and the same way I put a DC motor engraver on the eggbot before there was official support as well) was by simply placing a microswitch in series between the laser driver and power and installing the microswitch in such a way that when the servo brings the pen arm down, it closes the switch and pen-up opens it. It's low-tech and less elegant, but it was a very quick way to accomplish it.
This discussion has been closed.