How to Make Relay Circuit Board for Arduino

11,493

63

16

Introduction: How to Make Relay Circuit Board for Arduino

About: I have some interest in electronic. you can find me at https://www.facebook.com/theTechWorks

A relay is an electrically operated switch. Many relays use an electromagnet to mechanically operate a switch, but other operating principles are also used, such as solid-state relays. Relays are used where it is necessary to control a circuit by a separate low-power signal, or where several circuits must be controlled by one signal. The first relays were used in long distance telegraph circuits as amplifiers: they repeated the signal coming in from one circuit and re-transmitted it on another circuit. Relays were used extensively in telephone exchanges and early computers to perform logical operations.

Hope it helpfull to you

Step 1: Parts Required

To do this, you'll need:

Basic Parts for wiring up Arduino

  1. one Pref. board
  2. four 5 volt DC Relay
  3. four leds for indicating purpose
  4. four 220 ohm resistor
  5. four diodes of 1N4007
  6. Four 2N2222 npn transistor
  7. four two-pin block connector
  8. some jumper wires

Step 2: Circuit Diagram

I will describe the circuit for one really, really have five legs 1 for NC normally-closed 1 for no normally open and a common and two legs for 5 volt DC supply so whenever you will five volt input in these two legs the relay will be activated, so for the polarity you have to add one diode like this but you can avoid this step after that you have to add a led with 220 ohm resistor so till now this is the normal relay circuit you can ignore led step if you don't want to get a notification life continuously. Now what you have to do is to add NPN transistor and connect the collector of NPN to ground and then connect the ground terminal to the ground 5Volt Dc supply now connect the one leg of block terminal with common and another leg with NO of really that's it and yes connect your base of NPN transistor with your arduino and use your relay switch copy this systematic as per your requirement

Step 3: Demo

I just programmed the arduino and attach with my homemade relay circuit board and connect all four appliances with the relay board. So whenever I turn the arduino the first relay is ON and its ON for 3 Seconds and after that it goes off and the second relay is on 3 sec similarly for third and fourth and after fourth all will be Off for 3 seconds and after that all four legs will be turned on at a time for 3 seconds as you can see in this in above video and it will never stop unless I cut the power supply of the arduino this video is just a demo video to show you guys how it works with arduino that's it for now hope you enjoyed my instructables and video and learn something new form it.

share it with your friends and if you have any question you can ask me in the comment box or on my Facebook page for fast reply and yes the most important thing don't forget to subscribe my channel to get notifications of new videos bye bye and have a nice day

Green Electronics Contest 2016

Participated in the
Green Electronics Contest 2016

Trash to Treasure Contest 2017

Participated in the
Trash to Treasure Contest 2017

Arduino Contest 2016

Participated in the
Arduino Contest 2016

Make it Glow Contest 2016

Participated in the
Make it Glow Contest 2016

Homemade Gifts Contest 2016

Participated in the
Homemade Gifts Contest 2016

Be the First to Share

    Recommendations

    • Mason Jar Speed Challenge

      Mason Jar Speed Challenge
    • Bikes Challenge

      Bikes Challenge
    • Remix Contest

      Remix Contest

    16 Discussions

    0
    UchennaC
    UchennaC

    Question 2 years ago

    I want to use relay in switching on and off an actuator that has 12v input, how can I supply the 12v to the relay that will power on the actuator, using this circuit.

    0
    TechnicalG5
    TechnicalG5

    Question 2 years ago

    Can we use 6 volt relay instead ?

    0
    Tech Works
    Tech Works

    Answer 2 years ago

    yes we can but we have to change resistors value also

    0
    mosix
    mosix

    3 years ago

    very usefull, thanks

    0
    Tech Works
    Tech Works

    Reply 2 years ago

    Thanks for your comment

    0
    Haryyjaks
    Haryyjaks

    3 years ago

    Sir what will happen if I use 6V DC relay instead of 5v

    0
    Tech Works
    Tech Works

    Reply 2 years ago

    Nothing much you just have to decrease the resistors value

    0
    TechnicalG5
    TechnicalG5

    Question 2 years ago

    Is this circuit safe to use with Arduino UNO ?

    0
    Tech Works
    Tech Works

    Answer 2 years ago

    I'm Using this circuit with my arduino and there are no issues till date

    0
    carlos66ba
    carlos66ba

    3 years ago

    Nice instructable. One note, however, one should include a resistor to limit the current to the base of the transistor.

    0
    Tech Works
    Tech Works

    Reply 3 years ago

    You can but no need of that because arduino is not giving that that much of output

    0
    carlos66ba
    carlos66ba

    Reply 3 years ago

    You are relying on devices to operate outside of their recommended parameters. May work for a while (or even forever) but it is not a good idea, especially when the solution is so simple (a few hundred Ohm resistor between the microcontroller and the base).

    0
    Lectric Wizard
    Lectric Wizard

    Reply 3 years ago

    A 1K or so resistor in the base circuit should be included otherwise you will greatly shorten the life of the transistor and/or Arduino

    0
    Tech Works
    Tech Works

    Reply 3 years ago

    you are correct... you can add a resistor but I'm use this device since very long and it's working like a charm

    0
    Tgrshaw
    Tgrshaw

    3 years ago

    I have been involved in electronics for 55 of my 65 years and never stumbled into why relays are called "relays"! Thanks!
    Great Instructable... especially for those of us just beginning to explore Aurduino and Raspberry Pi computing.

    0
    Tech Works
    Tech Works

    Reply 3 years ago

    thanks sir.... it really means alot to me