06-14-2015
08:48 PM
- last edited on
06-17-2025
02:04 PM
by
Content Cleaner
I am trying to control the power of a simple 50mW laser via my mydaq but am having some troubles. When i connect the laser straight to the 5v supply terminal and the digital ground the laser lights up perfectly. But when I run my VI with the laser hooked up to the proper channels it will not light up. I am connecting the laser through the digital IO and the digital ground as per an LED tutorial I found. Is it possible to control the power to the 5v terminal? I need to be able to cycle on and off the power to keep the laser from overheating.
Here is the quick totorial I followed:
https://forums.ni.com/t5/Example-Code/Output-Light-Using-a-Basic-5mm-LED-NI-myDAQ-and-LabVIEW/ta-p/3...
Any help will be very appreciated!
06-14-2015 08:55 PM
06-14-2015 11:16 PM
I, too, think the current required is probably too high for the digital i/o. You could create an amplifier circuit with an op-amp or transistor. There are thousands of tutorials on the web for a basic amplifier circuit.