PIC to Relay


Closed Thread
Results 1 to 15 of 15

Thread: PIC to Relay

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Melanie View Post
    Sometimes too cheap is just that, and we have to remind ourselves of John Ruskin's poem...
    In the words of an on-the-air fumble by John Cameron Swayze in the early days of live television advertisements: "Remember, with Timex, you get what you pay for; and you don't pay very much."
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  2. #2
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Ok, heres that schematic. Im sorry its not the best looking one ever. I did it in M$ paint :P

    The lefthand side of the optoisolator works exactly the same as an LED. Check the datasheet for the specific one your using for the voltage. Usually i put a 1K resistor between it and the PIC. I always put a 1K resistor between the opto and the G pin of the triac too although i cant remember why (maybe someone else can clarify this bit).

    It may or may not help you but ive included a circuit that i designed to control 4 lights using triacs. I usually find that a PCB layout helps me more than a schematic so you have both just incase. The triac im using is a "BTA08-600B 8A 600V" and the opto is a "MOC3020M". Both resistors either side of the optos are 1Ks. I have a few of these circuits connected up and working perfectly
    Attached Images Attached Images   

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    I think useful to add the attached schematic for all who want to use TRIAC for their ac application.
    Remember that the triac side is always connected to the main. Be very careful !!

    Al.
    Attached Images Attached Images
    All progress began with an idea

  4. #4
    Join Date
    Oct 2008
    Posts
    47


    Did you find this post helpful? Yes | No

    Red face

    OK cool!! Im taking a look at the triac now. For the solid-state, isn't there a "flyback" diode required?

  5. #5
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    I think useful to add the attached schematic for all who want to use TRIAC for their ac application.
    I suggest the upper schematic. You might be happier with a MOC3033 or other MOC303x. You'll also discover that the 180 ohm resistor is not necessary.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

Similar Threads

  1. HELP ME, SMS controlled relay using PIC
    By pazko1125 in forum mel PIC BASIC
    Replies: 14
    Last Post: - 2nd October 2008, 15:26
  2. Pic to relay
    By ruijc in forum General
    Replies: 4
    Last Post: - 8th November 2007, 19:03
  3. Serial Relays
    By tazntex in forum General
    Replies: 3
    Last Post: - 17th May 2007, 17:42
  4. Replies: 22
    Last Post: - 9th April 2007, 15:25
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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