i need to read switchs 50m away from my system, how that could be electronically??
i need schematic to enable me to determine the switch status with my microcontroller.
thanks alot
Use current transmitters at remote side (switches)... if your switch is press transmitte 20mA, if not transmitte 4mA. You can do it with a voltage-current converter, at another side you can use just a resistor to convert it again. But the RS485 is good suggestion...
I've made an application with 1 analog multiplexer CD4067 - 16 inputs for switches and 1 output which is connected to microcontroller through 1 comparator lm339 (one input is at 2.5 v and the other input to multiplexer); ... so I have 16 switches, some of them at over 100 m distance and works very well, no false readings...
If that's what you want, I'll search the schematic ...
Thanks alot everybody for interrest
yes yo5oqa.
this is exactly what i want, this is excellent solution becouse the awitchs are distributed at different distances and locations.
waiting for your schematic.
Here is the schematic, it was a more complex project with PC interface to store some logs and display switches states, also to drive relays and flash leds ... but you can see how to connect only what you want to ...