drive relay?


Closed Thread
Results 1 to 2 of 2

Thread: drive relay?

  1. #1
    serdar_ozcan's Avatar
    serdar_ozcan Guest

    Question drive relay?

    Hi,

    Is it possible to drive 2 or 3 5V. relays with 16f628 or 16f628A (portA or portB) directly at same time?

    Thanx.

    SERDAR

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Reed Relays (500R coil) are no problem... you can have one on each pin of a Port and not overload the PIC. However each PIC pin can only source or sink around 25mA and most relays require more than that. In the Datasheet of your PIC you will also see the MAXIMUM ratings your PIC can handle in the Electrical Specifications section. You can strap several pins together (preferably via Diodes) but it's not a nice arrangement and easier to have an external Transistor. There are also consequences of switching Relays (or any large inductive loads) on the same Power Rail as the PIC... be aware of this as it starts to introduce transients onto the PICs supply line.

Similar Threads

  1. Drive relay between two times
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th December 2009, 09:19
  2. Replies: 24
    Last Post: - 7th November 2008, 04:41
  3. MPASM Path & File Name Length Limtation
    By Brian J Walsh in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th June 2008, 15:48
  4. Serial Relays
    By tazntex in forum General
    Replies: 3
    Last Post: - 17th May 2007, 17:42
  5. Help Rqd - Driving 5Volt Relay using two pins
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 5th October 2005, 01:54

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts