PIC to AC 220 V switch


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2007
    Posts
    39

    Default PIC to AC 220 V switch

    Hello, maybe stupid, but anyone has an idea, how to cheap and simply drive the AC swith - 220 VAC? I am using relay but maybe there is a simplier and cheaper way using triac or something like this? Thanks for the response...

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Triac and optocoupler do the job.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jan 2007
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Schematics - tip

    Thanks do you have some suggestion schematics?

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    we don't know your current requirement and current schematic, but let's say you interface a PIC to a Triac, i would suggest you to use an optocoupler in between. Something like MOC3011, MOC3022, or whatever else with triac output. OPen it's datasheet and you'll find some basic schematic in.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Don't forget the snubber circuit.

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yes if you drive inductive and you don't use Snuberless Triac
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Oct 2007
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Try this!

    go to www.mouser.com

    Take a look at this part no. G3NE-210T-US-DC5

    There are a whole series of optically isolated solid state relays that can do the job directly from the output of a pic.

    This one takes about 20ma of drive at 5v and can safely switch 220VAC at 5 amps. It cost about $12

  8. #8
    Join Date
    Jan 2007
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Ssr

    12$ it is quite expensive in comparison with relay, which cost 1 - 2 $.

  9. #9
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by boban View Post
    12$ it is quite expensive in comparison with relay, which cost 1 - 2 $.
    A bit overly complicated, not to mention more expensive than your option, but does provide almost perfect isolation..........
    I took a PIC, a servo, and a standard household light switch....
    Drilled a hole thru the light switch 'handle', connected it to the servo with a length of plastic, connected the servo to the PIC, wrote some software to poll a serial input, and run the servo as required.
    Again, not cheap, but does allow for a 3-5v signal to switch a high voltage at a current only limited by the switch itself. And I stored the latest switch position in eeprom in case the PIC reset itself for some odd reason...
    Small battery pack of AAA's, small wall wart style for charging the battery pack, very low current charging, blah blah blah...
    At any rate, works like a champ.

  10. #10
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Solid state relay works well - and can be had for around £2 a pop off flea-bay.

    I used 8 in a disco light project a year or so ago, and you can drive them direct from post PICs. The ones I used are rated at 4 Amps at 240 V, and were PCB mounted, and coped with switching 200w of spot lights with ease

Similar Threads

  1. How can I get a PIC to switch 2.5V DC to my Opamp pin?
    By HankMcSpank in forum Schematics
    Replies: 4
    Last Post: - 9th January 2010, 22:04
  2. how to connect ac sensor to PIC ?
    By iugmoh in forum Schematics
    Replies: 3
    Last Post: - 1st June 2008, 18:35
  3. Circuit Diagram for interfacing AC to PIC IC?
    By wellyboot in forum Schematics
    Replies: 3
    Last Post: - 8th March 2008, 19:40
  4. PIC network over AC 220V
    By boban in forum Schematics
    Replies: 9
    Last Post: - 6th June 2007, 10:31
  5. Battery Backup with PIC controlling switch
    By Dwayne in forum Schematics
    Replies: 1
    Last Post: - 27th December 2003, 13:16

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