Perhaps we can be more useful if you give us the details - which laser? Is
there a datasheet?
I bought the laser here: http://www.aixiz.com/store/product_info.php/cPath/65/products_id/359
Is this a laser diode? Which is the difference?
What MarkT said, as well as:
How are you measuring your voltage? If you are using a DVM, it will take the DC average of your signal, which the DC average of a a square wave is the duty cycle * amplitude. You'll want to check using an oscilloscope if possible.
Yes, I am measuring the voltage with a digital voltimeter. Then, if I am measuring the average, that means the laser is receiving 5V (the digital output)? Or 2.5V?
I'm sure it sounds a stupid question but... :~
Grumpy_Mike , I think I understand what you say about the resistor. I noticed it was the wrong way and I removed it.
Thanks for the info. I'm going to have a look.
Nevertheless, still I have doubts about the duty cycle.
Thank you!