Maker Pro
Maker Pro

Controlling bed-side lights with push buttons

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
 
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
 
Top