customize existing circuit

Thread Starter

Hannes666

Joined Oct 28, 2017
5
20171027_003058.jpg

I need help to customize the circuit on the foto (attachment). It is a circuit that remotely switch an wallsocket on/off by 433mhz signal.
The circuit works pushing sw1 ones to switch on, push sw2 ones to switch off.

I want a touch switch circuit. One touch switch.
First touch to switch on, touch again to switch off.

I hope someone here has a nice idee how to make that.
thx Johan

extra info;
it is powered by one 12volt battery
i measure 3,2volt by the switch.

I found a cheap touch switch circuit but that circuit gives an output high or low, so thats not what I'm looking for
 
Last edited by a moderator:

wayneh

Joined Sep 9, 2010
18,104
Are you looking for a commercially available solution or a do-it-yourself circuit schematic? I have an idea how this could be done but it's not elegant. Maybe someone else knows a better way.
 

be80be

Joined Jul 5, 2008
2,395
That could be done probably easy with a small uc.
Im about sure the buttons are high to low and just change the code sent out.
But that datasheet for the big ic on there that is a encoder are hard to find.
 

Thread Starter

Hannes666

Joined Oct 28, 2017
5
Are you looking for a commercially available solution or a do-it-yourself circuit schematic? I have an idea how this could be done but it's not elegant. Maybe someone else knows a better way.
Hello Wayneh, can you post your idea. Also when it's not elegant.
 

be80be

Joined Jul 5, 2008
2,395
The buttons you could replace and add a small pic to make the press the Ic Like I said is programed to send
code to the light or outlet to tell it what should happen.
There I hacked a remote
 

Thread Starter

Hannes666

Joined Oct 28, 2017
5
Forget the excisting circuit board.

I only need a circuit that can do this;

One momentary switch (touch sensor)
Press the switch for the first time led 1 will light for a moment (and goes out)
Press the switch another time led 2 will light for a moment.
Press the switch again and led 1 will light.. etc etc

A flip flop circuit but the led must momentary light and not light till the next input
 
Last edited by a moderator:

crutschow

Joined Mar 14, 2008
38,505
Forget the excisting circuit board.

I only need a circuit that can do this;

One momentary switch (touch sensor)
Press the switch for the first time led 1 will light for a moment (and goes out)
Press the switch another time led 2 will light for a moment.
Press the switch again and led 1 will light.. etc etc
Below is the LTspice simulation of a FF circuit that (I think) does what you want.
The "moment" turn on time is about 140ms as determined by the RC time constant at the MOSFET gates.
The circuit includes debounce so it doesn't change state more than once for each button push.

upload_2017-11-9_21-24-49.png
 

Attachments

BR-549

Joined Sep 22, 2013
4,931
Hannes666 ......I can not forget about that circuit board. I need to know why it takes two switches to turn a light on and off. That's the part I want to know.
 

Thread Starter

Hannes666

Joined Oct 28, 2017
5
Hannes666 ......I can not forget about that circuit board. I need to know why it takes two switches to turn a light on and off. That's the part I want to know.
That's is for me also the question.
It is from elro/smartwares his20m wallswitch. (Google "elro his20m")

It was much easier for me when it has only one switch for on and off.

The plastic housing is not intergratable with the rest of the wallsockets and switches so thats why I want to customize it. I take a blind plate with a touch sensor.

So the I can turn on off the lights. And the system also works on the central security unit. ( HIS20S )
So I can make it case there is fire or an intruder all the lights go on.

Below is the LTspice simulation of a FF circuit that (I think) does what you want.
The "moment" turn on time is about 140ms as determined by the RC time constant at the MOSFET gates.
The circuit includes debounce so it doesn't change state more than once for each button push.

View attachment 139024
Thanks Crutschow.
When I see the circuit I think it will do the trick.
I think that I have to replace the mosfet and led, with a mosfet to replace the switches on the excisting circuit board.
 
Last edited by a moderator:

wayneh

Joined Sep 9, 2010
18,104
Hannes666 ......I can not forget about that circuit board. I need to know why it takes two switches to turn a light on and off. That's the part I want to know.
My TV has that. It's useful to have a different remote signal for On versus Off, instead of a simple toggle. Using a unique signal allows a remote to "know" exactly which state the device is in (assuming the device responded), and you can re-issue the signal several times to be sure without worrying about toggling.

So for instance if the TV monitor is already on when my wife uses her Harmony remote to set our home theater to "watch a DVD", the Harmony will issue a "Power On" command to the TV. If the TV is already on, it ignores that. Without the unique codes for ON and Off, the TV would turn off when it gets the Power On command and this would anger the wife. :eek:
 

wayneh

Joined Sep 9, 2010
18,104
Hello Wayneh, can you post your idea. Also when it's not elegant.
The circuit in #11 is probably better. My approach would have used a 556 dual timer and a 4017 counter. The first timer would be set up to debounce the manual switch input. The output from the debounced input would toggle the state of the counter output. That counter output would go to the second 555 in monostable mode to produce a pulse length of whatever you want. As in @crutschow's circuit, the final step is a MOSFET taking the place of your existing switches. To implement that step, you need to know how those switches work. They probably connect to either ground or V+ on one side of the switch.
 
Top