Connect with us

Controlling bed-side lights with push buttons

Discussion in 'LEDs and Optoelectronics' started by garethhowell, Nov 21, 2009.

Scroll to continue with content
  1. garethhowell

    garethhowell

    1
    0
    Nov 21, 2009
    This is a project for a friend.

    From his email:
    ---
    1. It will have a mains input/socket
    2. It will have two mains outputs/sockets - OP1 and OP2 - maximum envisaged 1A
    3. It will have four buttons/switches (non-latching, spring loaded or touch-sensitive) which will works as follows:

    Button 1 - Will switch OFF OP1 IF IT IS ON, Will switch OFF OP2 IF IT IS ON
    Button 2 - Will switch ON OP1 IF IT IS NOT ALREADY ON, Will switch OFF OP2 IF IT IS ON
    Button 3 - Will switch OFF OP1 IF IT IS ON, Will switch ON OP2 IF IT IS NOT ALREADY ON
    Button 4 - Will switch ON OP1 IF IT IS NOT ALREADY ON, Will switch ON OP2 IF IT IS NOT ALREADY ON
    ---
    This is basically a 4 to 2 binary encoder as far as I can see. It's the sort of thing those mechanical channel switches on old TV sets used to do.

    I'm thinking of using a 4 to 2 encoder driving a couple of TRIACS or similar.

    Any alternatives or criticisms?

    Gareth
     
  2. Resqueline

    Resqueline

    2,848
    2
    Jul 31, 2009
    Nothing springs to my mind, it seems sensible.
     
  3. neon

    neon

    1,325
    0
    Oct 21, 2006
    you are messing with power that can kill. use a battery lm555 timer as a switch to trigger it it require ony 5o ua a resistor cap should work for a triac possibly with a mc3020 optocoupler for safety look into that
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-