Uncategorized

5v relay

How does the Arduino 5VDC relay module work? Using SRD-05VDC-SL-C

Ask Question

Asked today

Modified today

Viewed 27 times

0

I was wondering how this 5V relay module works exactly.

I understand how the actual relay circuit (SRD-05VDC-SL-C) works but I’m not totally sure how the signal and 5V inputs work.

My guess would be that the 5V is somehow dropped down to, lets say 4V, and then is combined with the signal voltage (let’s say 3.3V from a 3.3V pin from an Arduino.) If the signal input is HIGH then the relay (SRD-05VDC-SL-C) receives a voltage greater than 5V and closes, but if the signal input is LOW then the relay is receiving just the 4V from the VCC and stays open.

If that is the case, how does the relay module do this using diodes, resistors, etc.

If that isn’t the case then does anyone know how this thing works?

arduinovoltagerelay

ShareCite

EditFollowFlag

edited 6 hours ago

user avatar

JRE

57.9k88 gold badges9292 silver badges154154 bronze badges

asked 6 hours ago

user avatar

thomas

1133 bronze badges

 New contributor

Add a comment

2 Answers

Sorted by:                                              Highest score (default)                                                                   Date modified (newest first)                                                                   Date created (oldest first)                              

1

The arduino controls a npn transistor. The transistor controls the relay. There is no mixing of voltage as you describe. The transistor is current controlled. The relay will get 5V across it, or be disconnected like a switch, if we only look at on/off operation.

The basic schematic is basically this 

The transistor acts like a switch.

ShareCite

EditFollowFlag

edited 6 hours ago

answered 6 hours ago

user avatar

Passerby

70.8k66 gold badges8484 silver badges194194 bronze badges

Add a comment

1

I would guess the schematic is like this:

schematic

simulate this circuit – Schematic created using CircuitLab

The relay coil requires about 90mA so the base current should ideally be roughly 5mA+, meaning for a red LED the input voltage should be 3.3V to 5V for “ON” and more like <1V for “OFF” (there’s no emitter-base resistor so leakage should be minimized).

It’s a pretty minimalist circuit with a shared supply and no isolation beyond what is provided by the relay.

ShareCite

EditFollowFlag

answered 6 hours ago

user avatar

Spehro Pefhany

329k1414 gold badges284284 silver badges707707 bronze badges

Add a comment

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.