I have been told that always thatwhen I add a relay to my design I have to include a series resistor (series with the coil) to limit current in it. So, I want to use a 5VDC5 V DC (Coilcoil) relay. How do I calculate that resistor? In the relay's datasheet, I can read my coil has a resistance of 178 ohm.
The power of the relay is 140mW140 mW. Actually, if you calculate the power with 5VDC5 V DC and 178 ohms the result is 140mW140 mW (I * I * R = 140 mW). So, I guess the series resistor is to avoid that the coil is always at maximum capability,. I mean, to have a safety margin for the component, isntisn’t it?
Is that the purpose?
If it is, I see a problem, the. The voltage drop in the series resistor will cause that the coildcoil would not be at 5VDC5 V DC and maybe the resistance changechanges too.
If not, could I connect the terminals of the coil directly to VccVCC and GndGND? Or maybe that value os 140mWof 140 mW is not the coil power (?).