# COMMUNITY : FORUMS : TECH

## Powering infrared Line Laser using USB port

Hi,

I have a line laser which has following specs!!!

http://www.aliexpress.com/store/product/780nm-60mw-5V-IR-Infrared-Laser-Line-Module-120-degree/640033_1594226134.html

5V DC or 3.3V preferred!!
Working current must be < 200mA

How can power this laser using USB cable or USB port

I know USB has 5V DC (max current is 500mA)

I want to know how to convert it so that  i can power the laser??!!! Thansk in advance for help!!

sort by: active | newest | oldest
victorx10 (author) 3 years ago

but USB provides 500mA which is over for the laser i need to convert it to 200mA before connection How can i do tht?

3 years ago

A resistor, which is a different type of electrical component, will limit the current.

REsistance = Voltage / amps
you don't know what size resistor you need but you know the current limit and the voltage of the usb.
5/.2 = 25 ohms of resistance.
So you need around 25 ohms of resistance.
It looks like the closest standardized rated resistor is 22 ohms, but you can find them with high tolerances to compensate for the 3 ohm difference, or you can add small bits of resistance in other ways.
Inductive windings produce resistance because they compact down long lengths of wire into a compact space (thus taking advantage of the natural resistance of the wire) or you could simply design your circuit run two resistors in parallel, although that mucks with the math a bit.