Electronic – Using unsuitable relay in transistor switching circuit

power supplyrelayswitching

I'm trying to make use of this relay which operates on 5 volts, in a circuit powered by +9 volts. I'm kind of new to electronics, so bare with me. The schematic can be seen on the image below:

enter image description here

According to page 3 of the datasheet the maximum voltage the relay can handle is about 6.5 volts, if I understood correctly.

I have 3 ideas on how to solve this:

  1. Using a voltage divider to divide V. How would I go about choosing the resistor values (kOhms, MOhms..)? Do I need to take care of how big the current through the relay's coil is?

  2. Adding a few basic crystal diodes antiparallel to the diode D11 to drop the voltage, but this solution seems a bit clunky. (edit, meant to say: in series with the relay's coil, but differently oriented than the diode D11)

  3. Using a 7805 regulator, by simply connecting its pins as follows: $ V_{in} = V$, $V_{out}$ to the upper side of the coil, and GND to GND. Do I need to take care of anything when using this solution, or am I safe to just plop i into my circuit mindlessly?

If you have any better or more elegant solutions, please share them with me. And why are my Tex edits not showing up correctly?

Best Answer

The best solution is to select the correct relay. The data sheet shows that the part is available with a 9V coil. The 9V relay coil only draws 40mA from your supply whilst the 5V coil will draw 72mA according to the data sheet.

enter image description here

The easiest solution if you have to stay with the 5V relay is to simply put a resistor in series with the coil of the relay that drops the voltage from 9V to 5V when the transistor turns on to energize the relay coil.

Note this data regarding the relay coil: enter image description here

Knowing that the relay coil resistance of 70 ohms drops 5V we can compute the coil current as:

Icoil = 5V / 70 ohms = ~71mA

The suitable resistor for the drop becomes:

Rseries = (9V - 5V) / 71mA = ~56ohms

This resistor will need a power rating of at least:

Rpower = (71mA * 71mA) * 56ohms = 0.28W

So simply place a standard sized 56 ohm 1/2 Watt resistor from the 9V supply to top of the relay coil. (Leave the diode directly across the coil).