Momentary switch - non relay

Tony P

Member
I have been asked to construct a circuit to trigger some animated Christmas toys in a shop window. I have attached a basic (rushed :D ) schematic of how I have got one toy working.
I would like to know if there is a way of eliminating the relay. i.e an 'electronic' switch.
All of the toys require a quick contact of two wires with no voltage across them (if this makes sense)
Momentary switch.png
 

hippy

Ex-Staff (retired)
There probably is some voltage across / current through the switch when it is activated even if you cannot measure it or see it. The switch will either pull a controller pin to 0V, to some voltage, or could be a cross-point switch on a keypad matrix.

A relay is the easiest option because you don't have to care what is being done inside the toy, you simply fake the physical button closure.

You can fake a closure other ways but one should analyse the circuit in the toy to decide what the most appropriate way is, and that may differ from toy to toy. If not using an appropriate means of switching that may be damaging or reducing the life expectancy of the toy.

If not worried about damage or life expectancy you can simply try things and and see what works. I have a digital picture frame that appears to use a matrix keypad scanning mechanism but shorting a switch input to 0V via a resistor activates the associated function. I simply wire the switches via resistors to PICAXE outputs and have them set as INPUT then LOW when I want to fake a button push. My PICAXE 0V is connected to the DPF 0V. I have no idea if that's causing any damage but I don't particularly care if it does.
 

Tony P

Member
Thanks Hippy

As I have had to open and modify the switch wires on the toys the guarantees are void :)

I will try your idea
 

erco

Senior Member
To simplify, you can eliminate the uln2003 and use 5v 20 mA reed relays directly with a flyback diode. Per hippy, that's easiest when you have a mix of voltages in various toys.

Now what's with the momentary switches, they are triggers?
 

bluejets

Senior Member
To simplify, you can eliminate the uln2003 and use 5v 20 mA reed relays directly with a flyback diode. Per hippy, that's easiest when you have a mix of voltages in various toys.

Now what's with the momentary switches, they are triggers?
As I see it, the relay is the momentry switch.
 
Top