Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I am chasing a circuit that would allow switching of individual relays depending on what resistance value was switched, ie: 1k = relay 1 closes, 10k = relay 10 closes.
Thanks,
Phantom :roll:
I bet you could use an lm3914 to do this, it is designed to drive a led bargraph which represents the input voltage, so all you'd need is to hook up a transistor to the outputs, then hook that up to a relay, putting a protective diode across the relay of course. You would put a resistor of say 10k or so on a 5v line to the input voltage pin, then connect your unknown resistor from that pin to ground. This creates a voltage divider that will be analyzed by the lm3914 which controls the relays.
Code:
5v--/\/\/\--0 <--input pin of lm3914
|
gnd---\/\/\/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.