I used to be into laser projects a lot back in the day with a handful of drivers lying around for just about any tinkering, however that is not the case anymore. However I do have a handful of diodes and modules lying around that I would love to play with again. I thought about building an arduino controlled power supply to drive them, however the task seems much more less common than I thought. I have not been able to find a clear answer while searching these forums or google, so I figured I would ask if anyone here has made one before and where should I start this project? It looks like a LM317 or LM350 is likely what I need to regulate the current. The LM317 looks like it only can handle up to 1.5A, so that may not be the best for some of the more powerful modules that I have, but the LM350 handles up to 3A which should be plenty. The most powerful module I have is a an M140 which specs at ~4v, 1.8A and emits 1.9 - 2.5W. Any guidance or suggestions would hugely appreciated.