JSP4th said:
i want to run a green laser with a 9v battery but i don't know what resistor to get radio shack has no clue does anybody know a web site that calculates resistors buy in/out voltage? the laser needs 4.5v so i need to go from 9v-4.5v. is that a 1/4w 45ohm resistor or a 50ohm resistor? just want to make sure i don't fry my module.
At the very least you'll need to know how much current your module requires.
IF it has a current-regulating driver attached, then you can use "Ohm's Law" to calculate things:
E = I x R or
R = E / I or
I = E / R
where E is Volts, I is Amps, R is ohms (those are the letters I learned it by; you can use "V=A x R" if that's easier)
For example, if your module draws 200mA current:
R = 4.5V / .2 A = 22.5 ohms
so you'd need a 22.5 ohm resistor to drop 4.5 volts at 200mA
BUT, that
only works if your module always draws 200mA - that is, if it has a current-regulating driver attached! if not - if it's a bare laser diode you're connecting to - it won't act like a simple resistive load and the whole picture changes.
If your module acts more like a bare diode, its effective resistance can go very low.
For example, what if the module acts like a bare diode, and wants its voltage drop to be 2 volts? That leaves 7 volts to the resistor, so plugging that in to the equation:
I = E / R
Amps = 7 / 22.5 = .311A = 311mA
that extra current would either make your laser very bright, or kill it. It will also make the resistor dissipate 2 Watts! it might get a little warm :
Remember though that those figures are just for example; yours will be different.
DanQ