diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Solid State (http://www.diyaudio.com/forums/solid-state/)
-   -   Any ideas how to send a 5 switch position info over two wires? (http://www.diyaudio.com/forums/solid-state/137030-any-ideas-how-send-5-switch-position-info-over-two-wires.html)

HankMcSpank 21st January 2009 05:55 PM

Any ideas how to send a 5 switch position info over two wires?
 
Hello,

I'm after some inspiration as to how to crack a particular nut!

What I seek is to send information about which position a 5 position rotary selector switch is in over just two wires ...is a ground & signal wire.

I'm figuring that there may be an existing chip solution where 'input pins' are all connected to the 5 switch poles - the chips input pins are subsequently scanned & when there's a change at the input pins, it sends an RS232 signal - this is receved by a corresponding decoder chip which reverses the procedure ...the receiver chip's output pins could then drive some relays to replicate the switch's function.

Is there any soliution out there (not even sure what keywords to search for!)

Rodeodave 21st January 2009 06:12 PM

5 different resistors...like in some portable media players' remotes...

http://rasher.dk/rockbox/WikiRescue/...les/remote.gif

Nico Ras 21st January 2009 07:00 PM

Quote:

Originally posted by Rodeodave
5 different resistors...like in some portable media players' remotes...

http://rasher.dk/rockbox/WikiRescue/...les/remote.gif

Absolutely right!

When security devices where not digitally encode they used resistors in the keyfob.

You can do the same by using say 4 x 1K resistors and read it with an A/D or just a quad op amp with four thresholds set matching the resistors. (position 1 = 0V and not needed to be deciphered)

Nico

HankMcSpank 23rd January 2009 10:37 PM

Many thanks guys...I'll go that route.


All times are GMT. The time now is 08:04 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio


Content Relevant URLs by vBSEO 3.3.2