Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

How to connect a relay.

Status
Not open for further replies.

Lac

New Member
When you shall connect a relay, it's a + and a - pin. Shall I connect + to 5V and - to GND? or some other way?

Thanks!
 
Lac said:
When you shall connect a relay, it's a + and a - pin. Shall I connect + to 5V and - to GND? or some other way?

Thanks!

If the relay coil is rated for 5V, then yes, + goes to 5V and - goes to ground. Your 5V supply also needs to be able to deliver the amount of coil current the relay needs. That is roughly, Isupply = 5V / coil resistance.

Coil resistance may be located on the relay datasheet.

Reminder: Don't forget the flyback diode!
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top