Newby question here ;) I have pulled apart a kids toy containing a small laser. The laser part doesn't have any partnumber on it, so I did some measurements on the actual device. Please note that I took these measurements with my multimeter, which probably isn't the most accurate because of all the losses in the long leads that I used.
When laser is at full brightness these are the characteristics:
- 5.0V supply voltage (no load)
- 1.0V voltage after drop (with load, so the voltage drop is 4.0V)
- 220 mA current
When laser is at minimal brightness these are the characteristics:
- 4.1V supply voltage (no load)
- 0.7V voltage after drop (with load, so the voltage drop is 3.4V)
- 85 mA current
Now my idea is to drive this laser myself using a Raspberry Pico. The Pico has a 5.0V pin which is directly connected to the input USB, delivering the power. I don't think the pin has any current limiting protection on it.
Question:
How to protect the laser, so it can safely operate within the boundaries as specified above? I think I need to add a current limiting resistor, since the USB input can have various input currents. If this is indeed what I need to add, please let me know how to properly calculate the correct resistance, since there is a difference in voltage and current in both situations (full brightness vs dimmed brightness), resulting in different ohms.