Hey guys and girls!
I’ve been looking into the topic of logic gates lately, and started to make some designs.
This is slightly off topic since I’m not using it for a MIDIbox project - yet. So I thought, someone in here of all you people is bound to know something about this right? So why not ask around here.
Here is what I’m looking for; 4 Input OR gate, either that or a dual 4 input OR gate. Forgive me that I don’t write down the truth table to describe what I want, but I trust it’s enough to say 4 input OR gate… ![]()
OK, so I’ve used the 7805 pluss some caps to make a stable 5 volt from my electrical 12V system in my car. I’ve added 4 doorswitches next. Each switch goes into 1 input each of the OR gate. Then I get 5 volts from the output if one or more of the switches is closed, right…?
Next i need to drive a relay that switches the light inside my car on when the gate sends out 5 volts. So here my problems starts. In “theory” I could just wire the lightbulb right onto the ORgate, but that wouldn’t work right? you would burn the electronics in a fraction of a second right…?
So I started to think, in real life (outside my simulation program) how much current can you drag out of the ORgate? Then I started to look for part numbers to see if I could find any info in the datasheets, but surprisingly I didn’t find the part, and therefore no info from the datasheets.
So I figured, I should at least mount a relay into the circuit since the lightbulb runs on 12 volts, and not 5 as the gates does. But what I don’t know is; can I drive a relay directly from the ORgate or do I need to have something else in between. Like a thing that is told by the gate to turn on the relay.
So have you guys got a clue? I know you TK would probably know it…:). I’m totally new to this, and I am NOT a electronic engineer, so I really have no clue exept from what I read from the internet and learn from my simulation program…
How do I drive a relay from the gate? Directly or through something else that is capable of delivering higher currents to the relay input? What type of gate should I use? if someone could slip me a part number so that I can have a look at the datasheet that would REALLY be great! The relay is gonna control the 12volt part of my system… wow… I don’t really have a clue of what I’m doing here… I just read a lot about different types of gates and I found it REALLY useful, and I immediatly saw dousins of gadgets in my head that I could build using these things, especially simple control systems for my old car, in this case a system for switching on the light inside the car when a door goes up - BUT at the same time know WHAT door went open and show it in a console of leds that represents each door, or even better - on a LCD display…
I realize this post is very long, but please, if you know something about this, I most kindly with the greatest respect ask you for your help :D… hehe!
Chill ouT!
Ingebret