View Single Post
  #18   Report Post  
Chris
 
Posts: n/a
Default



Chris wrote:
Hi, Mark. Try this (view in fixed font or Notepad):

` (X =3D X-Box pullup resistor)
` T
` ---
` .---o o---X---------.
` | |
` | T |
` | --- |
` o---o o---X--------.| VCC
` | || 4078 +
` | T || 8-input |
` | --- |'-o| OR(Pin 1)/ .-. VCC VCC
` o---o o---X-------.| | NOR(Pin 13) | | + +
` | |'--o| | | | |
` | T | | 220K'-' .--o---o--.
` | --- '---o|__ | | |
` o---o o---X------. -|=3D| 1 | | |
` | '----o|1 |------------|----o |
` | T -|__| | | o----A
` | --- .----o| | | 555 |
` o---o o---X------' | o--o-o |
` | .---o| +| | | |
` | T | | 10uF --- '-o |
` | --- |.--o| --- | |
` o---o o---X-------'| | | '--o---o--'
` | |.-o| | | |
` | T || =3D=3D=3D =3D=3D=3D =3D=3D=

=3D
` | --- || GND GND GND
` o---o o---X--------'|
` | |
` | T |
` | --- |
` o---o o---X---------'
` |
` =3D=3D=3D
` GND
`
`

` VCC VCC
` + +
` | |
` | |
` .-----------------------. - C|
` | | ^ C|
` | | | C|
` | .--------. | | |
` | | | | | |
` | | =3D=3D=3D | '---o
` | .-----o------.GND | |
` | | S | | ___ |/
` '----oD Q o--------|___|- -| TIP120
` | | | 10K | |
` | 1/2 4013 | | .-. |
` | | | | | |
` A---------o CLK | | 10K| | |
` VCC | | | '-' |
` + | | | | |
` | | | | | |
` .-. | Q'o-----' =3D=3D=3D =3D=3D=3D
` 10K | | | | GND GND
` | | | R |
` '-' '-----o------'
` | |
` o-----------'
` |
` .1uF ---
` ---
` |
` =3D=3D=3D
` GND
created by Andy=B4s ASCII-Circuit v1.24.140803 Beta www.tech-chat.de

From your description, all 8 switches switch a logic level voltage to

GND when they are pressed, and show a logic level high when they're not
pressed. First, you need to get a power supply voltage which is the
same voltage as the power supply of the logic circuit you're
interfacing (+/- 0.2V). Once you've done that, get a 4078 (8-input
OR/NOR), a 555, and a 4013 to do your job, along with the handful of
components shown.

Not so elegant, but it should do the job. The CD4078 has 8 inputs and
two outputs -- OR (pin 1) and NOR (pin 13). The OR will only go low
when all 8 inputs are low (what you want). That signal then triggers a
555, which is on for about 2 seconds (giving you your debounce) and
clocking a 4013 set up as a toggle F-F. The R/C at the reset input
ensures that the circuit will power up with the transistor off.

You should be able to put all this on a small perfboard, and you'll be
good to go with the Pretendo relay switch.

Good luck
Chris


The drawing wasn't too clear on something -- It's important that the
CMOS IC be at the same voltage as the X-Box. That will probably mean
using a 7805 if the X-box has a 5V supply, and an LM317 if it's an
oddball voltage. You can use either of these as a post-regulator after
your +12V for the relay.


.------------------- To Relay
| ____
12V | | |
o--o---|7805|---o------ To Logic
+| |____| |+
--- | ---
10uF --- | ---10uF
| | |
=3D=3D=3D =3D=3D=3D =3D=3D=3D
GND GND GND
created by Andy=B4s ASCII-Circuit v1.24.140803 Beta www.tech-chat.de

Either that or jsut decide to get a 4PDT telecom relay with a 5V coil
voltage.

If you can, find out the power supply voltage and get back to us. You
might get some more help or another, better idea.

Good luck
Chris