MakerBot Print is our newest print-prepration software, which supports native CAD files and STL assemblies,
allows you to interact with all your printers via the Cloud, and many other exciting new features.

Download Now

Report as inappropriate

Be careful with those ones. I have some very similar diodes which just use a resistor instead of a propper regulator. Absolutely under no circumstances power them for more than a millisecond pulse with more than 3.0v. 3.3v will burn them out after a few seconds or maybe a minute or so. If you want to make it work on more variable power supplies you could supply their power using an LED driver, like those found on addressable RGB strips. You'll need to configure it to not exceed the power specification of the laser module. Looks like for the ones you bought this power usage is 40ma max, so if you use a driver like the ws2811's that are pretty popular now, that should keep things nice and safe with a wide margin. Plus you can write colours to several lasers in series if you like using only one pin of a microcontroller. ^_^

If you used one of the lpd* SPI controller chips or ws2801 chips, you could control them with two pins using SPI, which is compatible with raspberry pi.

Anyhow, make sure you don't overpower them. I've lost a couple of diodes that way and that's no fun. Where the heck do you even get a 3.0v power source? most of the batteries rated for it seem to be as high as 3.1v :/