I presume the output's input has a pull-up resistor etc? (IE - In KP's tranny diagram. That's a classic "open collector" output - great stuff - the "universal interface solution".)
I also note a lack of base resistor... Base current will vary 4-fold depending on how many switches are open.... OH NO IT WON'T! Geez there are some idiots on this forum! Base current will be via 2.5k else nothing. (~12V/2k5 ~5mA)
See - I knew KP was right!
... Though I was going to suggest a FET to overcome that - ie, "base" = gate current irrelevant (nA or uA), merely its gate voltage higher than about 5V to turn on, but must be pulled low for off (normally a resistor as with a transistor, but 1M etc - but not needed in this case because either a switch pulls it to ground else dosn't.
Of course one wonders how those diodes will pull the base or gate down to 0V/GND with that orientation - but maybe I am the "one" that wonders that?
I'd have them the other way with a single base/gate resistor to +12V (eg, 2.5k => 2.2k or 2.7k etc, or 1M (or 1k to 10M) for the FET)....
But it is before 8AM here.... (and I skipped the
switch resistance detail).
And of course, only "the first" door triggers, and last door "resets" - ie, the change occurs between all closed and [any or all] open.
Coffee time.... Then maybe a second laugh at some nameless dork, else maybe a chance to redeem mys... him/herself. (I'll bet the former...)
(More) Trivial FYI only:
scam404 wrote:
I am actually getting to use some of the crap I am learning about in my electrical engineering classes. |
|
|
WHAT?
It wasn't until 3rd year that happened to me - and that was merely finding out that by moving the fast brush closer to the ground brush in my wiper motor, I would have a reasonable high speed instead of "slow plus stuff all".
Mind you - I was totally rapt. It took 3 years, but I finally learned something practical.
Compare that to second year where I had a lecturer
removed when he suggested the LM317
adjustable 3 terminal voltage regulator was "probably" adjusted with a screw driver.... and that was for a practical "Design" class lab-prac! (Actually I let that one go. I had him removed later when - in his other "theoretical" Electronics class - he scoffed at those that couldn't "design" as simple 2 stage tranny amp (but with DC coupling!). Yet neither could he as we later confirmed. That was an other implementation of what some knew or now know as "DFWAA". I won't mention the other times, but I strongly suggest you "go with the masses" - never EVER correct long erred beliefs or prac class results - let others do that. But it was good training for real life LOL!)
Sorry - I love formal education and qualifications as you may well be aware. (Experience - just get that from a book or school. My old uni still uses the latest in SSL2 protocols and new yet disparit(??) IT systems with manual transfers - of REPEAT info! But my later uni now allows working in groups and does not consider it "cheating"! Masters of F-wits those Degrees!)