How do relay's work....????

norton9478

So Many Posts
No Time
For Games.
20 Year Member
Joined
Oct 30, 2003
Posts
34,074
I was just wondering how relays are wired up.

SO does it simply "flip" a switch when say a +5 load touches a coil contact.

Or is it more complext than that?


I need a way to thow 4-5 switches at once via a +5 line. I was thinking that a relay would be a good way to accomplish this...

I don't know anything about this stuff but I'd like to learn.
 
Joined
Oct 4, 2001
Posts
302
Well for starters, when using relays, remember this safety tip:

There are no apostrophes in a plural!!

And now...

You can use a 74157, which uses a +5 trigger to switch the four different lines from two sources. I've used this to make a lovely Saturn switchless mod and it'd work fine for what you need. There's a pinout and source for these chips on my site here.

Code:
Pin 1 - Select  Pin 16 - Vcc (+5V)
Pin 2 - 1A      Pin 15 - /ENABLE
Pin 3 - 1B      Pin 14 - 4A
Pin 4 - 1Y      Pin 13 - 4B
Pin 5 - 2A      Pin 12 - 4Y
Pin 6 - 2B      Pin 11 - 3A
Pin 7 - 2Y      Pin 10 - 3B
Pin 8 - Gnd     Pin 9  - 3Y

FYI, A + B are inputs, Y is output. Obviously the chip needs power and ground, and the enable line must be grounded or the chip will be disabled (You see how easy this is?)

Lawrence.
 

norton9478

So Many Posts
No Time
For Games.
20 Year Member
Joined
Oct 30, 2003
Posts
34,074
That is great... So how would i switch between A-Y and B-Y?
 
Joined
Oct 4, 2001
Posts
302
There's a big pin labelled SELECT, what do you think it does? We should start a poll:

[ ] Works with the Select button only
[ ] Is synonymous with Choice, Premium and other marketing buzzwords
[ ] Is a mispelling of Selena, a girl I knew in high school
[ ] Selects A or B inputs


And the results would certainly embarass us as a race, I'm sure.
 

norton9478

So Many Posts
No Time
For Games.
20 Year Member
Joined
Oct 30, 2003
Posts
34,074
Sorry man, I posted before I read through your whole site... I'm not THAT thick....

and I didn't realize you ran gamesx... i love that site...
 
Joined
Oct 4, 2001
Posts
302
I should make a new motto:

GameSX.com - tech help with a free helping of bad attitude.

Glad you like it. =)
 

norton9478

So Many Posts
No Time
For Games.
20 Year Member
Joined
Oct 30, 2003
Posts
34,074
Forgive me if I have overlooked something but where Can I buy these chips (or a suitable replacement).

Also where can i get docs on them?
 
Joined
Oct 4, 2001
Posts
302
The 74* series of chips are common parts manufactured by literally dozens of companies. You can find datasheets through google, of course, and as for instructions for use you already know everything you need to.

I usually pull them from genesis controllers, (3 button, not 6) but you can order them from any online retailer (again, check google).
 
Top