The non-profit org I belong to has a push-button match column A with B
type of game for kids to play. The first column either shows about a
half-dozen pictures of birds, snakes or insects and the second column
lists either the name or habitat of the animals. The children (or
adults!) push one button from each column and if the correct pair is
pushed a green led lights up.
What we'd like to do is to have two lights (green and red). That way if
the person picks the wrong pair, the red light would come on. Seems that
a logic gate chip is the way to go.
no, that would be doing it the hard way.
Can someone suggest a simple way to do this?
see below.
.-------------------------------------------------------------.
| This is an ascii schematic, if the diagram appears garbled |
| try switching to a fixed-pitch font (courier works well) |
| pasting it into notepad works well on ms-windows. |
| or in google groups "show original" (in "more options") |
`-------------------------------------------------------------'
what you have is probably something like this.
+---(button)-----------------(button)-----+
| |
+---(button)-----------------(button)-----+
| |
+---(button)-----------------(button)-----+
| |
+---(button)-----------------(button)-----+---(lamp)--+
| |
| |
+---(power supply)------------------------------------+
the wires between two coulmns of buttons are probably jumbled
up a bit, and there's probably more rows, but essentially that.
do this:
add some resistors from the buttons on one end to a common point
get a 12V DC powersupply and replace the lamp with the circuit
shown.
+--------------------------------------------------------------+
| |
| +-[220]-+ |
| | | |
+---(button)-------|-------+-(button)-----+ |
| | | |
| +-[220]-+ | |
| | | | |
+---(button)-------|-------+-(button)-----+ |
| | | |
| +-[220]-+ | |
| | | | |
+---(button)-------|-------+-(button)-----+ |
| | | |
| +-[220]-+ | |
| | | | (RED)
+---(button)-------|-------+-(button)-----+ A |
| | | +
| +-[220]-+ | B /
| | | |/
+---(button)---------------+-(button)---+-+-(GREEN)-+-[220]-| BD649
| | | |\|
| | | ~\
| +-[330]-+ / +
| | |/ |
| +--------Z<------| BD649 |
| 5.6V |\| |
| zener diode ~\ |
| +12V 0V | |
+------(power supply)-------------------------------+----------+
the lamps (RED) and (GREEN) can be any 12V lamp between 2W and 20W
lamps above 10W will probably require a heatsink on the transistors
if you want to use 20mA LEDs instead of lamps replace the 220 and
330 ohm resistors with 10K resistors and use BC547 transistors,
put a 1K resisrtor in series with each LED and 1K resistor
from point A to point B (bypasing the green LED and 1K resistor)
bye.