On/Off Switch?
December 26, 2006 2:19 PM
Subscribe
Electronics for dummies? I need something very simple. There is one switch and two wires. When the switch is open, I want wire A to be grounded and wire B floating, when the switch is closed, Wire B should be grounded and wire A floating. Simple as that. What's the very very easiest way to achieve this (preferably using household equipment)?
By floating I mean of indeterminate state. The 'switch' is just two pieces of copper which are either in contact or not. The wires connect to a 8254 counter (one of
these) and will be pulled high by resistors in the module (unless they're grounded). The objective is to count the time of two states of a rotating spindle, during part of the rotation (x) the circuit is open, during the remainder (y) the circuit is closed. Grounding the wires will 'gate' the counters, I can then read the gated counters, average the values, calculate the rpm etc.
Timing is very important for the finished circuit, so the switching should be pretty much instantaneous.
I'm sure there is a simple and elegant solution to this problem, I just can't think what it is.
posted by grahamwell to technology (6 comments total)
posted by cillit bang at 2:24 PM on December 26, 2006