Switching 220 Volt lights from PIC

Discussion in 'General Electronics Chat' started by RodneyB, Dec 26, 2012.

  1. RodneyB

    Thread Starter Active Member

    Apr 28, 2012
    633
    13
    I would like to know how I can switch several 220Volt coloured lights through an electronic component other than a realy. I have a PIC which has a very radom sequence of the outputs coming on, I wanted to find out what I can connect to the outputs to get some coloured lights to flash atmy new years party.

    Thanks

    Rodney
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,346
    Hello,

    You could have a look at a Solid State Relays.
    These have leds at the input.

    Bertus
     
  3. Jony130

    AAC Fanatic!

    Feb 17, 2009
    3,957
    1,097
    Simply use MOC3041
     
  4. Dodgydave

    Distinguished Member

    Jun 22, 2012
    4,986
    745
  5. Tahmid

    Active Member

    Jul 2, 2008
    344
    25
  6. GetDeviceInfo

    Senior Member

    Jun 7, 2009
    1,571
    230
    please remember that this site has a large following of hobbists and that isolation should be promoted as 'common' practice.
     
    ErnieM likes this.
  7. richard.cs

    Member

    Mar 3, 2012
    162
    31
    Conventional and solid state relays and inherently isolated and therefore probably the best choice for a beginner.

    There are also optically triggered triacs available where instead of having a gate connection they have two wires that drive and LED electrically isolated from the main circuit. These are usually only availiable in low current ratings and are commonly used to trigger large conventional triacs (see Dodgydave's link).

    Another common method for tungsten light bulbs is to rectifiy the incoming supply and switch with a single N channel mosfet. The bulb sees pulsed d.c. but that's fine as it only cares about the rms voltage. The mosfet circuit can then be electrically isolated either with an opto isolator or a pulse transformer.
     
Loading...